net.jangaroo.jooc.mvnplugin
Class TestCompilerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.jangaroo.jooc.mvnplugin.AbstractCompilerMojo
          extended by net.jangaroo.jooc.mvnplugin.TestCompilerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class TestCompilerMojo
extends AbstractCompilerMojo

Mojo to compile Jangaroo sources from during the test-compile phase.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestCompilerMojo()
           
 
Method Summary
protected  List<File> getActionScriptClassPath()
           
protected  File getApiOutputDirectory()
           
protected  List<File> getCompileSourceRoots()
           
 String getModuleClassesJsFileName()
           
protected  File getOutputDirectory()
           
protected  org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(int staleMillis)
           
protected  File getTempClassesOutputDirectory()
           
 
Methods inherited from class net.jangaroo.jooc.mvnplugin.AbstractCompilerMojo
execute, getClassesOutputDirectory, getGeneratedSourcesDirectory, getModuleClassesJsFile, getSourceInclusionScanner, getSourceInclusionScanner, isJangarooPackaging
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCompilerMojo

public TestCompilerMojo()
Method Detail

getApiOutputDirectory

protected File getApiOutputDirectory()
Specified by:
getApiOutputDirectory in class AbstractCompilerMojo
Returns:
null as API stub generation does not make sense for test sources

getCompileSourceRoots

protected List<File> getCompileSourceRoots()
Specified by:
getCompileSourceRoots in class AbstractCompilerMojo

getOutputDirectory

protected File getOutputDirectory()
Specified by:
getOutputDirectory in class AbstractCompilerMojo

getTempClassesOutputDirectory

protected File getTempClassesOutputDirectory()
Specified by:
getTempClassesOutputDirectory in class AbstractCompilerMojo

getSourceInclusionScanner

protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(int staleMillis)
Specified by:
getSourceInclusionScanner in class AbstractCompilerMojo

getModuleClassesJsFileName

public String getModuleClassesJsFileName()
Specified by:
getModuleClassesJsFileName in class AbstractCompilerMojo

getActionScriptClassPath

protected List<File> getActionScriptClassPath()
Overrides:
getActionScriptClassPath in class AbstractCompilerMojo


Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.