Issue
In .net there is a code command available to conditionally compile the code. .Net Directive Example.
Is there an equivalent in java or netbeans to achieve this same approach?
Solution
I don't think there is one included by default in the compiler, but maybe the preprocessor capabilities of Manifold could help in your case. It supports the usual #define
, #undef
, #if
et al. available in C and its cousins.
Answered By - JustAnotherDeveloper