Why make donate
google analytics

jaxx:generate

Nom complet :

org.nuiton.jaxx:maven-jaxx-plugin:2.4.2:generate

Description :

Generates some java code from jaxx files.

Attributs :

  • Exige un projet Maven pour être exécuté.
  • Exige une résolution de dépendances des artefacts dans le scope : compile.
  • Depuis la version : 1.3.
  • S'associe par défaut dans la phase du cycle de vie : process-sources.

Paramètres requis

Nom Type Depuis Description
jaxxContextFQN String 1.3 the name of implementation of JAXXContextto be used on JAXXObject.

Must not be abstract.
Valeur par défaut est : jaxx.runtime.context.DefaultJAXXContext.

Paramètres optionnels

Nom Type Depuis Description
addCompileClassPath boolean 1.6.0 flag to include in compiler classpath the compile class-path (can only be used in a test phase).

By default, false.
Valeur par défaut est : false.
addLogger boolean 1.3 flag to add logger to each generated jaxx file.

By default, always add it.
Valeur par défaut est : true.
addProjectClassPath boolean 1.3 flag to include in compiler classpath the project compile classpath.

By default, false.
Valeur par défaut est : false.
addResourcesToClassPath boolean 1.6.0 flag to include in compiler classpath the java resources directories (src and outJava).

By default, false.
Valeur par défaut est : false.
addSourcesToClassPath boolean 1.3 flag to include in compiler classpath the java sources directories (src and outJava).

By default, false.
Valeur par défaut est : false.
autoImportCss boolean 2.0.2 To auto import css files for a jaxx file.
Valeur par défaut est : false.
autoRecurseInCss boolean 2.0.2 To let jaxx recurses in css when a JAXX Object auto import css files for a jaxx file.

Warning: This option will be removed in version 3.0 or at least default value will become false.
Valeur par défaut est : true.
beanInfoSearchPath String[] 1.3 extra path to be added in Introspector.setBeanInfoSearchPath().

add beanInfoSearchPath to be registred by BeanInfoUtil.addJaxxBeanInfoPath()

and then will be use by DefaultInitializer.initialize().

This permit to use real beanInfo of imported graphic libraries.
compilerFQN String 1.3 Le compilateur à utiliser (par défaut celui de Swing)
Valeur par défaut est : jaxx.compiler.JAXXCompiler.
defaultDecoratorFQN String 1.3 the FQN of the ui to use for error notification.

If not given, will use the one defined in validator
Valeur par défaut est : jaxx.compiler.decorators.DefaultCompiledObjectDecorator.
defaultErrorUIFQN String 1.3 the FQN of the ui to use for error notification.

If not given, will use the one defined in validator
encoding String 2.0.0 Encoding pour la generation des fichiers.

Note: If nothing is filled here, we will use the system property file.encoding.
Valeur par défaut est : ${project.build.sourceEncoding}.
excludes String[] 1.3 pour filter les fichiers a ne pas traiter
extraImportList String 1.3 list of fqn of class toimport for all generated jaxx files
force boolean 1.3 to force generation of java source for any jaxx files with no timestamp checking.

By default, never force generation.
Valeur par défaut est : false.
generateHelp boolean 1.3 Flag to activate help id detection while parsing jaxx files.

By default, not active.
Valeur par défaut est : false.
helpBrokerFQN String 1.3 the FQN of help broker

By default, use the JAXX implementation JAXXHelpBroker.
Valeur par défaut est : jaxx.runtime.swing.help.JAXXHelpBroker.
i18nable boolean 1.3 to make compiler i18nable, says add the I18n._() method invocation on I18nHelper.I18N_ATTRIBUTES attributes.
Valeur par défaut est : true.
includes String[] 1.3 pour filter les fichiers a traiter
optimize boolean 1.3 pour optimizer le code compile ou genere ?
Valeur par défaut est : false.
outJava File 1.3 Repertoire de destination des fichiers java a generer.
Valeur par défaut est : ${basedir}/target/generated-sources/java.
profile boolean 1.3 flag to activate profile mode.

By default, not active.
Valeur par défaut est : false.
resetAfterCompile boolean 1.3 flag to keep compilers after the generate operation (usefull for tests.

By default, always reset.
Valeur par défaut est : true.
showBinding boolean 2.0.0 To show detected bindings.

By default, do not show them.
Valeur par défaut est : false.
showClassDescriptorLoading boolean 2.4 To trace class descriptor loading.

By default, do not trace it.
Valeur par défaut est : false.
src File 1.3 Repertoire sources des fichiers jaxx a generer.
Valeur par défaut est : ${basedir}/src/main/java.
testPhase boolean 1.6.0 A flag to mark themojo to be used in a test phase. This will permits to add generated sources in test compile roots.
Valeur par défaut est : false.
useUIManagerForIcon boolean 1.3 a flag to use UIManager to retreave icons.
Valeur par défaut est : false.
verbose boolean 1.3 verbose flag
Valeur par défaut est : false.

Détails des paramètres

addCompileClassPath :

flag to include in compiler classpath the compile class-path (can only be used in a test phase).

By default, false.
  • Type : boolean
  • Depuis : 1.6.0
  • Exigé : Non
  • Expression : ${jaxx.addCompileClassPath}
  • Défaut : false

addLogger :

flag to add logger to each generated jaxx file.

By default, always add it.
  • Type : boolean
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.addLogger}
  • Défaut : true

addProjectClassPath :

flag to include in compiler classpath the project compile classpath.

By default, false.
  • Type : boolean
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.addProjectClassPath}
  • Défaut : false

