NIHVIVO-3439 Test to insure that the vitro.home.directory is writable by the build script. If it is not, the Solr installation will fail. REQUIRES ANT 1.8
This commit is contained in:
parent
0813f08387
commit
06fbfcbb87
1 changed files with 10 additions and 0 deletions
|
@ -115,6 +115,16 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
|
|||
</not>
|
||||
</condition>
|
||||
</fail>
|
||||
|
||||
<fail message="The vitro.home.directory "${vitro.home.directory}" is not writable.">
|
||||
<condition>
|
||||
<not>
|
||||
<isfileselected file="${vitro.home.directory}" >
|
||||
<writable/>
|
||||
</isfileselected>
|
||||
</not>
|
||||
</condition>
|
||||
</fail>
|
||||
|
||||
<property name="solr.home.dir" location="${vitro.home.directory}/solr" />
|
||||
</target>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue