In my ANT script, there are a few tasks which have to be executed
 in some different directory. After executing those tasks, ANT script should 
return back to previous directory. So I want to change directory temporarily.
How can I do it?


On Wed, 11 Apr 2007 Trevor Harmon wrote :
>On Apr 11, 2007, at 12:29 AM, query wrote:
>
>>I want to use change directory in ANT scripts. But it is not  changing 
>>directory.It will revert back to its original setting as  soon as it comes 
>>out of shell prompt.
>
>Yes, that is the expected behavior. <exec> creates a new shell  environment 
>every time it starts.
>
>Why exactly do you need to change the directory? It shouldn't be  necessary to 
>do so.
>
>Trevor
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

Reply via email to