net.jangaroo.exml.mojo
Class AbstractExmlMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.jangaroo.jooc.mvnplugin.JangarooMojo
          extended by net.jangaroo.exml.mojo.AbstractExmlMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
ExmlMojo, TestExmlMojo

public abstract class AbstractExmlMojo
extends net.jangaroo.jooc.mvnplugin.JangarooMojo

A Mojo to invoke the EXML compiler.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractExmlMojo()
           
 
Method Summary
 void execute()
           
protected abstract  void executeExmlc(Exmlc exmlc)
          Execute the exmlc parts that are needed by the concret mojo
protected  List<File> getActionScriptClassPath()
           
 File getGeneratedResourcesDirectory()
           
 File getGeneratedSourcesDirectory()
           
protected  org.apache.maven.project.MavenProject getProject()
           
 File getSourceDirectory()
           
protected abstract  List<File> getSourcePath()
           
protected  void useAllSources()
           
 
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
 

Constructor Detail

AbstractExmlMojo

public AbstractExmlMojo()
Method Detail

useAllSources

protected void useAllSources()

getProject

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

getSourceDirectory

public File getSourceDirectory()

getGeneratedSourcesDirectory

public File getGeneratedSourcesDirectory()

getGeneratedResourcesDirectory

public File getGeneratedResourcesDirectory()

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

executeExmlc

protected abstract void executeExmlc(Exmlc exmlc)
Execute the exmlc parts that are needed by the concret mojo

Parameters:
exmlc - the configured exmlc

getSourcePath

protected abstract List<File> getSourcePath()

getActionScriptClassPath

protected List<File> getActionScriptClassPath()


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