astra.JavaCompilerCmd 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 class JavaCompilerCmd extends AbstractCompilerCmd {
private List files;
private String target;
public JavaCompilerCmd(File baseDir, String target, List files, List classpath) {
super(baseDir, classpath);
this.target =target;
this.files = files;
}
public String[] getCommand() {
String[] cmd = new String[files.size()+5];
cmd[0]="javac";
cmd[1]="-cp";
cmd[2]=getClasspath();
cmd[3]="-d";
cmd[4]=target;
for (int i=0;i
© 2015 - 2024 Weber Informatics LLC | Privacy Policy