net.jangaroo.jooc.mvnplugin
Class AbstractCompilerMojo

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

public abstract class AbstractCompilerMojo
extends org.apache.maven.plugin.AbstractMojo

Super class for mojos compiling Jangaroo sources.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractCompilerMojo()
           
 
Method Summary
 void execute()
          Runs the compile mojo
protected  List<File> getActionScriptClassPath()
           
protected abstract  File getApiOutputDirectory()
           
protected abstract  List<File> getCompileSourceRoots()
           
 File getGeneratedSourcesDirectory()
           
protected abstract  File getOutputDirectory()
           
abstract  String getOutputFileName()
           
protected abstract  org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(int staleMillis)
           
protected  org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(Set<String> includes, Set<String> excludes, int staleMillis)
           
protected  org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(Set<String> includes, Set<String> excludes, String inputFileEnding)
           
protected abstract  File getTempOutputDirectory()
           
 
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

AbstractCompilerMojo

public AbstractCompilerMojo()
Method Detail

getOutputFileName

public abstract String getOutputFileName()

getCompileSourceRoots

protected abstract List<File> getCompileSourceRoots()

getOutputDirectory

protected abstract File getOutputDirectory()

getTempOutputDirectory

protected abstract File getTempOutputDirectory()

getGeneratedSourcesDirectory

public File getGeneratedSourcesDirectory()

getApiOutputDirectory

protected abstract File getApiOutputDirectory()

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Runs the compile mojo

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

getActionScriptClassPath

protected List<File> getActionScriptClassPath()

getSourceInclusionScanner

protected abstract org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(int staleMillis)

getSourceInclusionScanner

protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(Set<String> includes,
                                                                                                  Set<String> excludes,
                                                                                                  int staleMillis)

getSourceInclusionScanner

protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(Set<String> includes,
                                                                                                  Set<String> excludes,
                                                                                                  String inputFileEnding)


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