ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 3129] - Exec Task require Absolute Paths
Date Tue, 23 Apr 2002 21:58:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3129>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3129

Exec Task require Absolute Paths





------- Additional Comments From kgrey@dynamicsoft.com  2002-04-23 21:58 -------
He's saying that ${src} is a relative path.  pwd gives him the absolute path which solves
the 
problem.

I personally use Environment variables to solve this problem, where SRC_TREE 
would be the absolute path to the root of my source, then construct paths accordingly.  If
you need 
to reference something above your SRC_TREE path, then you could always define another 
environment variable.

This way you don't require someone to be in a specific directory when 
executing the build process...

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message