ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claudio Miranda <clau...@claudius.com.br>
Subject Re: [ivyde] properties on ivy.xml
Date Sat, 13 Mar 2010 14:16:19 GMT
I will ask the other way.
Is there any way to create a "version" variable at ivy.xml, to make
many dependencies uses this variable (see the excerpt below) ?

Thanks

Claudio

> I have the following ivy.xml at the end (excerpt)
>
> The ${version} property is inside a build.properties, this works very well
> I have other modules, where they have the same version, thus the need
> of a version variable.
>
> But ivyde doesn't load the build.properties file to input the variable
> into the ivy.xml file.
>
> To replace every ${version} is going to be some work, for every release.
> So, is there any way to make ivyde input the variable ?
>
> <info module="report-web" organisation="com.companyA" revision="${version}"/>
>     <configurations>
>         <conf name="production" transitive="false" description="Only used for the
WebSphere"/>
>         <conf name="compile" extends="production" transitive="false" />
>         <conf name="jnlp" transitive="false" description="Only used for the Java WebStart
application"/>
>     </configurations>
>     <dependencies>
>         <dependency org="com.companyA" name="report-commons" rev="${version}"    
  conf="production->default;jnlp->default" />
>         <dependency org="com.companyA" name="report-core" rev="${version}"       conf="production->default"
/>
>         <dependency org="com.companyA" name="report-core" rev="${version}"       conf="production->default"
/>
>         <dependency org="com.companyA" name="report-provider"   	rev="${version}"
      conf="production->default;jnlp->default" />
>         <dependency org="com.companyA" name="report-ui" rev="${version}"       conf="jnlp->default"
/>

-- 
  Claudio Miranda
  _______________________________________________

Mime
View raw message