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 11:37:46 GMT

I want to run part of my ANT build script in a different directory and then revert back to
my curent directory. There are a few commands whose output should be placed in a different
Can you please help me as to how I can proceed for this?

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