net.israfil.mojo.flex2
Class AbstractFlexCompilerMojo

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

public abstract class AbstractFlexCompilerMojo
extends AbstractFlexMojo

Base class for flex2/actionscript3 plugin

Version:
$Id: AbstractFlexMojo.java 570 2007-11-22 13:07:05Z christianedwardgruber $
Author:
Christian Edward Gruber, Tim Spurway

Field Summary
protected  java.io.File dataServicesConfig
           
protected  boolean incremental
           
protected  License[] licenses
           
protected  java.lang.String locale
          The current locale.
protected  boolean optimize
           
protected  boolean profile
           
protected  boolean resolveExtraSwcsFromFlexFrameworksLibs
          Resolve extra libraries (such as charts or fds) from ${flex.home}/frameworks/libs.
protected  boolean showActionscriptWarnings
           
protected  boolean showBindingWarnings
           
protected  boolean showDeprecationWarnings
           
protected  boolean strict
           
protected  boolean useNetwork
           
protected  boolean 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
AbstractFlexCompilerMojo()
           
 
Method Summary
protected  java.lang.String getClassifier()
          Overload this to produce a test-jar, for example.
protected  java.io.File getOutputFile()
           
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.AbstractFlexMojo
addClasspathEntry, execute, executeJavaCommand, finalizeParameters, getCommandClassPath, getCompilerClass, getExecutableJar, getFile, getFileExtension, 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

resolveExtraSwcsFromFlexFrameworksLibs

protected boolean resolveExtraSwcsFromFlexFrameworksLibs
Resolve extra libraries (such as charts or fds) from ${flex.home}/frameworks/libs. Default is false, in which case these (and other) swcs should be deployed as flex artifacts (swcs).


locale

protected java.lang.String locale
The current locale.


optimize

protected boolean optimize

profile

protected boolean profile

strict

protected boolean strict

useNetwork

protected boolean useNetwork

warnings

protected boolean warnings

incremental

protected boolean incremental

showActionscriptWarnings

protected boolean showActionscriptWarnings

showBindingWarnings

protected boolean showBindingWarnings

showDeprecationWarnings

protected boolean showDeprecationWarnings

licenses

protected License[] licenses

dataServicesConfig

protected java.io.File dataServicesConfig
Constructor Detail

AbstractFlexCompilerMojo

public AbstractFlexCompilerMojo()
Method Detail

getClassifier

protected java.lang.String getClassifier()
Overload this to produce a test-jar, for example.


getOutputFile

protected java.io.File getOutputFile()
Specified by:
getOutputFile 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 AbstractFlexMojo
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException


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