On Wed, 6 Aug 2008, Xavier Hanin <[EMAIL PROTECTED]> wrote:

On Wed, Aug 6, 2008 at 11:38 AM, Gilles Scokart <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to