net.liftweb.tools
Class I18NMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.liftweb.tools.I18NMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class I18NMojo
extends org.apache.maven.plugin.AbstractMojo

Goal which runs the I18N LocKeyScanner. This will scan the given source directory for files with a scala, xml, xhtml, htm, or html suffix and parse them for Lift's localized string mechanisms:

The plugin then generates a file called i18n-template.properties in the output directory with all of the keys in a property ("key=") format.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
I18NMojo()
           
 
Method Summary
 void 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
 

Constructor Detail

I18NMojo

public I18NMojo()
Method Detail

execute

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


Copyright © 2008-2009 Lift Team. All Rights Reserved.