Package ch.raffael.meldioc.processor
Class Debug
- java.lang.Object
-
- ch.raffael.meldioc.processor.Debug
-
public class Debug extends java.lang.ObjectProvides 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 Modifier and Type Field Description static booleanDEVEL_MODE
-
Constructor Summary
Constructors Constructor Description Debug()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)
-
-
-
Field Detail
-
DEVEL_MODE
public static final boolean DEVEL_MODE
- See Also:
- Constant Field Values
-
-