Package ch.raffael.meldioc.processor
Class Debug
java.lang.Object
ch.raffael.meldioc.processor.Debug
Provides an entry point for debugging the processor, holds some constants
to turn debugging features on and of.
It invokes javac with our processor using the tools API. A certain file structure (prepared by the Gradle build) is expected:
- baseDir/classpath.list: a file containing the classpath, one entry per line.
- baseDir/sources.list: a file containing the Java source files to be compiled, one entry per line.
The class will use baseDir/classes as compile output directory and baseDir/gensrc as the output directory for generated sources.
The basePath must be given as first argument on the command line, slashes will be replaced by the platform-specific file separator.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEVEL_MODE
public static final boolean DEVEL_MODE- See Also:
-
-
Constructor Details
-
Debug
public Debug()
-
-
Method Details
-
main
- Throws:
Exception
-