Steve Loughran wrote:
[EMAIL PROTECTED] wrote:
build.bat build

src\tests\junit\org\apache\tools\ant\launch\LocatorTest.java:23: cannot
resolve symbol
location: package net
import java.net.URISyntaxException;
                ^



C:\ant\svn-repository\ant\core\src\tests\junit\org\apache\tools\ant\laun
ch\LocatorTest.java:66: cannot resolve symbol

symbol  : method toURI  ()

location: class java.io.File
        String asuri = new File(path).toURI().toASCIIString();
                       ^



URI was introduced in 1.4 and I think URISyntaxException, too  (no
@since in my JDK javadoc ;)
But we want to be buildable on JDK 1.3.
a) make LocatorTest 1.3-compliant
b) make LocatorTest optional (--> build.xml)


committed (b) and skipped a test that, while failing on gump, doesnt seem to arise in ant.

-steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to