ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: svn commit: r683187 - /ant/ivy/core/trunk/test/java/org/apache/ivy/ant/IvyTaskTest.java
Date Wed, 06 Aug 2008 12:42:16 GMT
On Wed, 6 Aug 2008, Xavier Hanin <xavier.hanin@gmail.com> wrote:

On Wed, Aug 6, 2008 at 11:38 AM, Gilles Scokart <gscokart@gmail.com> wrote:

>> Could someone retest that in an other environment (I only have
>> access to an IBM JVM).
> 
> I'm not on my dev box now, so I can't confirm it works, but I see no
> reason why it would fail. That being said, I think it would be
> cleaner to extract this "trick" in a helper method.

Since the code is used in the ant package, you might as well use
org.apache.tools.ant.util.FileUtils' getFileURL or toURI methods which
have the added benefit of working with Java < 1.4 as well.

Stefan

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


Mime
View raw message