astra.AbstractCompilerCmd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of astra-maven-plugin Show documentation
Show all versions of astra-maven-plugin Show documentation
This plugin can be used to support building of ASTRA applications.
The newest version!
package astra;
import java.io.File;
import java.util.List;
public abstract class AbstractCompilerCmd extends AbstractCmd {
protected final List classpath;
public AbstractCompilerCmd(File baseDir, List classpath) {
super(baseDir);
this.classpath = classpath;
}
protected String getClasspath() {
StringBuffer buf = new StringBuffer();
char delim = ':';
if (System.getProperty("os.name").startsWith("Windows")) delim = ';';
boolean first = true;
for (String jar : classpath) {
if (first) first = false; else buf.append(delim);
buf.append(jar);
}
return buf.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy