ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Trunk not buildable on Java 1.3
Date Mon, 21 May 2007 10:23:49 GMT
Steve Loughran wrote:
> Jan.Materne@rzf.fin-nrw.de 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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message