|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
net.israfil.mojo.flex2.AbstractFlexMojo
public abstract class AbstractFlexMojo
Base class for flex2/actionscript3 plugin
| Field Summary | |
|---|---|
protected java.lang.String |
classifier
Classifier to add to the artifact generated. |
protected Parameter[] |
extraParameters
|
protected java.lang.String |
finalName
Name of the generated compiled binary file. |
protected java.io.File |
flexConfig
The location of the flex configuration file. |
protected java.io.File |
flexHome
The directory in which Flex (command-line or builder) is installed. |
protected java.lang.String[] |
javaOpts
These are additional JVM options used when invoking the Flex compiler |
protected java.io.File |
outputDirectory
The directory into which to place the resulting artifact. |
protected java.util.List |
pluginArtifacts
|
protected org.apache.maven.project.MavenProject |
project
The maven project. |
protected org.apache.maven.project.MavenProjectHelper |
projectHelper
|
protected java.io.File |
source
Location of the flex sources. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractFlexMojo()
|
|
| Method Summary | |
|---|---|
protected void |
addClasspathEntry(java.lang.StringBuffer compilerClasspath,
java.lang.String path)
|
void |
execute()
|
protected int |
executeJavaCommand(java.lang.String cmd,
java.lang.String cwd,
java.util.List commandLineArgs,
java.lang.String className,
java.util.List programArgs)
|
protected void |
finalizeParameters(java.util.List parameters)
|
protected java.lang.String |
getCommandClassPath()
|
protected abstract java.lang.String |
getCompilerClass()
|
protected abstract java.lang.String |
getExecutableJar()
|
protected java.io.File |
getFile(java.io.File basedir,
java.lang.String finalName,
java.lang.String classifier)
|
protected abstract java.lang.String |
getFileExtension()
|
protected abstract java.io.File |
getOutputFile()
|
protected void |
postProcess()
Executed near the end of execute(). |
protected java.util.List |
prepareParameters()
Override and implement this method to take the existing java parameters and add any final information requried to provide source files to the compiler. |
| 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 |
|---|
protected java.io.File flexHome
protected java.io.File flexConfig
protected java.io.File source
protected java.io.File outputDirectory
protected java.lang.String finalName
protected org.apache.maven.project.MavenProject project
protected org.apache.maven.project.MavenProjectHelper projectHelper
protected java.util.List pluginArtifacts
protected java.lang.String[] javaOpts
protected Parameter[] extraParameters
protected java.lang.String classifier
| Constructor Detail |
|---|
public AbstractFlexMojo()
| Method Detail |
|---|
protected abstract java.io.File getOutputFile()
protected abstract java.lang.String getCompilerClass()
protected abstract java.lang.String getFileExtension()
protected java.io.File getFile(java.io.File basedir,
java.lang.String finalName,
java.lang.String classifier)
protected java.util.List prepareParameters()
throws org.apache.maven.plugin.MojoFailureException,
org.apache.maven.plugin.MojoExecutionException
parameterList -
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
protected void finalizeParameters(java.util.List parameters)
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionprotected abstract java.lang.String getExecutableJar()
protected java.lang.String getCommandClassPath()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureExceptionprotected void postProcess()
protected void addClasspathEntry(java.lang.StringBuffer compilerClasspath,
java.lang.String path)
protected int executeJavaCommand(java.lang.String cmd,
java.lang.String cwd,
java.util.List commandLineArgs,
java.lang.String className,
java.util.List programArgs)
throws org.codehaus.plexus.util.cli.CommandLineException
org.codehaus.plexus.util.cli.CommandLineException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||