ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: How to exclude source and javadoc download
Date Wed, 03 Dec 2008 22:14:39 GMT
The sources and javadocs are part of the "sources" and "javadoc" configurations.
If you exclude these in your configurationmapping, they won't be downloaded:

<dependency org="commons-lang" name="commons-lang" rev="2.0" conf="*->*,!sources,!javadoc"
/>

Maarten




----- Original Message ----
From: Coolboykl <khoo.james@gmail.com>
To: ivy-user@ant.apache.org
Sent: Wednesday, December 3, 2008 9:10:36 AM
Subject: How to exclude source and javadoc download


Hi all

I am using ivy2-RC2, using the hello-ivy as an example, could anyone tell me
how to exclude javadoc and source download? below is the ivy.xml

<ivy-module version="2.0">
    <info organisation="org.apache" module="hello-ivy"/>
    <dependencies>
        <dependency org="commons-lang" name="commons-lang" rev="2.0"/>
        <dependency org="commons-cli" name="commons-cli" rev="1.0"/>
    </dependencies>
</ivy-module>

When I run ant resolve, it always download the jar, the source, and the
javadoc. Is there anywhere to exclude those?

Cheers
-- 
View this message in context: http://www.nabble.com/How-to-exclude-source-and-javadoc-download-tp20808519p20808519.html
Sent from the ivy-user mailing list archive at Nabble.com.


      

Mime
View raw message