Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jubula-dev] Best practice: How do you debug RC code?

Hi,

thanks for the tip (which really is a hack ;)). I hoped for a "trick" I didn't see.

Best regards,
Andreas

Am 14.12.2011 17:35, schrieb Zeb Ford-Reitz:
One possibility (as much of a hack as it is) is to manually copy the compiled class files (for example, from the org.eclipse.jubula.rc.common project) into the org.eclipse.jubula.rc.rcp_<version>.jar file. Of course, you'll need to run the whole maven script in order to perform "final" tests and debugging, but you can at least save some time during the cycle.

 - Zeb

On 14.12.2011 14:37, Andreas Scharf wrote:
Hi,

I'm working with the Jubulas source code for some time now. While debugging the client code (of course) is easy as usual, the "code-try-debug" cycle is very hard if I extend the RC code (i.e. code that runs in the AUT). The reason is, that in case I have a change in let's say org.eclipse.jubula.rc.common, I have to execute the whole maven build script to finally get my org.eclipse.jubula.rc.rcp plugin which I can run in my AUT.

I already tried (for debugging purposes only) to not export the required plugins of org.eclipse.jubula.rc.rcp as jar files but to simply load them as plugins in the AUT which is not working because of class loader problems.

So the question is: How does your "code-try-debug" cycle look like? Do you also have to execute the whole maven script all the time?

Best regards,
Andreas





_______________________________________________
jubula-dev mailing list
jubula-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jubula-dev

Back to the top