ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject RE: Working directory confusion
Date Tue, 01 Feb 2005 17:06:57 GMT
> From: Rick Genter []
> I'm getting confused on how the notion of "current working directory"
> maintained in ant. Here's my test script:

Yeah, I'm always been confused by it too ;-)

> 		<echo>Calling sub1-test via &lt;ant&gt; task:</echo>
> 		<ant dir="sub1" antfile="test.xml" target="sub1-test"/>

I stay away from the dir attribute, and things usually work better.

Check out the table at the bottom of the Manual page for <ant>, which
tells you what basedir the sub-build will get if you use @dir or not.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message