You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Matt Spaulding <ms...@gmail.com> on 2013/02/27 19:53:58 UTC
Using classifiers with the install task
Hi,
I'm trying to use the ant install task to install a module with a
classifier. When pulling the module in as a dependency, I use the following
in my ivy.xml:
<dependency org="net.sf.json-lib" name="json-lib" rev="2.2.2"
transitive="false" force="true">
<artifact name="json-lib" type="jar" ext="jar"
m:classifier="jdk15"/>
</dependency>
And this works fine for dependency retrieval, but what is the equivalent
when using the install task? I know the install task does not understand
the artifact tag. Also, I've tried the following which does not work either:
<ivy:install organisation="net.sf.json-lib" module="json-lib"
revision="2.2.2" m:classifier="jdk15" from="${from.repo}" to="${to.repo}"/>
Any help is appreciated!
Regards,
Matt