class LegacyGrammarDirectoryScanner extends GrammarDirectoryScanner
JJTreeMojo
and JTBMojo
which
perform timestamp checking against copies of the input grammars rather than against the generated parser files.
Hence, the directory configured by GrammarDirectoryScanner.setOutputDirectory(File)
is taken to be the output directory for the
timestamp files.Constructor and Description |
---|
LegacyGrammarDirectoryScanner() |
Modifier and Type | Method and Description |
---|---|
protected java.io.File[] |
getTargetFiles(java.io.File targetDirectory,
java.lang.String grammarFile,
GrammarInfo grammarInfo)
Determines the output files corresponding to the specified grammar file.
|
getIncludedGrammars, scan, setExcludes, setIncludes, setOutputDirectory, setParserPackage, setSourceDirectory, setStaleMillis
protected java.io.File[] getTargetFiles(java.io.File targetDirectory, java.lang.String grammarFile, GrammarInfo grammarInfo)
getTargetFiles
in class GrammarDirectoryScanner
targetDirectory
- The absolute path to the output directory for the target files, must not be
null
.grammarFile
- The path to the grammar file, relative to the scanned source directory, must not be
null
.grammarInfo
- The grammar info describing the grammar file, must not be null
null
.