|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.speedo.generation.lib.AbstractGeneratorComponent
org.objectweb.speedo.generation.compiler.Compiler
Compiles all generated .java
files.
This class is based on Ant that is a Java-based build tool (see http://jakarta.apache.org/ant for more information).
Field Summary | |
---|---|
protected Javac |
compiler
Ant Task intended to java compilation |
static java.lang.String |
LOGGER_NAME
|
static char |
separator
System separator character (e.g '/' under Unix systems) |
Fields inherited from class org.objectweb.speedo.generation.lib.AbstractGeneratorComponent |
---|
debug, logger, scp |
Constructor Summary | |
---|---|
Compiler()
|
Method Summary | |
---|---|
boolean |
init()
Initializes this Compiler. |
void |
process()
Tries to process the compilation internally. |
Methods inherited from class org.objectweb.speedo.generation.lib.AbstractGeneratorComponent |
---|
getLogger, getSpeedoCompilerParameter, setLogger, setSpeedoCompilerParameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String LOGGER_NAME
public static final char separator
protected Javac compiler
Constructor Detail |
public Compiler()
Method Detail |
public boolean init()
init
in interface GeneratorComponent
init
in class AbstractGeneratorComponent
public void process() throws SpeedoException
process
in interface GeneratorComponent
process
in class AbstractGeneratorComponent
SpeedoException
- if compilation fails
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |