ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "query" <>
Subject Re: Re: To change directory in ANT
Date Wed, 11 Apr 2007 12:36:20 GMT
  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.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message