net.jangaroo.jooc.mvnplugin
Class AbstractCompilerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.jangaroo.jooc.mvnplugin.JangarooMojo
          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 JangarooMojo

Super class for mojos compiling Jangaroo sources.


Field Summary
protected  File sourceDirectory
          Source directory to scan for files to compile.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractCompilerMojo()
           
 
Method Summary
 void execute()
          Runs the compile mojo
protected abstract  List<File> getActionScriptClassPath()
           
protected abstract  File getApiOutputDirectory()
           
protected  File getClassesOutputDirectory()
           
protected abstract  List<File> getCompileSourceRoots()
           
protected abstract  Set<String> getExcludes()
           
 File getGeneratedSourcesDirectory()
           
protected abstract  Set<String> getIncludes()
           
 File getModuleClassesJsFile()
           
abstract  String getModuleClassesJsFileName()
           
protected abstract  File getOutputDirectory()
           
protected  org.apache.maven.project.MavenProject getProject()
           
protected abstract  File getTempClassesOutputDirectory()
           
protected  boolean isJangarooPackaging()
           
 
Methods inherited from class net.jangaroo.jooc.mvnplugin.JangarooMojo
getMavenPluginHelper
 
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
 

Field Detail

sourceDirectory

protected File sourceDirectory
Source directory to scan for files to compile.

Constructor Detail

AbstractCompilerMojo

public AbstractCompilerMojo()
Method Detail

getProject

protected org.apache.maven.project.MavenProject getProject()
Specified by:
getProject in class JangarooMojo

getModuleClassesJsFileName

public abstract String getModuleClassesJsFileName()

getModuleClassesJsFile

public File getModuleClassesJsFile()

getCompileSourceRoots

protected abstract List<File> getCompileSourceRoots()

getOutputDirectory

protected abstract File getOutputDirectory()

getClassesOutputDirectory

protected File getClassesOutputDirectory()

getTempClassesOutputDirectory

protected abstract File getTempClassesOutputDirectory()

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 abstract List<File> getActionScriptClassPath()

getIncludes

protected abstract Set<String> getIncludes()

getExcludes

protected abstract Set<String> getExcludes()

isJangarooPackaging

protected boolean isJangarooPackaging()


Copyright © 2002–2013 CoreMedia AG. All rights reserved.