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 <cz...@s-und-n.de> on 2001/11/05 11:05:02 UTC

[Vote]: Release Candidate 2

Hi Team,

we have the following outstanding task:

Removing the CodeFactories completly from 2.0 and backport
the new handling from the 2.1 head.

I think we have some +1 for this, so should we really
remove them now? I am asking this only for clarification
as this would mean an incompatibility with the rc1.

Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [Vote]: Release Candidate 2

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Thanks Sylvain!

I just synced (hopefully) the 2.0 branch with these changes.
So the CodeFactories are removed!

Now, in order to make the final release, could someone else
test the 2.0 branch if everything is still working as expected.
If I get four +1 (and no -1) reporting this, I will make
the release candidate 2.

Carsten


> -----Original Message-----
> From: Sylvain Wallez [mailto:sylvain.wallez@anyware-tech.com]
> Sent: Monday, November 05, 2001 2:34 PM
> To: cocoon-dev@xml.apache.org
> Subject: Re: [Vote]: Release Candidate 2
>
>
>
>
> Carsten Ziegeler a écrit :
> >
> > Sylvain Wallez wrote:
> > >
> > > Carsten Ziegeler a écrit :
> > > >
> > > > Hi Team,
> > > >
> > > > we have the following outstanding task:
> > > >
> > > > Removing the CodeFactories completly from 2.0 and backport
> > > > the new handling from the 2.1 head.
> > > >
> > > > I think we have some +1 for this, so should we really
> > > > remove them now? I am asking this only for clarification
> > > > as this would mean an incompatibility with the rc1.
> > > >
> > > > Carsten
> > > >
> > >
> > > Hi Carsten,
> > >
> > > Compatibility problems are of two kinds, depending on what
> kind of code
> > > factories are used by existing sitemaps.
> > >
> > > - Cocoon's builtin code factories :
> > > Compatibility can be ensured by rewriting them as classes that simply
> > > extend their non-factory implementation (and of course mark them
> > > deprecated). Since class names are kept as is, no change is
> required in
> > > sitemaps.
> > >
> > > - user-defined code factories :
> > > There is no solution here, but I guess this concerns only a
> few advanced
> > > users (code factories aren't easy to write) for which converting to
> > > normal classes shoudn't be that hard.
> > >
> > > So I would say +1 for removing CodeFactories now since
> support for them
> > > will be dropped in the future and only advanced users will be
> impacted.
> > > This is the price for living "on the bleeding edge" :)
> > >
> > +1.
> >
> > Could you please take care of this, Sylvain?
> > I could then test everything tomorrow and build the rc then.
> >
> > Carsten
>
> Done !
>
> Two factories have no regular-class equivalent : BrowserMatcherFactory,
> which did nothing (was it a prototype for something that was never
> finished ?) and CodedSelector, which allowed to use raw Java code for
> selecting.
>
> Also, I left all factory-related stuff in sitemap.xsl, but disabled it's
> use in XSLTFactoryLoader : isFactory() always returns false.
>
> Sylvain.
>
> --
> Sylvain Wallez
> Anyware Technologies - http://www.anyware-tech.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [Vote]: Release Candidate 2

Posted by Sylvain Wallez <sy...@anyware-tech.com>.

Carsten Ziegeler a écrit :
> 
> Sylvain Wallez wrote:
> >
> > Carsten Ziegeler a écrit :
> > >
> > > Hi Team,
> > >
> > > we have the following outstanding task:
> > >
> > > Removing the CodeFactories completly from 2.0 and backport
> > > the new handling from the 2.1 head.
> > >
> > > I think we have some +1 for this, so should we really
> > > remove them now? I am asking this only for clarification
> > > as this would mean an incompatibility with the rc1.
> > >
> > > Carsten
> > >
> >
> > Hi Carsten,
> >
> > Compatibility problems are of two kinds, depending on what kind of code
> > factories are used by existing sitemaps.
> >
> > - Cocoon's builtin code factories :
> > Compatibility can be ensured by rewriting them as classes that simply
> > extend their non-factory implementation (and of course mark them
> > deprecated). Since class names are kept as is, no change is required in
> > sitemaps.
> >
> > - user-defined code factories :
> > There is no solution here, but I guess this concerns only a few advanced
> > users (code factories aren't easy to write) for which converting to
> > normal classes shoudn't be that hard.
> >
> > So I would say +1 for removing CodeFactories now since support for them
> > will be dropped in the future and only advanced users will be impacted.
> > This is the price for living "on the bleeding edge" :)
> >
> +1.
> 
> Could you please take care of this, Sylvain?
> I could then test everything tomorrow and build the rc then.
> 
> Carsten

Done !

Two factories have no regular-class equivalent : BrowserMatcherFactory,
which did nothing (was it a prototype for something that was never
finished ?) and CodedSelector, which allowed to use raw Java code for
selecting.

Also, I left all factory-related stuff in sitemap.xsl, but disabled it's
use in XSLTFactoryLoader : isFactory() always returns false.

Sylvain.

-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [Vote]: Release Candidate 2

Posted by Torsten Curdt <tc...@dff.st>.
Shouldn't come RC2 with the root sitemap context bug fix applied?
Or should we test this more thoroughly?
--
Torsten

> -----Original Message-----
> From: Carsten Ziegeler [mailto:cziegeler@s-und-n.de]
> Sent: Monday, November 05, 2001 12:34 PM
> To: cocoon-dev@xml.apache.org
> Subject: RE: [Vote]: Release Candidate 2
>
>
>
> Sylvain Wallez wrote:
> >
> > Carsten Ziegeler a écrit :
> > >
> > > Hi Team,
> > >
> > > we have the following outstanding task:
> > >
> > > Removing the CodeFactories completly from 2.0 and backport
> > > the new handling from the 2.1 head.
> > >
> > > I think we have some +1 for this, so should we really
> > > remove them now? I am asking this only for clarification
> > > as this would mean an incompatibility with the rc1.
> > >
> > > Carsten
> > >
> >
> > Hi Carsten,
> >
> > Compatibility problems are of two kinds, depending on what kind of code
> > factories are used by existing sitemaps.
> >
> > - Cocoon's builtin code factories :
> > Compatibility can be ensured by rewriting them as classes that simply
> > extend their non-factory implementation (and of course mark them
> > deprecated). Since class names are kept as is, no change is required in
> > sitemaps.
> >
> > - user-defined code factories :
> > There is no solution here, but I guess this concerns only a few advanced
> > users (code factories aren't easy to write) for which converting to
> > normal classes shoudn't be that hard.
> >
> > So I would say +1 for removing CodeFactories now since support for them
> > will be dropped in the future and only advanced users will be impacted.
> > This is the price for living "on the bleeding edge" :)
> >
> +1.
>
> Could you please take care of this, Sylvain?
> I could then test everything tomorrow and build the rc then.
>
> Carsten
>
> > Sylvain
> >
> > --
> > Sylvain Wallez
> > Anyware Technologies - http://www.anyware-tech.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [Vote]: Release Candidate 2

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Sylvain Wallez wrote:
>
> Carsten Ziegeler a écrit :
> >
> > Hi Team,
> >
> > we have the following outstanding task:
> >
> > Removing the CodeFactories completly from 2.0 and backport
> > the new handling from the 2.1 head.
> >
> > I think we have some +1 for this, so should we really
> > remove them now? I am asking this only for clarification
> > as this would mean an incompatibility with the rc1.
> >
> > Carsten
> >
>
> Hi Carsten,
>
> Compatibility problems are of two kinds, depending on what kind of code
> factories are used by existing sitemaps.
>
> - Cocoon's builtin code factories :
> Compatibility can be ensured by rewriting them as classes that simply
> extend their non-factory implementation (and of course mark them
> deprecated). Since class names are kept as is, no change is required in
> sitemaps.
>
> - user-defined code factories :
> There is no solution here, but I guess this concerns only a few advanced
> users (code factories aren't easy to write) for which converting to
> normal classes shoudn't be that hard.
>
> So I would say +1 for removing CodeFactories now since support for them
> will be dropped in the future and only advanced users will be impacted.
> This is the price for living "on the bleeding edge" :)
>
+1.

Could you please take care of this, Sylvain?
I could then test everything tomorrow and build the rc then.

Carsten

> Sylvain
>
> --
> Sylvain Wallez
> Anyware Technologies - http://www.anyware-tech.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [Vote]: Release Candidate 2

Posted by Sylvain Wallez <sy...@anyware-tech.com>.
Carsten Ziegeler a écrit :
> 
> Hi Team,
> 
> we have the following outstanding task:
> 
> Removing the CodeFactories completly from 2.0 and backport
> the new handling from the 2.1 head.
> 
> I think we have some +1 for this, so should we really
> remove them now? I am asking this only for clarification
> as this would mean an incompatibility with the rc1.
> 
> Carsten
> 

Hi Carsten,

Compatibility problems are of two kinds, depending on what kind of code
factories are used by existing sitemaps.

- Cocoon's builtin code factories :
Compatibility can be ensured by rewriting them as classes that simply
extend their non-factory implementation (and of course mark them
deprecated). Since class names are kept as is, no change is required in
sitemaps.

- user-defined code factories :
There is no solution here, but I guess this concerns only a few advanced
users (code factories aren't easy to write) for which converting to
normal classes shoudn't be that hard.

So I would say +1 for removing CodeFactories now since support for them
will be dropped in the future and only advanced users will be impacted.
This is the price for living "on the bleeding edge" :)

Sylvain

-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [Vote]: Release Candidate 2

Posted by giacomo <gi...@apache.org>.
On Mon, 5 Nov 2001, Carsten Ziegeler wrote:

> Hi Team,
>
> we have the following outstanding task:
>
> Removing the CodeFactories completly from 2.0 and backport
> the new handling from the 2.1 head.
>
> I think we have some +1 for this, so should we really
> remove them now? I am asking this only for clarification
> as this would mean an incompatibility with the rc1.

I havn't heard anybody has written custom CodeFactories so far and thus
my +1 on removing all CodeFactories. I've see Sylvain already built some
"compatability" classes for the Factories we have in the repository.

Giacomo


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org