How to avoid copying dependencies with Ivy
Here’s my standard Java build file that creates an executable jar. The objective is to manage project specific stuff via a combination of ANT properties and an ivy.xml file for the 3rd-party dependencies. <project xmlns:ivy=”antlib:org.apache.ivy.ant” name=”demo” default=”build”> <property name=”src.dir” location=”src”/> <property name=”build.dir” location=”build”/> <property name=”dist.dir” location=”dist”/> <property name=”dist.jar” location=”${dist.dir}/${ant.project.name}.jar”/> <property name=”dist.main.class” value=”HelloWorld”/> <target name=”retrieve”> <ivy:resolve/> … Read more