ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Correct Task Behaviour
Date Tue, 16 Oct 2007 05:16:37 GMT
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: monsieur.haynes@googlemail.com 
>[mailto:monsieur.haynes@googlemail.com] 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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message