bundle
goal instead@Deprecated @Mojo(name="tapestry-bundle", defaultPhase=GENERATE_RESOURCES, requiresProject=true, requiresDependencyResolution=RUNTIME) @Execute(goal="collect-i18n-artifacts") public class TapestryBundleMojo extends AbstractMakeI18nBundleMojo
bundle mojo do the same with more options)...bundleInputEncoding, bundleOutputDir, bundleOutputEncoding, bundleOutputName, bundleOutputPackage, checkBundle, failsIfWarning, generateDefaultLocale, outputFolder, showEmpty, unsafeMappingcollectOutputDir, collectOutputNameartifactId, bundles, encoding, genSrc, locales, out, project, silent, src, strictMode, verbose| Constructor and Description |
|---|
TapestryBundleMojo()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAction()
Deprecated.
|
protected File |
getBundleFile(File root,
String artifactId,
Locale locale,
boolean create)
Deprecated.
Gets the bundle file for the given parameters.
|
protected URL[] |
getCollectI18nResources(Locale locale)
Deprecated.
Pour obtenir les urls des fichiers i18n d'un projet (avec recherche dans
ses dépendances).
|
failsIfWarning, generateDefaultBundle, getBundleInputEncoding, getBundleOutputEncoding, getBundleOutputFolder, initgetCollectOutputFileaddGetter, backupFile, checkBundle, checkPackaging, getArtifactId, getBackupFile, getEncoding, getGetterFile, getI18nFile, getProject, isSilent, isStrictMode, isVerbose, needGeneration, setEncoding, setProject, setVerboseacceptPackaging, 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, writeFilegetLog, getPluginContext, setLog, setPluginContextprotected void doAction()
throws Exception
doAction in class org.nuiton.plugin.AbstractPluginExceptionprotected File getBundleFile(File root, String artifactId, Locale locale, boolean create) throws IOException
AbstractMakeI18nBundleMojogetBundleFile 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 presentIOException - si probleme lors de la creation du fichierprotected URL[] getCollectI18nResources(Locale locale) throws IOException
AbstractI18nBundleMojogetCollectI18nResources in class AbstractI18nBundleMojolocale - la locale a traiterIOExceptionCopyright © 2007–2013 CodeLutin. All rights reserved.