|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.nuiton.jaxx.AbstractJaxxMojo
org.nuiton.jaxx.JaxxGeneratorMojo
public class JaxxGeneratorMojo
Classe permettant de transformer des sources jaxx vers du source java.
| Field Summary | |
|---|---|
protected boolean |
addCompileClassPath
flag to include in compiler classpath the compile class-path (can only be used in a test phase). |
protected boolean |
addLogger
flag to add logger to each generated jaxx file. |
protected boolean |
addProjectClassPath
flag to include in compiler classpath the project compile classpath. |
protected boolean |
addResourcesToClassPath
flag to include in compiler classpath the java resources directories (src and outJava). |
protected boolean |
addSourcesToClassPath
flag to include in compiler classpath the java sources directories (src and outJava). |
protected java.lang.String[] |
beanInfoSearchPath
extra path to be added in java.beans.Introspector#setBeanInfoSearchPath(String[]). |
protected java.lang.String |
compilerFQN
Le compilateur à utiliser (par défaut celui de Swing) |
protected java.lang.String |
defaultDecoratorFQN
the FQN of the ui to use for error notification. |
protected java.lang.String |
defaultErrorUIFQN
the FQN of the ui to use for error notification. |
protected java.lang.String[] |
excludes
pour filter les fichiers a ne pas traiter |
protected java.lang.String |
extraImportList
list of fqn of class toimport for all generated jaxx files |
protected java.lang.String[] |
extraImports
Deprecated. Prefer use of extraImportList as a string, so could be use in properties section. |
protected java.lang.String[] |
files
|
protected boolean |
force
to force generation of java source for any jaxx files with no timestamp checking. |
protected boolean |
generateHelp
flag to activate help generation process. |
protected java.lang.String |
helpBrokerFQN
the FQN of help broker By default, none. |
protected java.lang.String[] |
includes
pour filter les fichiers a traiter |
protected java.lang.String |
javaOpts
les options de la compilation |
protected java.lang.String |
jaxxContextImplementorClass
the name of implementation of JAXXContext
to be used on JAXXObject. |
protected boolean |
optimize
pour optimizer le code compile ou genere ? |
protected CompilerOptions |
options
|
protected java.io.File |
outClass
chemin du repertoire de compilation des resources. |
protected java.io.File |
outResource
chemin du repertoire de generation des resources. |
protected boolean |
profile
flag to activate profile mode. |
protected boolean |
resetAfterCompile
flag to keep compilers after the generate operation (usefull for tests. |
protected java.io.File |
src
Repertoire sources des fichiers jaxx a generer. |
protected boolean |
testPhase
A flag to mark themojo to be used in a test phase. |
protected org.nuiton.util.MirroredFileUpdater |
updater
|
protected boolean |
useUIManagerForIcon
a flag to use UIManager to retreave icons. |
protected java.lang.String |
validatorFQN
Le compilateur à utiliser (par défaut celui de Swing) |
| Fields inherited from class org.nuiton.jaxx.AbstractJaxxMojo |
|---|
cl, helpIdStore, helpsetI18nPrefix, helpsetIndexI18nSuffix, helpSetName, helpsetTitleI18nSuffix, helpsetTocI18nSuffix, i18nable, outJava, project, skip, verbose |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
JaxxGeneratorMojo()
|
|
| Method Summary | |
|---|---|
protected void |
checkJaxxContextImplementorClass()
|
void |
doAction()
|
protected void |
fixCompileSourceRoots()
|
protected void |
generateHelp()
|
void |
init()
|
protected java.net.URLClassLoader |
initClassLoader(org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.logging.Log log)
|
protected void |
printInit()
|
protected java.lang.String |
removeQuote(java.lang.String txt)
|
CompilerOptions |
toCompilerOptions()
|
| Methods inherited from class org.nuiton.jaxx.AbstractJaxxMojo |
|---|
execute |
| 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.lang.String compilerFQN
protected java.lang.String validatorFQN
protected java.io.File outResource
protected java.io.File outClass
protected java.io.File src
protected boolean optimize
protected java.lang.String javaOpts
protected java.lang.String[] includes
protected java.lang.String[] excludes
protected boolean addSourcesToClassPath
protected boolean addResourcesToClassPath
protected boolean addCompileClassPath
protected boolean addProjectClassPath
protected boolean force
protected boolean addLogger
protected boolean resetAfterCompile
protected java.lang.String jaxxContextImplementorClass
JAXXContext
to be used on JAXXObject.
Must not be abstract.
protected java.lang.String[] beanInfoSearchPath
java.beans.Introspector#setBeanInfoSearchPath(String[]).
add beanInfoSearchPath to be registred by BeanInfoUtil.addJaxxBeanInfoPath(String[])
and then will be use by SwingInitializer.
This permit to use real beanInfo of imported graphic libraries.
protected java.lang.String[] extraImports
protected java.lang.String extraImportList
protected java.lang.String defaultErrorUIFQN
SwingValidatorprotected java.lang.String defaultDecoratorFQN
CompiledObjectDecoratorprotected boolean useUIManagerForIcon
protected boolean profile
protected boolean generateHelp
protected java.lang.String helpBrokerFQN
protected boolean testPhase
protected java.lang.String[] files
protected CompilerOptions options
protected org.nuiton.util.MirroredFileUpdater updater
| Constructor Detail |
|---|
public JaxxGeneratorMojo()
| Method Detail |
|---|
public void init()
throws java.lang.Exception
init in class AbstractJaxxMojojava.lang.Exception
public void doAction()
throws org.apache.maven.plugin.MojoExecutionException
doAction in class AbstractJaxxMojoorg.apache.maven.plugin.MojoExecutionExceptionpublic CompilerOptions toCompilerOptions()
protected void fixCompileSourceRoots()
protected void printInit()
protected void checkJaxxContextImplementorClass()
protected void generateHelp()
throws java.io.IOException
java.io.IOException
protected java.net.URLClassLoader initClassLoader(org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.logging.Log log)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionprotected java.lang.String removeQuote(java.lang.String txt)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||