Tim Gordon wrote:
HiNot a pure ANT question, but it's relevant to building configurations for remote systems, possibly of another OS... Is there a simple way to generate file URLs that are guaranteed to work on another platform? For example, something like: config.url=file://${file.system.path}
There will be in ant1.7, with the <makeurl> task. If you want it early, you can grab the Ant tasks from smartfrog.org and get its predecessor, <sf-tourl> in the ant tasks package. both tasks take in a File and set a property to the right path.
Otherwise, a bit of <script>; File.toURL().toString() being the code you want.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