addResourcesToClassPath :

flag to include in compiler classpath the java resources directories (src and outJava).

By default, false.
  • Type : boolean
  • Depuis : 1.6.0
  • Exigé : Non
  • Expression : ${jaxx.addResourcesToClassPath}
  • Défaut : false

addSourcesToClassPath :

flag to include in compiler classpath the java sources directories (src and outJava).

By default, false.
  • Type : boolean
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.addSourcesToClassPath}
  • Défaut : false

autoImportCss :

To auto import css files for a jaxx file.
  • Type : boolean
  • Depuis : 2.0.2
  • Exigé : Non
  • Expression : ${jaxx.autoImportCss}
  • Défaut : false

autoRecurseInCss :

To let jaxx recurses in css when a JAXX Object auto import css files for a jaxx file.

Warning: This option will be removed in version 3.0 or at least default value will become false.
  • Type : boolean
  • Depuis : 2.0.2
  • Exigé : Non
  • Expression : ${jaxx.autoRecurseInCss}
  • Défaut : true

beanInfoSearchPath :

extra path to be added in Introspector.setBeanInfoSearchPath().

add beanInfoSearchPath to be registred by BeanInfoUtil.addJaxxBeanInfoPath()

and then will be use by DefaultInitializer.initialize().

This permit to use real beanInfo of imported graphic libraries.
  • Type : java.lang.String[]
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.beanInfoSearchPath}

compilerFQN :

Le compilateur à utiliser (par défaut celui de Swing)
  • Type : java.lang.String
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.compilerFQN}
  • Défaut : jaxx.compiler.JAXXCompiler

defaultDecoratorFQN :

the FQN of the ui to use for error notification.

If not given, will use the one defined in validator
  • Type : java.lang.String
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.defaultDecoratorFQN}
  • Défaut : jaxx.compiler.decorators.DefaultCompiledObjectDecorator

defaultErrorUIFQN :

the FQN of the ui to use for error notification.

If not given, will use the one defined in validator
  • Type : java.lang.String
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.defaultErrorUIFQN}

encoding :

Encoding pour la generation des fichiers.

Note: If nothing is filled here, we will use the system property file.encoding.
  • Type : java.lang.String
  • Depuis : 2.0.0
  • Exigé : Non
  • Expression : ${jaxx.encoding}
  • Défaut : ${project.build.sourceEncoding}

excludes :

pour filter les fichiers a ne pas traiter
  • Type : java.lang.String[]
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.excludes}

extraImportList :

list of fqn of class toimport for all generated jaxx files
  • Type : java.lang.String
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.extraImportList}

force :

to force generation of java source for any jaxx files with no timestamp checking.

By default, never force generation.
  • Type : boolean
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.force}
  • Défaut : false

generateHelp :

Flag to activate help id detection while parsing jaxx files.

By default, not active.
  • Type : boolean
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.generateHelp}
  • Défaut : false

helpBrokerFQN :

the FQN of help broker

By default, use the JAXX implementation JAXXHelpBroker.
  • Type : java.lang.String
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.helpBrokerFQN}
  • Défaut : jaxx.runtime.swing.help.JAXXHelpBroker

i18nable :

to make compiler i18nable, says add the I18n._() method invocation on I18nHelper.I18N_ATTRIBUTES attributes.
  • Type : boolean
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.i18nable}
  • Défaut : true

includes :

pour filter les fichiers a traiter
  • Type : java.lang.String[]
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.includes}

jaxxContextFQN :

the name of implementation of JAXXContextto be used on JAXXObject.

Must not be abstract.
  • Type : java.lang.String
  • Depuis : 1.3
  • Exigé : Oui
  • Expression : ${jaxx.jaxxContextFQN}
  • Défaut : jaxx.runtime.context.DefaultJAXXContext

optimize :

pour optimizer le code compile ou genere ?
  • Type : boolean
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.optimize}
  • Défaut : false

outJava :

Repertoire de destination des fichiers java a generer.
  • Type : java.io.File
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.outJava}
  • Défaut : ${basedir}/target/generated-sources/java

profile :

flag to activate profile mode.

By default, not active.
  • Type : boolean
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.profile}
  • Défaut : false

resetAfterCompile :

flag to keep compilers after the generate operation (usefull for tests.

By default, always reset.
  • Type : boolean
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.resetAfterCompile}
  • Défaut : true

showBinding :

To show detected bindings.

By default, do not show them.
  • Type : boolean
  • Depuis : 2.0.0
  • Exigé : Non
  • Expression : ${jaxx.showBinding}
  • Défaut : false

showClassDescriptorLoading :

To trace class descriptor loading.

By default, do not trace it.
  • Type : boolean
  • Depuis : 2.4
  • Exigé : Non
  • Expression : ${jaxx.showClassDescriptorLoading}
  • Défaut : false

src :

Repertoire sources des fichiers jaxx a generer.
  • Type : java.io.File
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.src}
  • Défaut : ${basedir}/src/main/java

testPhase :

A flag to mark themojo to be used in a test phase. This will permits to add generated sources in test compile roots.
  • Type : boolean
  • Depuis : 1.6.0
  • Exigé : Non
  • Expression : ${jaxx.testPhase}
  • Défaut : false

useUIManagerForIcon :

a flag to use UIManager to retreave icons.
  • Type : boolean
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.useUIManagerForIcon}
  • Défaut : false

verbose :

verbose flag
  • Type : boolean
  • Depuis : 1.3
  • Exigé : Non
  • Expression : ${jaxx.verbose}
  • Défaut : false
Maven JRst ReStructuredText