base/run-plugin/src/main/com/thesett/maven/run/ScriptGenMojo.java
protected String appendClasspath(String commandLine, boolean unix)
    {
        String pathSeperator;
        String seperator;

        if (unix)
        {
            pathSeperator = "/";
            seperator = ":";
        }
        else
        {
            pathSeperator = "\\";
            seperator = ";";
        }

        for (Iterator i = classpathElements.iterator(); i.hasNext();)
        {
            String cpPath = (String) i.next();

            cpPath = cpPath.replace("/", pathSeperator);

            commandLine += cpPath + (i.hasNext() ? seperator : "");
        }

        return commandLine;
    }
protected String appendClasspath(String commandLine, boolean unix)
    {
        String pathSeperator;
        String seperator;

        if (unix)
        {
            pathSeperator = "/";
            seperator = ":";
        }
        else
        {
            pathSeperator = "\\";
            seperator = ";";
        }

        for (Iterator i = classpathElements.iterator(); i.hasNext();)
        {
            String cpPath = (String) i.next();

            cpPath = cpPath.replace("/", pathSeperator);

            commandLine += cpPath + (i.hasNext() ? seperator : "");
        }

        return commandLine;
    }
Appends the classpath onto the command line.

@param  commandLine The command line to append to.
@param  unix        <tt>true</tt> to use unix paths, <tt>false</tt> to use windows.

@return The appended to command line.