ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hal Hildebrand \(web\)" <>
Subject Translating UNC paths to local paths
Date Tue, 21 May 2002 18:30:07 GMT
Probably no one knows how to do this, but I thought I'd give it a whirl.

I need to translate Windows UNC paths to their canonical path on the
remote machine.

For example:


Would map to the directory (on host ss04):


I have searched high and wide for a way to do this with no avail.  The
logical thing, from Java is to maybe run the Java process in this
directory, then do something like:

    new File(".").getCanonicalPath()

Which returns


Anyone out there have a clue as to how to do this?


science does not remove the terror of the gods

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message