ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
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.


>-----Urspr√ľngliche Nachricht-----
>[] Im Auftrag von Matthew Haynes
>Gesendet: Dienstag, 16. Oktober 2007 00:10
>Betreff: Correct Task Behaviour
>I am the developer of a small 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
>What is the usual expected behaviour here?
>Many thanks,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message