Hi,
I would like to know if anybody knows how to support 'Conditional Compilation' using
jvc/J++.
Command line argument is of form: '/D <directive>' (example: '/D DEBUG').
One way of solving the problem is to modify:
org.apache.tools.ant.taskdefs.compilers.Jvc
and add:
cmd.createArgument().setValue("/D");
cmd.createArgument().setValue("someConditionalCompileArgument");
This means 'modifying ant source code and maintaining an ant release' and I would
ideally like to avoid that.
Is there a more standard way of achieving the same?
I am using ant-release: 1.4.1
Thanks for any advice,
-Olav
---------------------------------
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!