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=21948>. 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=21948 PropertyTest.Test5 failing -trying to connect? ------- Additional Comments From [EMAIL PROTECTED] 2003-07-30 18:48 ------- interesting. It works on one of my XP boxes and on unix, but on the one that fails, the debug trace shows [property] Loading file://C:/Java/Apache/jakarta-ant/src/etc/testcases/taskdefs/property3.properties .... a check of the box that work also shows that the file://C:/Java path is the same. When i change test5 to add an extra leading slash, <property url="file:///${basedir}/property3.properties"/> it works on the system that it did not before: [property] Loading file:/C:/Java/Apache/jakarta-ant/src/etc/testcases/taskdefs/property3.properties Notice how the stated property (the -debug trace) has fewer /es that before. Lets assume the problem is the # of forward slashes. Why does it work on one and not the other? Well, the box that is failing is not in a domain. And somewhere in the network, there is a an address called -wait for it- C, with nothing at the far end ping C Pinging C [15.123.209.81] with 32 bytes of data: And look what happens when I revert to the old version of the test and go off the LAN :: [property] Loading file://C:/Java/Apache/jakarta-ant/src/etc/testcases/taskdefs/property3.properties BUILD FAILED C:\Java\Apache\jakarta-ant\src\etc\testcases\taskdefs\property.xml:27: java.net.UnknownHostException: C So on my laptop, it is trying to connect to the machine C to get the data. Why it is using FTP, I dont know. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]