You can specify properties files to load globally via Window | Preferences | 
Ivy 
| Settings | Property Files

For project specific properties:

        * Right click on project
        * Properties
        * Java Build Path
        * Libraries tab
        * Edit your ivy library
        * Settings tab
        * Property files




________________________________
From: Prakash Karnati <pkarn...@sapient.com>
To: "ivy-u...@ant.apache.org" <ivy-u...@ant.apache.org>
Sent: Tue, April 26, 2011 8:38:12 AM
Subject: Issue : In ivy xml declaration variables.


I have the following ivy.xml

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 ?

                <dependency name="core-framework" rev="${version}" 
changing="true" conf="core"/>
                <dependency name="core-da-util" rev="${version}" 
changing="true" 
conf="core"/>
                <dependency name="core-profile" rev="${version}" 
changing="true" 
conf="core"/>
                <dependency name="core-service" rev="${version}" 
changing="true" 
conf="core"/>

Prakkash K

Reply via email to