mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Update rm-server build.xml to create target directory.
If the target directory already exists then the step is passed over. Also avoid downloading transitive dependencies when getting solr4-config.zip, as this caused issues on my machine, and the dependencies are not necessary anyway. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@99837 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -7,6 +7,10 @@
|
|||||||
<property file="build.local.properties" />
|
<property file="build.local.properties" />
|
||||||
<property file="build.properties" />
|
<property file="build.properties" />
|
||||||
|
|
||||||
|
<target name="createTargetDirectory">
|
||||||
|
<mkdir dir="target"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="copyPostgresDBDriver">
|
<target name="copyPostgresDBDriver">
|
||||||
<exec executable="${mvn.exec}" failonerror="true">
|
<exec executable="${mvn.exec}" failonerror="true">
|
||||||
<arg value="dependency:get" />
|
<arg value="dependency:get" />
|
||||||
@@ -45,6 +49,7 @@
|
|||||||
<arg value="-Dclassifier=config-ssl" />
|
<arg value="-Dclassifier=config-ssl" />
|
||||||
<arg value="-Dpackaging=zip" />
|
<arg value="-Dpackaging=zip" />
|
||||||
<arg value="-Ddest=${ant.build.directory}/solr4-config.zip" />
|
<arg value="-Ddest=${ant.build.directory}/solr4-config.zip" />
|
||||||
|
<arg value="-Dtransitive=false" />
|
||||||
</exec>
|
</exec>
|
||||||
<exec executable="${mvn.exec}" failonerror="true">
|
<exec executable="${mvn.exec}" failonerror="true">
|
||||||
<arg value="dependency:get" />
|
<arg value="dependency:get" />
|
||||||
@@ -120,7 +125,7 @@
|
|||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="prepareEnv" depends="copyPostgresDBDriver, copyMySqlDBDriver, copyDevContextFile, configureSolr4" />
|
<target name="prepareEnv" depends="createTargetDirectory, copyPostgresDBDriver, copyMySqlDBDriver, copyDevContextFile, configureSolr4" />
|
||||||
|
|
||||||
<target name="unitTest">
|
<target name="unitTest">
|
||||||
<exec executable="${mvn.exec}" failonerror="true">
|
<exec executable="${mvn.exec}" failonerror="true">
|
||||||
|
Reference in New Issue
Block a user