|
||||||||||
| 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.plugin.AbstractPlugin
org.nuiton.i18n.plugin.AbstractI18nMojo
org.nuiton.i18n.plugin.bundle.AbstractI18nBundleMojo
org.nuiton.i18n.plugin.bundle.AbstractMakeI18nBundleMojo
org.nuiton.i18n.plugin.bundle.TapestryBundleMojo
public class TapestryBundleMojo
Generates a unique bundle for a tapestry application.
Note : The mojo has nothing specific to tapestry and should be renamed (or removed since thebundle mojo do the same with more options)...
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin |
|---|
org.nuiton.plugin.Plugin.InitState, org.nuiton.plugin.Plugin.Packaging |
| Field Summary |
|---|
| Fields inherited from class org.nuiton.i18n.plugin.bundle.AbstractMakeI18nBundleMojo |
|---|
bundleOutputDir, bundleOutputName, bundleOutputPackage, checkBundle, failsIfWarning, generateDefaultLocale, outputFolder, showEmpty, unsafeMapping |
| Fields inherited from class org.nuiton.i18n.plugin.bundle.AbstractI18nBundleMojo |
|---|
collectOutputDir, collectOutputName |
| Fields inherited from class org.nuiton.i18n.plugin.AbstractI18nMojo |
|---|
artifactId, bundles, encoding, genSrc, locales, out, project, silent, src, strictMode, verbose |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
TapestryBundleMojo()
|
|
| Method Summary | |
|---|---|
protected void |
doAction()
|
protected File |
getBundleFile(File root,
String artifactId,
Locale locale,
boolean create)
Gets the bundle file for the given parameters. |
protected URL[] |
getCollectI18nResources(Locale locale)
Pour obtenir les urls des fichiers i18n d'un projet (avec recherche dans ses dépendances). |
| Methods inherited from class org.nuiton.i18n.plugin.bundle.AbstractMakeI18nBundleMojo |
|---|
failsIfWarning, generateDefaultBundle, getBundleOutputFolder, init |
| Methods inherited from class org.nuiton.i18n.plugin.bundle.AbstractI18nBundleMojo |
|---|
getCollectOutputFile, getLinesAsURL |
| Methods inherited from class org.nuiton.i18n.plugin.AbstractI18nMojo |
|---|
addGetter, backupFile, checkBundle, checkPackaging, getArtifactId, getBackupFile, getEncoding, getGetterFile, getI18nFile, getProject, isSilent, isStrictMode, isVerbose, needGeneration, setEncoding, setProject, setVerbose |
| Methods inherited from class org.nuiton.plugin.AbstractPlugin |
|---|
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, afterExecute, checkEncoding, checkResource, checkRunOnceDone, checkSkip, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getRootProject, getTemplate, hasClassPath, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFile |
| 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 |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
|---|
execute, getLog, setLog |
| Constructor Detail |
|---|
public TapestryBundleMojo()
| Method Detail |
|---|
protected void doAction()
throws Exception
doAction in class org.nuiton.plugin.AbstractPluginException
protected File getBundleFile(File root,
String artifactId,
Locale locale,
boolean create)
throws IOException
AbstractMakeI18nBundleMojo
getBundleFile in class AbstractMakeI18nBundleMojoroot - le repertoire ou sont stockes les fichiers i18nartifactId - le nom de l'artifactlocale - le nom du bundlecreate - true pour creer le fichier si non present
IOException - si probleme lors de la creation du fichier
protected URL[] getCollectI18nResources(Locale locale)
throws IOException
AbstractI18nBundleMojo
getCollectI18nResources in class AbstractI18nBundleMojolocale - la locale a traiter
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||