On Wed, 11 Sep 2002, Craig R. McClanahan <[EMAIL PROTECTED]> wrote: > the problem is that relative paths are evaluated differently > depending on where you invoke Ant from. Using ${basedir} solves > that nicely.
This is my point, if you use <property>'s location attribute instead of value, it is *not* dependent on the directory Ant has been invoked from, but automagically resolves the relative path as being relative to basedir. The benefit is that the path gets resolved by Ant and is therefore in the correct notation for the platform you are using, i.e. if basedir is C:\temp\foo: <property name="bar" value="${basedir}/../bar" /> will yield ${bar} == C:\temp\foo/../bar while <propery name="bar" location="../bar" /> yields ${bar} == C:\temp\bar Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>