Re: Netbeans / preprocessor / headache



Hi there,

I am not sure what is it that you are trying to achieve. Do you want to
compile selected files alone? or do you want to modify your files based
on some command switches?

Java as such does not have a concept of a pre-processor and all, but
there are tools which can help you do so, but if you use those tools,
then unless they provide an integration with Netbeans, you may still be
at a loss, as some of the directives would not be understood by Java.

There is another option, but i am afraid that it is rather complicated.
You could define your own annotations and annotation processing tool,
and use it for a pre-compilation to get the desired effect.

I may not be the ultimate authority in this subject, but then this is
what comes to my mind immediately.

thanks,
Rogue

.