I thought that having multiple version of a sourcefile for a given class
in the same project was something to avoid ... but now I have to :
I have a project with a few sourceroots
one is a true sourceroot, another can contain sources that have been
preprocessed (basically inserting tracing etc)
what I would like to achieve is:
if there is a source file com/foo/MyClass.java in the _preproc root,
that is the one that should be picked up by the compiler
if it is missing instead, then the compiler should pick up the same-name
java file from the normal source root.
can I achieve this within IDEA now ?
I expect to manually (well, via ANT) delete/keep up to date
the _preproc source