We found three Java Preprocessor .
Prebop Preprocessor http://prebop.sourceforge.net/
manifold-preprocessorhttps://github.com/manifold-systems/man ... eprocessor
We like manifold most . So we integrations it into JCIDE.
The Java Preprocessor is designed exclusively for conditional compilation of Java source code. It is directly integrated into the Java compiler via the Javac Plugin API. Unlike conventional preprocessors it does not incur separate build steps or additional file I/O, instead it directly contributes to the compilation pipeline.
Manifold preprocessor is supported in JCIDE.
There are two way a symbol can be define.
- Locally in the source file via #define
- Define in java project property view.