ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown, Carlton" <>
Subject Purpose of <include>
Date Thu, 21 Feb 2008 15:46:55 GMT
Hi all,

Is it just me, or does <include> within <dependency> not have any

For example, I have a "virtual module" consisting of a random collection
of COTS jars that do not follow a repository naming convention.

If I want to retrieve just the jars that begin with "apache-", I thought
it might work like this:

<dependency org="myorg" name="mymodule" rev="5.7">
        	<include name="apache-*"/>

The behavior is no different than if I include "*".   The entire set of
jars is retrieved, including those that are not apache-*.    However, I
must include "*" or else ivy will go searching for "mymodule-5.7.jar".
This seems like a strange way to express global inclusion.

The documentation does not shed much light on the principles of
<include>, can someone explain it a little better?


This message contains PRIVILEGED and CONFIDENTIAL
information that is intended only for use by the 
named recipient. If you are not the named recipient,
any disclosure, dissemination, or action based on 
the contents of this message is prohibited. In such
case please notify us and destroy and delete all 
copies of this transmission.  Thank you.

View raw message