Maybe I only missed the right keywords / concept how to describe my problem.
Scope:
- I'm used to build my project with JDK6 and JDK7 within Eclipse Indigo
- For a specific library I have to use two source code versions (each specific for JDK6 or JDK7)
- But only one exclusively at a time, because they will throw errors for wrong JDK!
Problem:
- How to exclusively switch (or activate) a special package / file folder dependent on selected JDK/JRE within Eclipse?
- There a no kind of C++ macros, which I'm aware of to control source code inclusion during compile time :)
Is there an option available in Eclipse without bypassing to ANT or other scripted build environments?