org.nuiton.i18n.plugin
Class Generate

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.nuiton.i18n.plugin.AbstractI18nPlugin
          extended by org.nuiton.i18n.plugin.Generate
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class Generate
extends AbstractI18nPlugin

Merge des fichiers de propriétés avec les anciens.

Author:
julien

Field Summary
protected  boolean checkBundle
          Un drapeau pour vérifier que les bundles ne contiennent pas d'entrées vides.
protected  boolean showEmpty
          Un drapeau pour afficher les entrées vides.
 
Fields inherited from class org.nuiton.i18n.plugin.AbstractI18nPlugin
artifactId, bundles, DIRECTORY_INSTALL, encoding, events, genSrc, keepBackup, keysModifier, locales, out, silent, src, strictMode, verbose, verboseLog
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Generate()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.nuiton.i18n.plugin.AbstractI18nPlugin
addGetter, addParserEvent, backupFile, checkBundle, copyFile, getArtifactId, getGetterFile, getGetterFileBackup, getI18nFile, getI18nFileBackup, getVerboseLog, init, needGeneration, removeParserEvent
 
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

checkBundle

protected boolean checkBundle
Un drapeau pour vérifier que les bundles ne contiennent pas d'entrées vides.

Since:
1.0.0

showEmpty

protected boolean showEmpty
Un drapeau pour afficher les entrées vides. (nécessite checkBundle activé).

Since:
1.0.0
Constructor Detail

Generate

public Generate()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2007-2009 CodeLutin. All Rights Reserved.