I want to exclude a specific class method from java compilation.
For instance,
class Test { public void printdouble(){} public void printint(){} }
Depending on some properties, I want to exclude the printdouble method at compile time.
NOTE. I am using ant script to compile java
Thanks in Advance Soman
Soman source share