DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40129>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40129 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Additional Comments From [EMAIL PROTECTED] 2006-12-13 19:46 ------- Refer to the test.sh attached by Case 1: cd build/node ant Here we don't pass the basedir property, so it is set by the Project class by parsing the build.xml Case 2: cd ../.. ant -Dbasedir=build/node Here basedir is passed using -D option. Properties passed using -D are JVM properties and not Ant properties, i.e the JVM will set the system properties before it loads Ant MainClass. It is by design that ant doesn't overwrite the properties already set, since JVM doesn't do autoconvertion os strings to paths lkie ant, the basedir property is set to a TEXT valu of build/node. Consider <property name="xxxx" location="yyyy"/> here the absolute path of yyyy will be assigned to the property name xxxx, however since JVM doesn't know the specific type of the property using -Dxxxx=yyyy won't translate the value to a absolute path. if basedir needs to be passed to ant using -D then make sure you set the value to the absolute path. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]