ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Clay <pil...@yahoo.com>
Subject Re: Issue : In ivy xml declaration variables.
Date Tue, 26 Apr 2011 14:06:43 GMT
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 <pkarnati@sapient.com>
To: "ivy-user@ant.apache.org" <ivy-user@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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message