Author Login
Post Reply
On Thu, Aug 19, 2010 at 3:47 PM, KARR, DAVID (ATTSI) <dk068x@(protected):
> <available file="review" type="dir" property="review.dir.exists"/>
your file="review" will be resolved against the current 'basedir' of
the build (the basedir attribute of the top-level <project> element),
and the 'basedir' of an imported file is affected by the importer
(which may import it indirectly to complicate matters).
Either use an absolute path by using a property,
file="${mypath}/review", and use the "magic" property that contains
the directory of the current build file, in case it's imported. It's
documented somewhere, either the doc of <import> or the Ant Wiki. --DD
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)