Community
Participate
Working Groups
The help text for the stand along Java compiler is incorrect on Unix platforms. Eclipse Java Compiler 0.418, Copyright IBM Corp 2000, 2004. All rights reserved. . . . Classpath options: -cp -classpath <directories and zip/jar files separated by ;> specify location for application classes and sources -bootclasspath <directories and zip/jar files separated by ;> specify location for system classes . . . On Linux and other Unix-like platforms, the list of directories should be separated by ':', rather than ';'. Note that the compiler does actually use ':' on Unix-like platforms, it just doesn't display it correctly in the help text.
Would this be better? -cp -classpath <directories and zip/jar files separated by the platform path separator> specify location for application classes and sources -bootclasspath <directories and zip/jar files separated by the platform path separator> specify location for system classes I am not sure that bugzilla will preserve the layout.
Why not substitute in the correct platform separator? On Windows: <directories and zip/jar files separated by ;> On Linux: <directories and zip/jar files separated by :> This should be as simple as Message.format( "<directories and zip/jar files separated by {0}>", new Object[] { System.getProperty("path.separator", ";"} );
Olivier - we also need to check our support for tokenizing the command line (when calling #compile(String)). It needs to decode the classpath using the proper separator.
Fixed and released in HEAD.
Verified for 3.0M9