ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Haynes" <m...@matthaynes.net>
Subject Correct Task Behaviour
Date Mon, 15 Oct 2007 22:10:22 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message