ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs MakeUrlTest.java
Date Tue, 23 Aug 2005 09:35:14 GMT
Stefan Bodewig wrote:
> On 22 Aug 2005, <stevel@apache.org> wrote:
> 
> 
>>              url = fileToConvert.toURI().toURL().toExternalForm();
> 
> 
> I think File.toURI is JDK 1.4+.
> 
> What is wrong with FileUtils.toURL()?  Shouldn't we improve FileUtils
> and use that from the task if anything is wrong?

will switch to it.

The existing codebase probably didnt bother because it was 1.4+ only.

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


Mime
View raw message