--- Roger Vaughn <[EMAIL PROTECTED]> wrote: > You know, I just had an epiphany. (Sorry if this is > obvious to anyone - it just occurred to me.) > > This has caused me headaches, too, since I use Unix > shells on Windows. However, I just found out that you > can do this: > > java -Dpath.separator=: .... > > and Java will work just beautifully with Unix-style > paths on Windows. Just be sure you don't include > drive letters in the paths.... >
Thank you, thank you, thank you!! Regardless of whether we use this in Ant, I have other projects which have really had to fight up against this one! What a beautiful hack! BTW: Do you know if the ability to override the default system properties via the command-line is part of the VM spec, or just a feature of a particular VM? ===== Mustard Seed Software mailto:[EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
