org.scala_tools.maven.executions
Class JavaCommand
java.lang.Object
org.scala_tools.maven.executions.AbstractJavaMainCaller
org.scala_tools.maven.executions.AbstractForkedJavaCommand
org.scala_tools.maven.executions.JavaCommand
- All Implemented Interfaces:
- JavaMainCaller
public class JavaCommand
- extends AbstractForkedJavaCommand
Helper class use to call a java Main in an external process.
Constructor Summary |
JavaCommand(org.apache.maven.plugin.AbstractMojo requester,
String mainClassName,
String classpath,
String[] jvmArgs,
String[] args,
boolean forceUseArgFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaCommand
public JavaCommand(org.apache.maven.plugin.AbstractMojo requester,
String mainClassName,
String classpath,
String[] jvmArgs,
String[] args,
boolean forceUseArgFile)
throws Exception
- Throws:
Exception
toMultiPath
public static String toMultiPath(List<String> paths)
toMultiPath
public static String toMultiPath(String[] paths)
findFiles
public static String[] findFiles(File dir,
String pattern)
toClasspathString
public static String toClasspathString(ClassLoader cl)
throws Exception
- Throws:
Exception
buildCommand
protected String[] buildCommand()
throws Exception
- Specified by:
buildCommand
in class AbstractForkedJavaCommand
- Throws:
Exception
Copyright © 2009-2010 Scala Tools. All Rights Reserved.