All Downloads are FREE. Search and download functionalities are using the official Maven repository.

astra.ASTRARunCmd Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show newest version
package astra;

import java.io.File;
import java.util.List;

public class ASTRARunCmd extends AbstractCompilerCmd {
	private String mainClass;
	private String mainName;
    // private String arguments;
    
	public ASTRARunCmd(File baseDir, String mainClass, String mainName, List classpath) {
		super(baseDir, classpath);
		this.mainClass = mainClass;
        this.mainName = mainName;
//        this.arguments = arguments;
	}
	
	public String[] getCommand() {
		return new String[] { "java", "-cp", getClasspath(), "-Dastra.name="+mainName, mainClass};
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy