HI, Can u please tell me how to pass this as an argument? Some sample code would definitely help.
I am using fixcrlf task. -----Original Message----- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2008 4:57 PM To: Ant Users List Subject: Re: Change Temp Directroy used by ANT Pankaj Arora01 wrote: > Hi All, > > > Can I change the temp directory used by ANT by passing it as an argument? > > > Problem: > > I am trying to start two processes parallely on the same System. Both the > processes are modifying files having same name but in different directories. > > During processing, files are copied to System Temporary folder and modified. > Since the file name is same, once first process finishes, it removes the file > from the temp folder and the second process throws an error. > > This can be solved if I use different temp folders but I do not know how?? change the TEMP/TMP environment variables of the processes started; this gets picked up by the java.io.tmpdir property and you are laughing. Alternatively, do a copy that doesnt require a unique name in the temp folder. <tempfile> can give you a unique name -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
