logo       

RE: loading ANT propetyfile using JVMarg attribute: msg#00090

java.cruise-control.user

Subject: RE: loading ANT propetyfile using JVMarg attribute


Try <ant buildfile="build.xml" target="-propertyfile local.properties build"
multiple="1" />

I believe that will give you "ant -propertyfile local.properties build".

BTW, why not just handle this in your ant file? At the top of your
build.xml, right after the project element, add:
<property file="local.properties" />
(see cruisecontrol/main/build.xml for an example)

Jtf

-----Original Message-----
From: cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of
satyapal guduru
Sent: Thursday, December 18, 2003 5:54 PM
To: Jeffrey Fredrick; cruisecontrol-user@xxxxxxxxxxxxxxxxxxxxx
Subject: RE: [Cruisecontrol-user] loading ANT propetyfile using JVMarg
attribute


I am sorry, still it is not reading my propertyfile. Please bear with me, I
am a newbie.
<ant buildfile="build.xml" target="build" multiple="1">
<property name="propertyfile" value="local.properties" />
</ant>
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise