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 [ivyde] properties on ivy.xml
Date Wed, 10 Mar 2010 22:49:02 GMT

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" />

Thanks

Claudio

Mime
View raw message