java/build.xml
changeset 3356 a3ad7164f528
parent 3327 3f9968ddacf8
child 3369 ab2119c40ea1
child 3478 cfe622b12e2f
--- a/java/build.xml	Tue Jan 27 10:14:31 2015 +0000
+++ b/java/build.xml	Tue Jan 27 10:34:39 2015 +0000
@@ -1,5 +1,13 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <project name="" default="compile" basedir=".">
     <import file="build.auto.xml"/>
-    <!-- Put custom build code here, this file is never overwritten by Smalltalk/X -->    
+    <!-- Put custom build code here, this file is never overwritten by Smalltalk/X -->
+
+    <target xmlns:ivy="antlib:org.apache.ivy.ant" name="libs-update" description="Updates libraries using specification ivy-update.xml">
+        <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpath="${ivy.jar}" />
+        <ivy:resolve file="ivy-update.xml"/>
+        <ivy:retrieve conf="binaries" pattern="${build.libs.dir}/[artifact]-[revision].[ext]" />
+        <ivy:retrieve conf="sources"  pattern="${build.libs-src.dir}/[artifact]-[revision].[ext]" />
+    </target>
+
 </project>