net.israfil.mojo.flex2
Class CompCompilerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.israfil.mojo.flex2.AbstractFlexMojo
net.israfil.mojo.flex2.AbstractFlexCompilerMojo
net.israfil.mojo.flex2.CompCompilerMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class CompCompilerMojo
- extends AbstractFlexCompilerMojo
Compilation action for Flex2 actionscript 3 classes.
- Version:
- $Id: CompCompilerMojo.java 585 2008-01-07 19:16:56Z christianedwardgruber $
- Author:
- Christian Edward Gruber
|
Field Summary |
protected boolean |
debug
|
protected java.io.File |
flexLibPropertiesFile
An optional file provided which provides a list of classes and resources to be
included in the swc. |
protected java.util.List |
includedClasses
An optional list of included classes. |
protected java.util.List |
includedNamespaces
An optional list of included namespaces. |
protected java.util.List |
includedResources
An optional list of included resources. |
| 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 |
|
Method Summary |
java.util.List |
find(java.io.File directory,
java.lang.String pattern,
boolean ignoreVersionControlFiles)
|
protected java.lang.String |
getCommandClassPath()
|
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 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 |
debug
protected boolean debug
flexLibPropertiesFile
protected java.io.File flexLibPropertiesFile
- An optional file provided which provides a list of classes and resources to be
included in the swc. The format of this file is identical to that generated
by the flex builder file .flexLibProperties, and the .flexLibProperties can be
used and set here.
includedClasses
protected java.util.List includedClasses
- An optional list of included classes. If this is present, then only those
classes present in this list will be included in the .swc.
includedResources
protected java.util.List includedResources
- An optional list of included resources. If present, then the specified
resources will be included from src/main/resources in the swc. If resources
are not specified here and no flex lib properties file is specified, then the
full contents of src/main/resources will be included in the .swc, except for
SCM related files (.svn, or CVS/)
includedNamespaces
protected java.util.List includedNamespaces
- An optional list of included namespaces. If present, then the specified
namespaces will be included as parameters through the -included-namespaces
parameter item.
CompCompilerMojo
public CompCompilerMojo()
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
getCommandClassPath
protected java.lang.String getCommandClassPath()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Overrides:
getCommandClassPath in class AbstractFlexMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
find
public java.util.List find(java.io.File directory,
java.lang.String pattern,
boolean ignoreVersionControlFiles)
Copyright © 2006-2008 Israfil Consulting Services Corporation Open-Source Projects. All Rights Reserved.