|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.javacc.AbstractPreprocessorMojo
org.codehaus.mojo.javacc.JJTreeMojo
jjtree-javacc
goal instead.
public class JJTreeMojo
Parses a JJTree grammar file (*.jjt
) and transforms it to Java source files and a JavaCC grammar
file. Please see the JJTree Reference Documentation for
more information.
Deprecated. As of version 2.4, use the jjtree-javacc
goal instead.
Field Summary |
---|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
JJTreeMojo()
Deprecated. |
Method Summary | |
---|---|
protected void |
addCompileSourceRoot()
Deprecated. Prevents registration of our output or a following invocation of the javacc mojo will cause duplicate sources which in turn will make compilation fail. |
protected java.lang.String[] |
getExcludes()
Deprecated. Gets a set of Ant-like exclusion patterns used to unselect files from the source directory for processing. |
protected java.lang.String[] |
getIncludes()
Deprecated. Gets a set of Ant-like inclusion patterns used to select files from the source directory for processing. |
protected java.io.File |
getOutputDirectory()
Deprecated. Gets the absolute path to the directory where the generated Java files for the parser will be stored. |
protected java.io.File |
getSourceDirectory()
Deprecated. Gets the absolute path to the directory where the grammar files are located. |
protected int |
getStaleMillis()
Deprecated. Gets the granularity in milliseconds of the last modification date for testing whether a source needs recompilation. |
protected java.io.File |
getTimestampDirectory()
Deprecated. Gets the absolute path to the directory where the processed input files will be stored for later detection of stale sources. |
protected org.codehaus.mojo.javacc.JJTree |
newJJTree()
Deprecated. Creates a new facade to invoke JJTree. |
protected void |
processGrammar(org.codehaus.mojo.javacc.GrammarInfo grammarInfo)
Deprecated. Passes the specified grammar file through the tool. |
Methods inherited from class org.codehaus.mojo.javacc.AbstractPreprocessorMojo |
---|
createTimestamp, 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 |
---|
public JJTreeMojo()
Method Detail |
---|
protected java.io.File getSourceDirectory()
getSourceDirectory
in class AbstractPreprocessorMojo
null
.protected java.lang.String[] getIncludes()
getIncludes
in class AbstractPreprocessorMojo
null
if all files should be included.protected java.lang.String[] getExcludes()
getExcludes
in class AbstractPreprocessorMojo
null
if no files should be excluded.protected java.io.File getOutputDirectory()
getOutputDirectory
in class AbstractPreprocessorMojo
null
.protected java.io.File getTimestampDirectory()
getTimestampDirectory
in class AbstractPreprocessorMojo
null
.protected int getStaleMillis()
getStaleMillis
in class AbstractPreprocessorMojo
protected void processGrammar(org.codehaus.mojo.javacc.GrammarInfo grammarInfo) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
processGrammar
in class AbstractPreprocessorMojo
grammarInfo
- The grammar info describing the grammar file to process, must not be null
.
org.apache.maven.plugin.MojoExecutionException
- If the invocation of the tool failed.
org.apache.maven.plugin.MojoFailureException
- If the tool reported a non-zero exit code.protected org.codehaus.mojo.javacc.JJTree newJJTree()
null
.protected void addCompileSourceRoot()
addCompileSourceRoot
in class AbstractPreprocessorMojo
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |