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]