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 24556] - ant script leaves out jar files if they're symlinks
Date Mon, 10 Nov 2003 11:35:35 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=24556>.
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=24556

ant script leaves out jar files if they're symlinks





------- Additional Comments From ramon.casha@linux.org.mt  2003-11-10 11:35 -------
Ant is installed in /opt/ant.
I have several commons etc. in /opt/commons/xxx
I created a symlink to /opt/commons/commons-net-1.1.0.jar in /opt/ant/lib,
however when I run ant, this is not added to the classpath (confirmed by adding
"echo" in front of command).

I think this is caused by a test in the ant script (line 134 in v1.5.4), in
which the script checks the files in lib using 'if [ -f "$i" ]'. The -f returns
true only if the argument is a physical file, not if it's a symlink.

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


Mime
View raw message