logo       

loading ANT propetyfile using JVMarg attribute: msg#00077

java.cruise-control.user

Subject: loading ANT propetyfile using JVMarg attribute

I have a property file for ant which consists of all properties related to my build script. I am trying to load the propertyfile using JVMarg attribute. Please suggest me a way to load the propertyfile.
I tried in following in way, it is not working.
Please suggest me a way to load the property file with the ant task.
<schedule interval="30">
 <ant buildfile="c:\build\build.xml" target="build" time="1450">
  <JVMArg arg="-Dpropertyfile=local.properties">
  </JVMArg>
 </ant>
<schedule>
I appreciate your help.
Satyapal


Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise