You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Thorsten Scherler <th...@apache.org> on 2004/12/06 10:44:55 UTC
Forrest-core (Re: mini-forrest (was Re: Recommended DTD version?))
El dom, 05-12-2004 a las 16:07, Ross Gardler escribió:
> Sylvain Wallez wrote:
> > David Crossley wrote:
> >> We could upgrade the cocoon xdocs to use these new DTDs because during
> >> Cocoon's 'build docs' it calls Forrest to do the work.
> >>
> >> However, when running Cocoon as as a webapp and using the live
> >> documentation localhost:8888/docs/ you would notice that it uses old
> >> stylesheets that are dependent on the old DTDs. Stuck ...
> >
> > Ah damn, I missed that point :-(
> >
> > Mmmh... can't Cocoon embed a "mini-Forrest" for this local publishing
> > (with the appropriate warnings that it's not the full Forrest) just like
> > it embeds a "mini-Jetty"?
>
> As more and more functionality gets moved into plugins proper this will
> become a possability. If someone were to create such a "mini-forrest" we
> could use this as a starting point for the fully plugin-ised Forrest.
> Basically we could have a branch for this mimi-forrest and as we move
> plugins out of core into plugins in that branch.
+ 1
> We would start with the essential internals of Forrest in mini-forrest,
> then gradually build it back up again until mini-forrest + plugins can
> do everything trunk forrest can do.
That leads us back to the question I asked before in another thread:
What should has to go into the core?
In the light of cocoon writing a new core, maybe we should think about
integrating cocoon smoother into forrest. Over in lenya there is a
recent thread about cocoon versions. That made me think about how can we
keep everything as small as possible. I mean something like including
cocoon via svn:external.
> I'd be +1 with assisting with this work, although my baby is due any day
> so expect me to slow down soon.
All the best to your wife, the baby and yourself from the forrest
community!!!
> Ross
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
Re: Forrest-core (Re: mini-forrest)
Posted by Thorsten Scherler <th...@apache.org>.
El lun, 06-12-2004 a las 21:30, Ross Gardler escribió:
> Dave Brondsema wrote:
> > Quoting Ross Gardler <rg...@apache.org>:
> >
> >
> >>Thorsten Scherler wrote:
> >>
> >>>El dom, 05-12-2004 a las 16:07, Ross Gardler escribió:
> >>>
> >>>
> >>>>Sylvain Wallez wrote:
> >>>>
> >>>>
> >>>>>David Crossley wrote:
> >>>>>
> >>>>>
> >>>>>>We could upgrade the cocoon xdocs to use these new DTDs because during
> >>>>>>Cocoon's 'build docs' it calls Forrest to do the work.
> >>>>>>
> >>>>>>However, when running Cocoon as as a webapp and using the live
> >>>>>>documentation localhost:8888/docs/ you would notice that it uses old
> >>>>>>stylesheets that are dependent on the old DTDs. Stuck ...
> >>>>>
> >>>>>Ah damn, I missed that point :-(
> >>>>>
> >>>>>Mmmh... can't Cocoon embed a "mini-Forrest" for this local publishing
> >>>>>(with the appropriate warnings that it's not the full Forrest) just like
> >>>>>it embeds a "mini-Jetty"?
> >>>>
> >>>>As more and more functionality gets moved into plugins proper this will
> >>>>become a possability. If someone were to create such a "mini-forrest" we
> >>>>could use this as a starting point for the fully plugin-ised Forrest.
> >>>>Basically we could have a branch for this mimi-forrest and as we move
> >>>>plugins out of core into plugins in that branch.
> >>>
> >>>
> >>>+ 1
> >>>
> >
> >
> > -1
> >
> > I think the end result of a really small core and plugins for the capabilities
> > is good, but this should be an iterative, gradual approach. Lets continue to
> > pull out input and output formats into plugins one at a time.
> >
> > Even if someone has the desire and time to fork a "mini-forrest" (which I doubt
> > they do), a non-gradual change will hurt the ability of other developers to
> > follow along and help.
>
> I have no problem with that argument.
Me neither because it will come to the same result a mini-core. ;-)
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
Re: Forrest-core (Re: mini-forrest)
Posted by Ross Gardler <rg...@apache.org>.
Dave Brondsema wrote:
> Quoting Ross Gardler <rg...@apache.org>:
>
>
>>Thorsten Scherler wrote:
>>
>>>El dom, 05-12-2004 a las 16:07, Ross Gardler escribió:
>>>
>>>
>>>>Sylvain Wallez wrote:
>>>>
>>>>
>>>>>David Crossley wrote:
>>>>>
>>>>>
>>>>>>We could upgrade the cocoon xdocs to use these new DTDs because during
>>>>>>Cocoon's 'build docs' it calls Forrest to do the work.
>>>>>>
>>>>>>However, when running Cocoon as as a webapp and using the live
>>>>>>documentation localhost:8888/docs/ you would notice that it uses old
>>>>>>stylesheets that are dependent on the old DTDs. Stuck ...
>>>>>
>>>>>Ah damn, I missed that point :-(
>>>>>
>>>>>Mmmh... can't Cocoon embed a "mini-Forrest" for this local publishing
>>>>>(with the appropriate warnings that it's not the full Forrest) just like
>>>>>it embeds a "mini-Jetty"?
>>>>
>>>>As more and more functionality gets moved into plugins proper this will
>>>>become a possability. If someone were to create such a "mini-forrest" we
>>>>could use this as a starting point for the fully plugin-ised Forrest.
>>>>Basically we could have a branch for this mimi-forrest and as we move
>>>>plugins out of core into plugins in that branch.
>>>
>>>
>>>+ 1
>>>
>
>
> -1
>
> I think the end result of a really small core and plugins for the capabilities
> is good, but this should be an iterative, gradual approach. Lets continue to
> pull out input and output formats into plugins one at a time.
>
> Even if someone has the desire and time to fork a "mini-forrest" (which I doubt
> they do), a non-gradual change will hurt the ability of other developers to
> follow along and help.
I have no problem with that argument.
Ross
Re: Forrest-core (Re: mini-forrest)
Posted by Dave Brondsema <da...@brondsema.net>.
Quoting Ross Gardler <rg...@apache.org>:
> Thorsten Scherler wrote:
> > El dom, 05-12-2004 a las 16:07, Ross Gardler escribió:
> >
> >>Sylvain Wallez wrote:
> >>
> >>>David Crossley wrote:
> >>>
> >>>>We could upgrade the cocoon xdocs to use these new DTDs because during
> >>>>Cocoon's 'build docs' it calls Forrest to do the work.
> >>>>
> >>>>However, when running Cocoon as as a webapp and using the live
> >>>>documentation localhost:8888/docs/ you would notice that it uses old
> >>>>stylesheets that are dependent on the old DTDs. Stuck ...
> >>>
> >>>Ah damn, I missed that point :-(
> >>>
> >>>Mmmh... can't Cocoon embed a "mini-Forrest" for this local publishing
> >>>(with the appropriate warnings that it's not the full Forrest) just like
> >>>it embeds a "mini-Jetty"?
> >>
> >>As more and more functionality gets moved into plugins proper this will
> >>become a possability. If someone were to create such a "mini-forrest" we
> >>could use this as a starting point for the fully plugin-ised Forrest.
> >>Basically we could have a branch for this mimi-forrest and as we move
> >>plugins out of core into plugins in that branch.
> >
> >
> > + 1
> >
-1
I think the end result of a really small core and plugins for the capabilities
is good, but this should be an iterative, gradual approach. Lets continue to
pull out input and output formats into plugins one at a time.
Even if someone has the desire and time to fork a "mini-forrest" (which I doubt
they do), a non-gradual change will hurt the ability of other developers to
follow along and help.
> >
> >>We would start with the essential internals of Forrest in mini-forrest,
> >>then gradually build it back up again until mini-forrest + plugins can
> >>do everything trunk forrest can do.
> >
> >
> > That leads us back to the question I asked before in another thread:
> >
> > What should has to go into the core?
>
> I would propose that all we have in core is the plugin infrastructure
> and the central part of our processing pipeline:
>
> [input plugins] --> [internal format(s)] --> [output plugins]
>
> The internal format(s) would be XHTML (may as well do this in the new
> branch too), site.xml, tabs.xml (time to unify them as well?).
>
> This would mean we need Cocoon and Ant in core of course.
>
> The core should be capable of creating an unskinned XHTML site and
> nothing more.
>
Sounds like a good goal. Instead of thinking about what should go into the
core though, why don't we take what we have and see how much we can pull out of
it? Then when we get to the point where it isn't practical to move something
from core to plugin, we're done. Let's evolve (fast is fine), not rewrite.
--
Dave Brondsema : dave@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
http://csx.calvin.edu : student org
Re: Forrest-core (Re: mini-forrest (was Re: Recommended DTD version?))
Posted by Ross Gardler <rg...@apache.org>.
Thorsten Scherler wrote:
> El dom, 05-12-2004 a las 16:07, Ross Gardler escribió:
>
>>Sylvain Wallez wrote:
>>
>>>David Crossley wrote:
>>>
>>>>We could upgrade the cocoon xdocs to use these new DTDs because during
>>>>Cocoon's 'build docs' it calls Forrest to do the work.
>>>>
>>>>However, when running Cocoon as as a webapp and using the live
>>>>documentation localhost:8888/docs/ you would notice that it uses old
>>>>stylesheets that are dependent on the old DTDs. Stuck ...
>>>
>>>Ah damn, I missed that point :-(
>>>
>>>Mmmh... can't Cocoon embed a "mini-Forrest" for this local publishing
>>>(with the appropriate warnings that it's not the full Forrest) just like
>>>it embeds a "mini-Jetty"?
>>
>>As more and more functionality gets moved into plugins proper this will
>>become a possability. If someone were to create such a "mini-forrest" we
>>could use this as a starting point for the fully plugin-ised Forrest.
>>Basically we could have a branch for this mimi-forrest and as we move
>>plugins out of core into plugins in that branch.
>
>
> + 1
>
>
>>We would start with the essential internals of Forrest in mini-forrest,
>>then gradually build it back up again until mini-forrest + plugins can
>>do everything trunk forrest can do.
>
>
> That leads us back to the question I asked before in another thread:
>
> What should has to go into the core?
I would propose that all we have in core is the plugin infrastructure
and the central part of our processing pipeline:
[input plugins] --> [internal format(s)] --> [output plugins]
The internal format(s) would be XHTML (may as well do this in the new
branch too), site.xml, tabs.xml (time to unify them as well?).
This would mean we need Cocoon and Ant in core of course.
The core should be capable of creating an unskinned XHTML site and
nothing more.
> In the light of cocoon writing a new core, maybe we should think about
> integrating cocoon smoother into forrest. Over in lenya there is a
> recent thread about cocoon versions. That made me think about how can we
> keep everything as small as possible. I mean something like including
> cocoon via svn:external.
I'm not sure of the implications of this. Does svn:external mean that
when checking out Forrest we also checkout relevant parts of the Cocoon
tree and when doing /build.sh/ in Forrest this builds Cocoon.
If so, what are the implications on bandwidth usage, will this use less
than the existing download the jars approach?
What advantages do we gain from this.
>>I'd be +1 with assisting with this work, although my baby is due any day
>>so expect me to slow down soon.
>
>
> All the best to your wife, the baby and yourself from the forrest
> community!!!
Thanks, as you can tell, I'm very excited!!!
Ross
use of svn:externals
Posted by David Crossley <cr...@apache.org>.
Thanks for following up like that Thorsten,
that was excellent turnaround.
This confirms my fears then. This svn:externals
technique could be a liability. We would need
to be very certain of the license situation with
the things that we are including and re-distributing.
--David
Thorsten Scherler wrote:
> David Crossley escribió:
>>Thorsten Scherler wrote:
>>>Ross Gardler escribió:
>>>>Sylvain Wallez wrote:
>>>>>Thorsten Scherler wrote:
>>>>>
>>>>><snip/>
>>>>>
>>>>>>In the light of cocoon writing a new core, maybe we should think about
>>>>>>integrating cocoon smoother into forrest. Over in lenya there is a
>>>>>>recent thread about cocoon versions. That made me think about how can we
>>>>>>keep everything as small as possible. I mean something like including
>>>>>>cocoon via svn:external.
>>>>>
>>>>>Sorry for the newbie question: what is "svn:external"?
>>>>
>>>>I've never used it so am not 100% sure of its uses but from
>>>>http://svnbook.red-bean.com/en/1.0/ch07s02.html#svn-ch-7-sect-2.3.6 I
>>>>gather "The svn:externals property contains instructions for Subversion
>>>>to populate a versioned directory with one or more other checked-out
>>>>Subversion working copies."
>>>>
>>>>In other words, do a checkout of project A and automatically get
>>>>relevant content from project B as well.
>>>>
>>>>More info at http://svnbook.red-bean.com/en/1.0/ch07s03.html
>>>>
>>>>Ross
>>>
>>>Yes, Ross is right.
>>>
>>>We (lenya) are using it to include Bitflux to the check out. That let us
>>>using the latest and greatest Bitflux code.
>>
>>What happens with the automated "snapshots" and
>>with rolling a release? Does this foreign code
>>get included in the distribution?
>
>
> I just to needed to reinsure my answer. Gregor did this:
>
> Thorsten Scherler wrote to dev.at.lenya.apache.org:
>
>>Hello devs,
>>
>>can somebody please help me answer the svn:external question from
>>David:
>>Does this foreign code get included in the distribution?
>
>
> yes. we already use this for bxe and kupu, so you can see how it works
> there.
>
>
>>I guess yes, but my question is at what point? If we doing a release
>>tomorrow the bitflux code of tomorrows bitflux svn get included as
>>well,
>>right?
>
>
> right
>
>
>>Or we can specify a certain revision, I imaging.
>
>
> you can specify any valid svn url, such as a tag or a branch.
Re: Forrest-core (Re: mini-forrest (was Re: Recommended DTD
version?))
Posted by Thorsten Scherler <th...@apache.org>.
El mié, 08-12-2004 a las 00:11, David Crossley escribió:
> Thorsten Scherler wrote:
> > Ross Gardler escribió:
> >>Sylvain Wallez wrote:
> >>>Thorsten Scherler wrote:
> >>>
> >>><snip/>
> >>>
> >>>>In the light of cocoon writing a new core, maybe we should think about
> >>>>integrating cocoon smoother into forrest. Over in lenya there is a
> >>>>recent thread about cocoon versions. That made me think about how can we
> >>>>keep everything as small as possible. I mean something like including
> >>>>cocoon via svn:external.
> >>>
> >>>Sorry for the newbie question: what is "svn:external"?
> >>
> >>I've never used it so am not 100% sure of its uses but from
> >>http://svnbook.red-bean.com/en/1.0/ch07s02.html#svn-ch-7-sect-2.3.6 I
> >>gather "The svn:externals property contains instructions for Subversion
> >>to populate a versioned directory with one or more other checked-out
> >>Subversion working copies."
> >>
> >>In other words, do a checkout of project A and automatically get
> >>relevant content from project B as well.
> >>
> >>More info at http://svnbook.red-bean.com/en/1.0/ch07s03.html
> >>
> >>Ross
> >
> > Yes, Ross is right.
> >
> > We (lenya) are using it to include Bitflux to the check out. That let us
> > using the latest and greatest Bitflux code.
>
> What happens with the automated "snapshots" and
> with rolling a release? Does this foreign code
> get included in the distribution?
I just to needed to reinsure my answer. Gregor did this:
Thorsten Scherler wrote to dev.at.lenya.apache.org:
> Hello devs,
>
> can somebody please help me answer the svn:external question from
> David:
> Does this foreign code get included in the distribution?
yes. we already use this for bxe and kupu, so you can see how it works
there.
> I guess yes, but my question is at what point? If we doing a release
> tomorrow the bitflux code of tomorrows bitflux svn get included as
> well,
> right?
right
> Or we can specify a certain revision, I imaging.
you can specify any valid svn url, such as a tag or a branch.
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
Re: Forrest-core (Re: mini-forrest (was Re: Recommended DTD version?))
Posted by David Crossley <cr...@apache.org>.
Thorsten Scherler wrote:
> Ross Gardler escribió:
>>Sylvain Wallez wrote:
>>>Thorsten Scherler wrote:
>>>
>>><snip/>
>>>
>>>>In the light of cocoon writing a new core, maybe we should think about
>>>>integrating cocoon smoother into forrest. Over in lenya there is a
>>>>recent thread about cocoon versions. That made me think about how can we
>>>>keep everything as small as possible. I mean something like including
>>>>cocoon via svn:external.
>>>
>>>Sorry for the newbie question: what is "svn:external"?
>>
>>I've never used it so am not 100% sure of its uses but from
>>http://svnbook.red-bean.com/en/1.0/ch07s02.html#svn-ch-7-sect-2.3.6 I
>>gather "The svn:externals property contains instructions for Subversion
>>to populate a versioned directory with one or more other checked-out
>>Subversion working copies."
>>
>>In other words, do a checkout of project A and automatically get
>>relevant content from project B as well.
>>
>>More info at http://svnbook.red-bean.com/en/1.0/ch07s03.html
>>
>>Ross
>
> Yes, Ross is right.
>
> We (lenya) are using it to include Bitflux to the check out. That let us
> using the latest and greatest Bitflux code.
What happens with the automated "snapshots" and
with rolling a release? Does this foreign code
get included in the distribution?
--David
Re: Forrest-core (Re: mini-forrest (was Re: Recommended DTD
version?))
Posted by Thorsten Scherler <th...@apache.org>.
El mar, 07-12-2004 a las 20:54, Ross Gardler escribió:
> Sylvain Wallez wrote:
> > Thorsten Scherler wrote:
> >
> > <snip/>
> >
> >> In the light of cocoon writing a new core, maybe we should think about
> >> integrating cocoon smoother into forrest. Over in lenya there is a
> >> recent thread about cocoon versions. That made me think about how can we
> >> keep everything as small as possible. I mean something like including
> >> cocoon via svn:external.
> >>
> >>
> >
> > Sorry for the newbie question: what is "svn:external"?
>
> I've never used it so am not 100% sure of its uses but from
> http://svnbook.red-bean.com/en/1.0/ch07s02.html#svn-ch-7-sect-2.3.6 I
> gather "The svn:externals property contains instructions for Subversion
> to populate a versioned directory with one or more other checked-out
> Subversion working copies."
>
> In other words, do a checkout of project A and automatically get
> relevant content from project B as well.
>
> More info at http://svnbook.red-bean.com/en/1.0/ch07s03.html
>
> Ross
Yes, Ross is right.
We (lenya) are using it to include Bitflux to the check out. That let us
using the latest and greatest Bitflux code.
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)
Re: Forrest-core (Re: mini-forrest (was Re: Recommended DTD version?))
Posted by Sylvain Wallez <sy...@apache.org>.
Ross Gardler wrote:
> Sylvain Wallez wrote:
>
>> Thorsten Scherler wrote:
>>
>> <snip/>
>>
>>> In the light of cocoon writing a new core, maybe we should think about
>>> integrating cocoon smoother into forrest. Over in lenya there is a
>>> recent thread about cocoon versions. That made me think about how
>>> can we
>>> keep everything as small as possible. I mean something like including
>>> cocoon via svn:external.
>>
>>
>> Sorry for the newbie question: what is "svn:external"?
>
>
> I've never used it so am not 100% sure of its uses but from
> http://svnbook.red-bean.com/en/1.0/ch07s02.html#svn-ch-7-sect-2.3.6 I
> gather "The svn:externals property contains instructions for
> Subversion to populate a versioned directory with one or more other
> checked-out Subversion working copies."
>
> In other words, do a checkout of project A and automatically get
> relevant content from project B as well.
>
> More info at http://svnbook.red-bean.com/en/1.0/ch07s03.html
Wow, impressive feature! It's a kind of live link to a remote repository.
Thanks for the info.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Re: Forrest-core (Re: mini-forrest (was Re: Recommended DTD version?))
Posted by Ross Gardler <rg...@apache.org>.
Sylvain Wallez wrote:
> Thorsten Scherler wrote:
>
> <snip/>
>
>> In the light of cocoon writing a new core, maybe we should think about
>> integrating cocoon smoother into forrest. Over in lenya there is a
>> recent thread about cocoon versions. That made me think about how can we
>> keep everything as small as possible. I mean something like including
>> cocoon via svn:external.
>>
>>
>
> Sorry for the newbie question: what is "svn:external"?
I've never used it so am not 100% sure of its uses but from
http://svnbook.red-bean.com/en/1.0/ch07s02.html#svn-ch-7-sect-2.3.6 I
gather "The svn:externals property contains instructions for Subversion
to populate a versioned directory with one or more other checked-out
Subversion working copies."
In other words, do a checkout of project A and automatically get
relevant content from project B as well.
More info at http://svnbook.red-bean.com/en/1.0/ch07s03.html
Ross
Re: Forrest-core (Re: mini-forrest (was Re: Recommended DTD version?))
Posted by Sylvain Wallez <sy...@apache.org>.
Thorsten Scherler wrote:
<snip/>
>In the light of cocoon writing a new core, maybe we should think about
>integrating cocoon smoother into forrest. Over in lenya there is a
>recent thread about cocoon versions. That made me think about how can we
>keep everything as small as possible. I mean something like including
>cocoon via svn:external.
>
>
Sorry for the newbie question: what is "svn:external"?
Sylvain
--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }