You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Carsten Ziegeler <c....@web.de> on 2003/04/15 12:51:27 UTC
Bugfix for cocoon-reload
Hi,
thanks to the report from Geoff, I was able to fix the cocoon-reload problem
we currently have in 2.1-dev tonight ;).
As I currenlty don't have access to CVS, can someone else please change
the constructors of the CocoonComponentManager as shown below
(the setting of the rootManager has changed):
public CocoonComponentManager(final ClassLoader loader) {
super( null, loader );
rootManager = this;
}
public CocoonComponentManager(final ComponentManager manager, final ClassLoader loader) {
super( manager, loader );
if (rootManager != manager) rootManager = this;
}
public CocoonComponentManager(final ComponentManager manager,) {
super( manager);
if (rootManager != manager) rootManager = this;
}
(PS: I handtyped the code above, so it can't guarantee that there is no syntax
error, but I guess the idea is visible).
With the changes above, cocoon-reload works again (at least on my machine :) )
Thanks
Carsten
Carsten Ziegeler
c.ziegeler@web.de
______________________________________________________________________________
UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101
RE: Bugfix for cocoon-reload
Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Thanks, Giacomo for applying!
Carsten
> -----Original Message-----
> From: giacomo@lapgp.otego.com [mailto:giacomo@lapgp.otego.com]On Behalf
> Of Giacomo Pati
> Sent: Tuesday, April 15, 2003 3:17 PM
> To: cocoon-dev@xml.apache.org
> Subject: Re: Bugfix for cocoon-reload
>
>
>
> Patch applied.
>
> Thanks, Carsten.
>
> Giacomo
>
Re: Bugfix for cocoon-reload
Posted by Giacomo Pati <gi...@apache.org>.
Patch applied.
Thanks, Carsten.
Giacomo
On Tue, 15 Apr 2003, Carsten Ziegeler wrote:
> Hi,
>
> thanks to the report from Geoff, I was able to fix the cocoon-reload problem
> we currently have in 2.1-dev tonight ;).
> As I currenlty don't have access to CVS, can someone else please change
> the constructors of the CocoonComponentManager as shown below
> (the setting of the rootManager has changed):
>
> public CocoonComponentManager(final ClassLoader loader) {
> super( null, loader );
> rootManager = this;
> }
>
> public CocoonComponentManager(final ComponentManager manager, final ClassLoader loader) {
> super( manager, loader );
> if (rootManager != manager) rootManager = this;
> }
>
> public CocoonComponentManager(final ComponentManager manager,) {
> super( manager);
> if (rootManager != manager) rootManager = this;
> }
>
> (PS: I handtyped the code above, so it can't guarantee that there is no syntax
> error, but I guess the idea is visible).
>
> With the changes above, cocoon-reload works again (at least on my machine :) )
>
> Thanks
> Carsten
>
>
> Carsten Ziegeler
> c.ziegeler@web.de
> ______________________________________________________________________________
> UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an
> UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101
>
>
>
>
RE: Bugfix for cocoon-reload
Posted by Carsten Ziegeler <cz...@s-und-n.de>.
> From: Geoff Howard [mailto:cocoon@leverageweb.com]
> > (PS: I handtyped the code above, so it can't guarantee that there
> > is no syntax
> > error, but I guess the idea is visible).
>
> What do you usually type with? ;)
>
I usually use Eclipse, but I didn't have internet access for my pc;
I only had internet access on a different PC without any connection
between them :), so I had to retype everything...
Carsten
RE: Bugfix for cocoon-reload
Posted by Geoff Howard <co...@leverageweb.com>.
Excellent - thanks!
> -----Original Message-----
> From: Carsten Ziegeler [mailto:c.ziegeler@web.de]
>
> thanks to the report from Geoff, I was able to fix the
> cocoon-reload problem
> we currently have in 2.1-dev tonight ;).
<snip/>
> (PS: I handtyped the code above, so it can't guarantee that there
> is no syntax
> error, but I guess the idea is visible).
What do you usually type with? ;)
Geoff