Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I'd recommend using <a href="http://ant.apache.org/ivy/" rel="nofollow noreferrer">ivy</a> to manage your classpath dependencies. Ivy has a neat concept called configurations that allows you to group collections of artifacts based on their usage.</p> <p>Here's an adaption from one of my own build files:</p> <pre><code>&lt;target name="retrieve" description="3rd party dependencies"&gt; &lt;ivy:resolve/&gt; &lt;ivy:cachepath pathid="build.path" conf="build"/&gt; &lt;ivy:cachepath pathid="runtime.path" conf="runtime"/&gt; &lt;/target&gt; </code></pre> <p>The configurations are managed in the <strong>ivy.xml</strong> file (Would replace your <em>build-dependencies.xml</em> file)</p> <pre><code>&lt;ivy-module version="2.0"&gt; &lt;info organisation="com.myspotontheweb" module="HelloWorld"/&gt; &lt;configurations&gt; &lt;conf name="build" description="jars needed for build" /&gt; &lt;conf name="runtime" extends="build" description="jars needed at runtime" /&gt; &lt;/configurations&gt; &lt;dependencies&gt; &lt;dependency org="org1" name="project1" rev="1.0" conf="build-&gt;default"/&gt; &lt;dependency org="org2" name="project2" rev="1.0" conf="build-&gt;default"/&gt; &lt;dependency org="org3" name="project3" rev="1.0" conf="runtime-&gt;default"/&gt; &lt;dependency org="org4" name="project4" rev="1.0" conf="runtime-&gt;default"/&gt; &lt;/dependencies&gt; &lt;/ivy-module&gt; </code></pre> <p>The jar artifacts associated with each project would be downloaded and cached automatically from the on-line maven repositories or you can create your own local repository to hold collections of locally owned artifacts. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload