ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <DDevie...@lgc.com>
Subject RE: Working directory confusion
Date Tue, 01 Feb 2005 17:06:57 GMT
> From: Rick Genter [mailto:rgenter@silverlink.com]
> 
> I'm getting confused on how the notion of "current working directory"
is
> 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.
--DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message