You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Jean-Christophe Kermagoret <jc...@babelobjects.com> on 2004/04/01 00:07:33 UTC

IDE for cocoon with hot code replace

Hi,
I have cocoon in Eclipse 3.0M7 with Tomcat 5.0.19.

I deleted the cocoon-portal.jar and I put the sources instead. When I 
put a breakpoint, the IDE becomes crazy and shows anything but the real one.
If I modify the code, the system asks me to relaunch tomcat...

Is it possible to develop cocoon with hot code replacement and debugging ?

How do you do ?

Thanks

-- 

Jean-Christophe Kermagoret
jck@BabelObjects.Com




Re: IDE for cocoon with hot code replace

Posted by Jean-Christophe Kermagoret <jc...@babelobjects.com>.
Hi Geoff,

Geoff Howard wrote:

> Jean-Christophe Kermagoret wrote:
>
>> Hi,
>> I have cocoon in Eclipse 3.0M7 with Tomcat 5.0.19.
>
>
> I've successfully used a different Eclipse (2.1, and M5 I think) and 
> Jetty instead but that should be irrelevant.
>
>> I deleted the cocoon-portal.jar and I put the sources instead. When I 
>> put a breakpoint, the IDE becomes crazy and shows anything but the 
>> real one.
>> If I modify the code, the system asks me to relaunch tomcat...
>
>
> Sounds like the source is not the same version used to built the jar?
>
The problem is I have no source for the block I work on anymore. So I 
don't understand why Eclipse is not synchronized between the source I 
have in my source path and the class Eclipse just compiled.

>> Is it possible to develop cocoon with hot code replacement and 
>> debugging ?
>
>
> Does the wiki on cocoon-eclipse integration have more information on 
> this topic?  http://wiki.cocoondev.org
>
The Wiki only talks about Jetty that doesn't support hot code 
replacement (I think).

> Geoff
>

Jean-christophe



Re: IDE for cocoon with hot code replace

Posted by Geoff Howard <co...@leverageweb.com>.
Jean-Christophe Kermagoret wrote:

> Hi,
> I have cocoon in Eclipse 3.0M7 with Tomcat 5.0.19.

I've successfully used a different Eclipse (2.1, and M5 I think) and Jetty 
instead but that should be irrelevant.

> I deleted the cocoon-portal.jar and I put the sources instead. When I 
> put a breakpoint, the IDE becomes crazy and shows anything but the real 
> one.
> If I modify the code, the system asks me to relaunch tomcat...

Sounds like the source is not the same version used to built the jar?

> Is it possible to develop cocoon with hot code replacement and debugging ?

Does the wiki on cocoon-eclipse integration have more information on this topic? 
  http://wiki.cocoondev.org

Geoff

Re: IDE for cocoon with hot code replace

Posted by go...@osmosis.gr.
i do the same using netbeans
just mounding webapp folder

break points works fine in the same way: puting sources files in 
web-inf/classes


--stavros

On Thu, 1 Apr 2004, Jean-Christophe Kermagoret wrote:

> Hi,
> I have cocoon in Eclipse 3.0M7 with Tomcat 5.0.19.
> 
> I deleted the cocoon-portal.jar and I put the sources instead. When I 
> put a breakpoint, the IDE becomes crazy and shows anything but the real one.
> If I modify the code, the system asks me to relaunch tomcat...
> 
> Is it possible to develop cocoon with hot code replacement and debugging ?
> 
> How do you do ?
> 
> Thanks
> 
>