ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Lott <neilmatthewl...@yahoo.com>
Subject ivy.xml
Date Thu, 21 Feb 2008 22:22:34 GMT
Let's say I have multiple modules each with their own ivy.xml

<ivy-module version="2.0">
     <info organisation="${organization.name}" module="$ 
{interface.jar.prefix}"/>

     <configurations>
         <conf name="interface"  description="dependencies for  
interface"/>
         <include file="path/to/included-configurations.xml"/>
     </configurations>

     <publications>
         <artifact name="${interface.jar.prefix}" type="jar"  
conf="interface" ext="jar"/>
     </publications>

     <dependencies>
	    <dependency org="twc" name="mas-core" rev="${mas.version}"  
conf="interface->server"/>
     </dependencies>
</ivy-module>


and I want them all to share an inherited configuration found in a  
file: included-configurations.xml

<configuration>
     <conf name="test"/>
</configuration>

<dependencies>
    <dependency name="testng" rev="5.7" conf="test"/>
</dependencies>

so in the inherited configurations file I'd also like to include a  
dependency that goes along with that configuration.

Is something like this possible?

Thanks,

Neil


Mime
View raw message