org.scala_tools.maven.executions
Class ScalaCommandWIthArgsInFile

java.lang.Object
  extended by org.scala_tools.maven.executions.AbstractJavaMainCaller
      extended by org.scala_tools.maven.executions.AbstractForkedJavaCommand
          extended by org.scala_tools.maven.executions.ScalaCommandWIthArgsInFile
All Implemented Interfaces:
JavaMainCaller

public class ScalaCommandWIthArgsInFile
extends AbstractForkedJavaCommand

Creates an external process which executes a scala command. The arguments to the scala command will be in a file.

Author:
J. Suereth

Field Summary
 
Fields inherited from class org.scala_tools.maven.executions.AbstractForkedJavaCommand
javaExec
 
Fields inherited from class org.scala_tools.maven.executions.AbstractJavaMainCaller
args, env, jvmArgs, logOnly, mainClassName, requester
 
Constructor Summary
ScalaCommandWIthArgsInFile(org.apache.maven.plugin.AbstractMojo requester, String mainClassName, String classpath, String[] jvmArgs, String[] args)
           
 
Method Summary
protected  String[] buildCommand()
           
 
Methods inherited from class org.scala_tools.maven.executions.AbstractForkedJavaCommand
run, spawn
 
Methods inherited from class org.scala_tools.maven.executions.AbstractJavaMainCaller
addArgs, addEnvVar, addJvmArgs, addOption, addOption, addOption, addToClasspath, getLogOnly, run, setLogOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScalaCommandWIthArgsInFile

public ScalaCommandWIthArgsInFile(org.apache.maven.plugin.AbstractMojo requester,
                                  String mainClassName,
                                  String classpath,
                                  String[] jvmArgs,
                                  String[] args)
                           throws Exception
Throws:
Exception
Method Detail

buildCommand

protected String[] buildCommand()
                         throws IOException
Specified by:
buildCommand in class AbstractForkedJavaCommand
Throws:
IOException


Copyright © 2009-2010 Scala Tools. All Rights Reserved.