11 Replies Latest reply on Feb 19, 2010 8:44 PM by jake_flex

    Conditional building with Ant (Removing debugger instrumentation code from release build)

    jake_flex Level 2

      I started to try out the De MonsterDebugger. About the first thing that came to my mind was the instrumentation code and having it in release build of the app.

       

      Does anyone have a good tip on how to make a conditional build with Ant to remove this code?

       

      Unit tests are easy to remove by filename exclusion, since the tests do not modify the unit under test, but for debugger I need to at least import the debugger class and instantiate it inside the code.

       

      Thanks.