From: Omry Y. <om...@ya...> - 2006-12-14 10:26:11
|
Hi Jörg, The changes I made to WtkPreprocesor seem to have broken the include logic. I now get an error like : BUILD FAILED C:\dev\workspace\ant_debug\preprocessor\build.xml:31: Preprocessing failed: Missing #endinclude in line '5 in C:\dev\workspace\ant_debug\preprocessor\src\Main.java in line 7 : //#include ${MYFILE} in line '5 in C:\dev\workspace\ant_debug\preprocessor\src\Main.java for the class: public class Main { //#include ${MYFILE} //#endinclude } I am trying to figure it, but I am a little puzzled: why do you even need the endinclude? I seen that in the code where you look for the endinclude you actually delete the lines you encounterr. is that so that you can use the include to replace existing code? Help on this would be appreciated. |