You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Andy J <se...@gmail.com> on 2004/12/31 14:41:25 UTC

Is it right for me help request

HI, all. . .  I just downloaded and installed Forrest yesterday to try
to determine if it would work in my case.  So I spent all day with it
and was pretty happy and optimistic about the prospects.  It will be
deployed on a SunOne java server so using the webapp-war option
bundled up my webapp and that part went great.  I'm finally starting
to grok the concepts and successfully put some sdocbook source in
which transformed perfectly, very slick.

I'm still trying to figure out if it will work in my case and was
hoping someone could pipe in about two questions.

1.  I know the surest way to determine this is to try it - but I
didn't get that far and someone might know: will Forrest validate
against an XML Schema schema?  I have a lot invested in an existing
schema and don't want to spend more time morphing it to RNG or DTD. 
So this is sort of a showstopper (or starter) issue.

2.  My main use of Forrest would be this:  I have a homegrown and
growing CM infrastructure which produces and uses XML files for
various tasks (e.g., baseline, build, request, etc).  This system was
not so much designed (other than in concept) as it has been collected
but all the various parts produce and use XML.  So I have a plethora
of XML files in a structure which are always being updated, added,
etc.  What I need is something (like Forrest) to report on these.  My
intent is to make custom XSL stylesheets as appropriate so Forrest
would take the various XMLs and produce various output files.  Does
this sound like a good fit?

Thanks for any input!

Andy

Re: Is it right for me help request

Posted by Andy J <se...@gmail.com>.
Yes, I found it in a doc.  I'll see if I can find it and send you the link.


On Mon, 03 Jan 2005 19:29:37 +0000, Ross Gardler <rg...@apache.org> wrote:
> Andy J wrote:
> > Cool...  One thing I tried in my brief eval was copying ALL the xmap
> > files into my document directory (which I though was the basic m.o.
> > for customization).  Doing this I kept getting java out of memory
> > errors until I /removed/ the xmap files from the document directory.
> 
> This is how we handled extensions in version 0.5 and earlier, version
> 0.6 introduced project sitemaps which simplify the extension process.
> Version 0.7 introduces the plugins, which even further simplify things.
> 
> If you found yourself trying this method of extension because a doc led
> you down that path we may need to update that doc so please let us know
> if clarification is needed.
> 
> Ross
> 
> > Originally I was thinking it would work more or less like
> > <xsl:includes> which maybe it does now.
> >
> >
> >
> > On Fri, 31 Dec 2004 15:02:44 +0000, Ross Gardler <rg...@apache.org> wrote:
> >
> >>Andy J wrote:
> >>
> >>>I'm still trying to figure out if it will work in my case and was
> >>>hoping someone could pipe in about two questions.
> >>>
> >>>1.  I know the surest way to determine this is to try it - but I
> >>>didn't get that far and someone might know: will Forrest validate
> >>>against an XML Schema schema?  I have a lot invested in an existing
> >>>schema and don't want to spend more time morphing it to RNG or DTD.
> >>>So this is sort of a showstopper (or starter) issue.
> >>
> >>I should no the answer to this, but it seems I don't so I'll leave this
> >>one for someone else.
> >>
> >>
> >>>2.  My main use of Forrest would be this:  I have a homegrown and
> >>>growing CM infrastructure which produces and uses XML files for
> >>>various tasks (e.g., baseline, build, request, etc).  This system was
> >>>not so much designed (other than in concept) as it has been collected
> >>>but all the various parts produce and use XML.  So I have a plethora
> >>>of XML files in a structure which are always being updated, added,
> >>>etc.  What I need is something (like Forrest) to report on these.  My
> >>>intent is to make custom XSL stylesheets as appropriate so Forrest
> >>>would take the various XMLs and produce various output files.  Does
> >>>this sound like a good fit?
> >>
> >>Yes, especially if you use 0.7-dev, but still possible with 0.6.
> >>
> >>For 0.6 see http://forrest.apache.org/docs/project-sitemap.html which
> >>provides an example for what you want to do.
> >>
> >>This will still work in 0.7 when it is released, but we have a more
> >>manageable solution in 0.7-dev, see plugins at the following urls:
> >>
> >>http://forrest.apache.org/docs/dev/howto/howto-buildPlugin.html
> >>http://forrest.apache.org/docs/dev/plugins/usingPlugins.html
> >>
> >>Ross
> >>
> >
> >
> >
> >
> 
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 03/01/2005
> 
>

Re: Is it right for me help request

Posted by Ross Gardler <rg...@apache.org>.
Andy J wrote:
> Cool...  One thing I tried in my brief eval was copying ALL the xmap
> files into my document directory (which I though was the basic m.o.
> for customization).  Doing this I kept getting java out of memory
> errors until I /removed/ the xmap files from the document directory. 

This is how we handled extensions in version 0.5 and earlier, version 
0.6 introduced project sitemaps which simplify the extension process. 
Version 0.7 introduces the plugins, which even further simplify things.

If you found yourself trying this method of extension because a doc led 
you down that path we may need to update that doc so please let us know 
if clarification is needed.

Ross

> Originally I was thinking it would work more or less like
> <xsl:includes> which maybe it does now.
> 
> 
> 
> On Fri, 31 Dec 2004 15:02:44 +0000, Ross Gardler <rg...@apache.org> wrote:
> 
>>Andy J wrote:
>>
>>>I'm still trying to figure out if it will work in my case and was
>>>hoping someone could pipe in about two questions.
>>>
>>>1.  I know the surest way to determine this is to try it - but I
>>>didn't get that far and someone might know: will Forrest validate
>>>against an XML Schema schema?  I have a lot invested in an existing
>>>schema and don't want to spend more time morphing it to RNG or DTD.
>>>So this is sort of a showstopper (or starter) issue.
>>
>>I should no the answer to this, but it seems I don't so I'll leave this
>>one for someone else.
>>
>>
>>>2.  My main use of Forrest would be this:  I have a homegrown and
>>>growing CM infrastructure which produces and uses XML files for
>>>various tasks (e.g., baseline, build, request, etc).  This system was
>>>not so much designed (other than in concept) as it has been collected
>>>but all the various parts produce and use XML.  So I have a plethora
>>>of XML files in a structure which are always being updated, added,
>>>etc.  What I need is something (like Forrest) to report on these.  My
>>>intent is to make custom XSL stylesheets as appropriate so Forrest
>>>would take the various XMLs and produce various output files.  Does
>>>this sound like a good fit?
>>
>>Yes, especially if you use 0.7-dev, but still possible with 0.6.
>>
>>For 0.6 see http://forrest.apache.org/docs/project-sitemap.html which
>>provides an example for what you want to do.
>>
>>This will still work in 0.7 when it is released, but we have a more
>>manageable solution in 0.7-dev, see plugins at the following urls:
>>
>>http://forrest.apache.org/docs/dev/howto/howto-buildPlugin.html
>>http://forrest.apache.org/docs/dev/plugins/usingPlugins.html
>>
>>Ross
>>
> 
> 
> 
> 


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 03/01/2005


Re: Is it right for me help request

Posted by Andy J <se...@gmail.com>.
Cool...  One thing I tried in my brief eval was copying ALL the xmap
files into my document directory (which I though was the basic m.o.
for customization).  Doing this I kept getting java out of memory
errors until I /removed/ the xmap files from the document directory. 
Originally I was thinking it would work more or less like
<xsl:includes> which maybe it does now.



On Fri, 31 Dec 2004 15:02:44 +0000, Ross Gardler <rg...@apache.org> wrote:
> Andy J wrote:
> > I'm still trying to figure out if it will work in my case and was
> > hoping someone could pipe in about two questions.
> >
> > 1.  I know the surest way to determine this is to try it - but I
> > didn't get that far and someone might know: will Forrest validate
> > against an XML Schema schema?  I have a lot invested in an existing
> > schema and don't want to spend more time morphing it to RNG or DTD.
> > So this is sort of a showstopper (or starter) issue.
> 
> I should no the answer to this, but it seems I don't so I'll leave this
> one for someone else.
> 
> > 2.  My main use of Forrest would be this:  I have a homegrown and
> > growing CM infrastructure which produces and uses XML files for
> > various tasks (e.g., baseline, build, request, etc).  This system was
> > not so much designed (other than in concept) as it has been collected
> > but all the various parts produce and use XML.  So I have a plethora
> > of XML files in a structure which are always being updated, added,
> > etc.  What I need is something (like Forrest) to report on these.  My
> > intent is to make custom XSL stylesheets as appropriate so Forrest
> > would take the various XMLs and produce various output files.  Does
> > this sound like a good fit?
> 
> Yes, especially if you use 0.7-dev, but still possible with 0.6.
> 
> For 0.6 see http://forrest.apache.org/docs/project-sitemap.html which
> provides an example for what you want to do.
> 
> This will still work in 0.7 when it is released, but we have a more
> manageable solution in 0.7-dev, see plugins at the following urls:
> 
> http://forrest.apache.org/docs/dev/howto/howto-buildPlugin.html
> http://forrest.apache.org/docs/dev/plugins/usingPlugins.html
> 
> Ross
>

Re: Is it right for me help request

