Hi Eric, Thanks for the response. In the 3.0-SNAPSHOT plugin I do see the cactus:compile target taking the debug value from maven.compile.debug. After removing the 2.0 plugin and doing a clean build, however, I still see the problem.

Just to be clear, the cactus plugin itself has debugging symbols, its my test cases that don't. I do have maven.compile.debug set to on . If you have any other ideas I'd love to hear them because the without line numbers the stack traces are useful, but I still have add a lot of "diagnostic printfs" to see exactly where an exception is being thrown. Ex:

[junit] Testcase: testRecipientNotFoundTest took 1.233 sec
[junit] Caused an ERROR
[junit] null
[junit] java.lang.NullPointerException
[junit] at net.cp.obolus.plugin.impl.inbound.eaif.cactus.EaifInboundHandlerTest.testRecipientNotFoundTest(Unknown Source)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at org.apache.cactus.AbstractWebServerTestCase.runServerTest(AbstractWebServerTestCase.java:179)
[junit] at org.apache.cactus.AbstractWebServerTestCase.runBareServerTest(AbstractWebServerTestCase.java:137)
[junit] at org.apache.cactus.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:157)
[junit] at org.apache.cactus.server.AbstractWebTestController.dispatch75_handleRequest(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj[1k]:130)
[junit] at org.apache.cactus.server.AbstractWebTestController.around75_handleRequest(AbstractWebTestController.java;org/apache/cactus/util/log/LogAspect.aj[1k]:1158)


THanks

Josh


On Sunday, July 20, 2003, at 05:48 AM, [EMAIL PROTECTED] wrote:

�Josh,

I belive by default maven compiles with debuggin on..� However, I think what you want is in the actual java plugin...?� I know you can turn it off/on there..

Wouldn't Cactus always compile with the code on?� Take a looksee in $maven_home/plugins/*cactus*/plugin.jelly at the cactus:compile target!

Eric

-----Original Message-----
From: Joshua Blatt
To: [EMAIL PROTECTED]
Sent: 7/18/03 3:22 PM
Subject: compiling with -g for maven cactus plugin


Does anyone know how to compile test cases with debugging symbols with
the maven cactus plugin?� I searched the docs and the archive for this
list and couldn't find anything.� Is there an equivalent of
maven.compile.debug=on for the cactus plugin?


Thanks,

Josh


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to