ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trevor Harmon <>
Subject Re: To change directory in ANT
Date Wed, 11 Apr 2007 07:54:13 GMT
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:

View raw message