Just wondering,

Was looking at the debugging support options, which is very cool.

In pax-exam, is there a built-in way to enable/disable debugging based on a maven option?

For example, what about having an "isDebugEnabled" option that defaults to false. Then, in a profile or as a command-line option, the user can run:

mvn clean install -DisDebugEnabled=true

Which would cause the debugging options to be applied (and hence to start the debugger). Otherwise, debugging options would not apply.


The reason is that I do as the tutorial suggests, which is to set timeout to 0, which I think is a good idea. If I didn't intend to actually do debugging, then this blocks the build process and can cause confusion.


wdyt?
=dml


_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to