package build; /** Prints the classpath separator to standard output.
The separator between different directories in the classpath is
:
on non-Windows systems and ;
on Windows. The
java
command accepts only one of these separators on each
platform. To allow the classpath to be set using the -cp
option of the java
command on both types of systems, the
Makefile that is running the command retrieves the separator by running this
build tool, and then uses it when issuing the command.
*/
public abstract class PathSeparator
{
/** Program entry point.
This method ignores its arguments and prints the path separator. */ public static void main(String[] arguments) { String separator = System.getProperty("path.separator", ":"); System.out.print(separator); } }