DATAREST-790 - Fix build to be re-runnable without cleaning.

Changed the Ant-Run task to copy artifacts into the classpath rather than moving them so that a repeated build run will find the artifacts again.
This commit is contained in:
Oliver Gierke
2016-04-06 15:07:39 +02:00
parent 78c468532b
commit 5f3bb2f90e

View File

@@ -102,12 +102,12 @@
</goals>
<configuration>
<target>
<move todir="${project.build.outputDirectory}/META-INF/spring-data-rest/hal-browser">
<copy todir="${project.build.outputDirectory}/META-INF/spring-data-rest/hal-browser">
<fileset dir="${project.build.directory}/hal-browser/META-INF/resources/webjars/hal-browser/${browser.version}" />
</move>
<move todir="${project.build.outputDirectory}/META-INF/spring-data-rest/hal-browser/vendor/js">
</copy>
<copy todir="${project.build.outputDirectory}/META-INF/spring-data-rest/hal-browser/vendor/js">
<fileset dir="${project.build.directory}/json-editor/META-INF/resources/webjars/json-editor/${json-editor.version}" />
</move>
</copy>
<delete file="${project.build.outputDirectory}/META-INF/spring-data-rest/hal-browser/browser.html" />
</target>
</configuration>