[opencms-dev] debugging with eclipse
Jonathan Woods
jonathan.woods at scintillance.com
Thu Feb 23 14:00:03 CET 2006
We use Eclipse to debug an instance of OpenCms running in a separate
installation of Tomcat, because that means we're not dependent on the plugin
version. The 'separate installation' can also be remote, because we attach
to it using Java remote debugging. As Jozef says, you don't need the source
files in your main project filesystem, just as attached source. Eclipse
helpfully prompts you to locate this the first time you try to debug into a
class whose source it doesn't yet know about.
Jon
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jozef Chocholácek
Sent: 23 February 2006 08:06
To: The OpenCms mailing list
Subject: Re: [opencms-dev] debugging with eclipse
ant200382 napsal(a):
> have anyone tried to code and debug Opencms in Eclipse 3.1 opening a
> new project from source?
Yes, it is common practice in our company. Eclipse + Sysdeo Tomcat
plugin, install OpenCms into used tomcat, map your source code, remove
corresponding JARs from WEB-INF/lib, and you can debug.
In case you only need to develop your own code (e.g. new module), you do
not need to map source code directly into project and remove JARs, only set
"Java Source Attachment" in selected JAR's properties.
J.Ch.
--
Ing. Jozef Chocholacek Qbizm technologies, a.s.
hlavni analytik ... the art of software.
____________________________________________________________________
www.qbizm-technologies.cz www.qbizm.cz www.qbizm-services.cz
_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list