Java preprocessor ( I think the most powerful) ;) (original) (raw)

I'd like to share info about my Java Preprocessor utility.. May be it is the first Java preprocessor because I had developed it in 2002 but anyway I think it is only preprocessor what can make cycles inside its macroses and able to work with XML files.. :) It saves own macroses in Java comments so you can compile your code and debug it without preprocessing.. The utility is such powerful that it can generate static web sites from XML sources (as an example http://www.coldcore.ru ) .. So it has API to define new preprocessing functions...

Example of use you can see below:

//#include ".//test//_MainProcedure.java"

public static final void testproc() { System.out.println(/*$VARHELLO$*/); System.out.println("// Hello commentaries");

//#local counter=10 //#while counter!=0

System.out.println("Number /*$counter$*/");

//#local counter=counter-1 //#end }

It is possible to download it from my homepage http://www.igormaznitsa.com
It is very optimal utility for J2ME development and I have WTK-like utility with embedded preprocessor for building JAD-JAR files

I'm following this tutorial on the netbeans website for a simpleEE7App. I followed the instructions precisely but got an exception need help. :/…

anyone here?

It seems that you can override a concrete method and make it abstract. I actually came across some code that did this, so I had to check how it…