Posted by Ross Gardler <rg...@apache.org>.
Andy J wrote:
> I'm still trying to figure out if it will work in my case and was
> hoping someone could pipe in about two questions.
> 
> 1.  I know the surest way to determine this is to try it - but I
> didn't get that far and someone might know: will Forrest validate
> against an XML Schema schema?  I have a lot invested in an existing
> schema and don't want to spend more time morphing it to RNG or DTD. 
> So this is sort of a showstopper (or starter) issue.

I should no the answer to this, but it seems I don't so I'll leave this 
one for someone else.

> 2.  My main use of Forrest would be this:  I have a homegrown and
> growing CM infrastructure which produces and uses XML files for
> various tasks (e.g., baseline, build, request, etc).  This system was
> not so much designed (other than in concept) as it has been collected
> but all the various parts produce and use XML.  So I have a plethora
> of XML files in a structure which are always being updated, added,
> etc.  What I need is something (like Forrest) to report on these.  My
> intent is to make custom XSL stylesheets as appropriate so Forrest
> would take the various XMLs and produce various output files.  Does
> this sound like a good fit?

Yes, especially if you use 0.7-dev, but still possible with 0.6.

For 0.6 see http://forrest.apache.org/docs/project-sitemap.html which 
provides an example for what you want to do.

This will still work in 0.7 when it is released, but we have a more 
manageable solution in 0.7-dev, see plugins at the following urls:

http://forrest.apache.org/docs/dev/howto/howto-buildPlugin.html
http://forrest.apache.org/docs/dev/plugins/usingPlugins.html

Ross

Re: Is it right for me help request

Posted by Andy J <se...@gmail.com>.
I do validation w/ant as well as via a custom class so it looks like
I'm covered on that part anyhow.  Thanks!

- Andy


On Fri, 31 Dec 2004 20:49:00 -0500 (EST), Dave Brondsema
<da...@brondsema.net> wrote:
> On Fri, 31 Dec 2004, Andy J wrote:
> 
> > HI, all. . .  I just downloaded and installed Forrest yesterday to try
> > to determine if it would work in my case.  So I spent all day with it
> > and was pretty happy and optimistic about the prospects.  It will be
> > deployed on a SunOne java server so using the webapp-war option
> > bundled up my webapp and that part went great.  I'm finally starting
> > to grok the concepts and successfully put some sdocbook source in
> > which transformed perfectly, very slick.
> >
> > I'm still trying to figure out if it will work in my case and was
> > hoping someone could pipe in about two questions.
> >
> > 1.  I know the surest way to determine this is to try it - but I
> > didn't get that far and someone might know: will Forrest validate
> > against an XML Schema schema?  I have a lot invested in an existing
> > schema and don't want to spend more time morphing it to RNG or DTD.
> > So this is sort of a showstopper (or starter) issue.
> >
> 
> We generally have forrest do minimal validation (just to make sure it can
> handle the input files).  You should do editing and validation with a
> seperate tool designed to do that to get the best error messages possible.
> 
> Forrest's validation stages are done via Ant, so you can modify it to
> support whatever type of validation you need.  You could also add a Ant
> "wrapper" script which does your own validation stages first and then
> invokes the main forrest targets.  Then you wouldn't have to modify
> forrest itself.
> 
> --
> Dave Brondsema : dave@brondsema.net
> http://www.brondsema.net : personal
> http://www.splike.com : programming
> http://csx.calvin.edu : student org
>

Re: Is it right for me help request

Posted by Dave Brondsema <da...@brondsema.net>.
On Fri, 31 Dec 2004, Andy J wrote:

> HI, all. . .  I just downloaded and installed Forrest yesterday to try
> to determine if it would work in my case.  So I spent all day with it
> and was pretty happy and optimistic about the prospects.  It will be
> deployed on a SunOne java server so using the webapp-war option
> bundled up my webapp and that part went great.  I'm finally starting
> to grok the concepts and successfully put some sdocbook source in
> which transformed perfectly, very slick.
>
> I'm still trying to figure out if it will work in my case and was
> hoping someone could pipe in about two questions.
>
> 1.  I know the surest way to determine this is to try it - but I
> didn't get that far and someone might know: will Forrest validate
> against an XML Schema schema?  I have a lot invested in an existing
> schema and don't want to spend more time morphing it to RNG or DTD.
> So this is sort of a showstopper (or starter) issue.
>

We generally have forrest do minimal validation (just to make sure it can
handle the input files).  You should do editing and validation with a
seperate tool designed to do that to get the best error messages possible.

Forrest's validation stages are done via Ant, so you can modify it to
support whatever type of validation you need.  You could also add a Ant
"wrapper" script which does your own validation stages first and then
invokes the main forrest targets.  Then you wouldn't have to modify
forrest itself.

-- 
Dave Brondsema : dave@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
http://csx.calvin.edu : student org