net.israfil.mojo.flex2
Class MXMLCompilerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.israfil.mojo.flex2.AbstractFlexMojo
          extended by net.israfil.mojo.flex2.AbstractFlexCompilerMojo
              extended by net.israfil.mojo.flex2.MXMLCompilerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class MXMLCompilerMojo
extends AbstractFlexCompilerMojo

Compilation action for Flex2 actionscript 3 classes.

Version:
$Id: MXMLCompilerMojo.java 597 2008-01-14 22:46:31Z christianedwardgruber $
Author:
Christian Edward Gruber

Field Summary
protected  boolean debug
           
protected  java.lang.String mainMxmlFile
          The main mxml file
 
Fields inherited from class net.israfil.mojo.flex2.AbstractFlexCompilerMojo
dataServicesConfig, incremental, licenses, locale, optimize, profile, resolveExtraSwcsFromFlexFrameworksLibs, showActionscriptWarnings, showBindingWarnings, showDeprecationWarnings, strict, useNetwork, warnings
 
Fields inherited from class net.israfil.mojo.flex2.AbstractFlexMojo
classifier, extraParameters, finalName, flexConfig, flexHome, javaOpts, outputDirectory, pluginArtifacts, project, projectHelper, source
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MXMLCompilerMojo()
           
 
Method Summary
protected  void finalizeParameters(java.util.List parameters)
           
protected  java.lang.String getCompilerClass()
           
protected  java.lang.String getExecutableJar()
           
protected  java.lang.String getFileExtension()
           
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 net.israfil.mojo.flex2.AbstractFlexCompilerMojo
getClassifier, getOutputFile
 
Methods inherited from class net.israfil.mojo.flex2.AbstractFlexMojo
addClasspathEntry, execute, executeJavaCommand, getCommandClassPath, getFile, postProcess
 
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

debug

protected boolean debug

mainMxmlFile

protected java.lang.String mainMxmlFile
The main mxml file

Constructor Detail

MXMLCompilerMojo

public MXMLCompilerMojo()
Method Detail

getCompilerClass

protected java.lang.String getCompilerClass()
Specified by:
getCompilerClass in class AbstractFlexMojo

getExecutableJar

protected java.lang.String getExecutableJar()
Specified by:
getExecutableJar in class AbstractFlexMojo

getFileExtension

protected java.lang.String getFileExtension()
Specified by:
getFileExtension in class AbstractFlexMojo

prepareParameters

protected java.util.List prepareParameters()
                                    throws org.apache.maven.plugin.MojoFailureException,
                                           org.apache.maven.plugin.MojoExecutionException
Description copied from class: AbstractFlexMojo
Override and implement this method to take the existing java parameters and add any final information requried to provide source files to the compiler.

Overrides:
prepareParameters in class AbstractFlexCompilerMojo
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException

finalizeParameters

protected void finalizeParameters(java.util.List parameters)
                           throws org.apache.maven.plugin.MojoExecutionException,
                                  org.apache.maven.plugin.MojoFailureException
Overrides:
finalizeParameters in class AbstractFlexMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2006-2008 Israfil Consulting Services Corporation Open-Source Projects. All Rights Reserved.