Relative paths are relative to the <project basedir>. 
If "basedir" is missing it defaults to the directory where the buildfile is.

Jan 

>-----Ursprüngliche Nachricht-----
>Von: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] Im Auftrag von Matthew Haynes
>Gesendet: Dienstag, 16. Oktober 2007 00:10
>An: dev@ant.apache.org
>Betreff: Correct Task Behaviour
>
>Hello,
>
>I am the developer of a small ant task
>http://code.google.com/p/jsmin-ant-task/.
>
>The task takes file paths as attributes and a recent bug / 
>feature request
>has posed a question. When using a build file located outside 
>of the current
>working directory how should relative paths be handled?
>
>For example if i execute ant like this:  ant -file webstuff/build.xml
>
>Should relative paths specified in the build file now become 
>relative to the
>current working directory? Or should they stay relative to the 
>build file?
>Depending on how I handle the paths in the source code both options are
>available.
>
>What is the usual expected behaviour here?
>
>Many thanks,
>
>Matt
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to