[opencms-dev] debugging with eclipse

ant200382 ant200382 at yahoo.it
Thu Feb 23 15:57:32 CET 2006


thank you!

Jonathan Woods ha scritto:

>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.
>  
>




More information about the opencms-dev mailing list