You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Nicola Ken Barozzi <ba...@nicolaken.com> on 2002/03/01 11:31:01 UTC
[PATCH] New fdoc build target (was Re: migrating to the new DTD's)
From: "Steven Noels" <st...@outerthought.org>
> Thanks for clearing this out, this really frees us from the ana/para
> loop!
ana/para? *giggle* never heard of this.
> Would you be interested in doing this yourself?
No prob.
Here is the patch.
After applying the patch you also need to:
1. move jars from ./tools/cocoon/lib to ./lib/core, and remove placeholder
file there
2. remove ./tools/cocoon dir entirely
3. remove from /tools/centipede/targets/docs.xtarget
I retained the 'docs' target instead of xdocs. I want to use forrest for it
starting from next Centipede release.
--
Nicola Ken Barozzi barozzi@nicolaken.com
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
RE: [PATCH] New fdoc build target (was Re: migrating to the new DTD's)
Posted by Steven Noels <st...@outerthought.org>.
Nicola wrote:
>
> Sorry, the patch is imcomplete. :-/ My fault.
>
> This one should work.
>
> You also need to do this after applying:
> 1. move jars from ./tools/cocoon/lib to ./lib/core, and
> remove placeholder
> file there
> 2. remove ./tools/cocoon dir entirely
> 3. remove from /tools/centipede/targets/docs.xtarget
>
Patch applied, please cross-check (and do your own patches in the future
;-)
Welcome!
</Steven>
Re: [PATCH] New fdoc build target (was Re: migrating to the new DTD's)
Posted by Nicola Ken Barozzi <ba...@nicolaken.com>.
From: "Steven Noels" <st...@outerthought.org>
> Steven Noels wrote:
>
> > Hm.
> >
> > After applying your patches, my build halts with:
> >
> > BUILD FAILED
> >
> > Target `docs' does not exist in this project
> >
> > even when just doing ./build.sh clean
Sorry, the patch is imcomplete. :-/ My fault.
This one should work.
You also need to do this after applying:
1. move jars from ./tools/cocoon/lib to ./lib/core, and remove placeholder
file there
2. remove ./tools/cocoon dir entirely
3. remove from /tools/centipede/targets/docs.xtarget
I retained the 'docs' target instead of xdocs. I want to use forrest for it
starting from next Centipede release.
--
Nicola Ken Barozzi barozzi@nicolaken.com
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
RE: [PATCH] New fdoc build target (was Re: migrating to the new DTD's)
Posted by Steven Noels <st...@outerthought.org>.
grmbl - ctrl-enter again :-(
Steven Noels wrote:
>
> Hm.
>
> After applying your patches, my build halts with:
>
> BUILD FAILED
>
> Target `docs' does not exist in this project
>
> even when just doing ./build.sh clean
>
> I played around a bit, moving the original docs.xtarget form centipede
> to /src/targets, which then fails with /tools/cocoon/conf not found
> coming from docs.xtarget:
>
> <!-- Copy Cocoon configuration (cocoon.xconf) -->
> <copy todir="${build.context}" filtering="off">
> <fileset dir="${tools.dir}/cocoon/conf"/>
> </copy>
>
> Furthermore, I still see references to the old cocoon dir in
> tools/centipede/targets/init.xtarget:
<property name="cocoon.dir" value="${tools.dir}/cocoon"/>
<property name="cocoon.lib.dir" value="${cocoon.dir}/lib"/>
Since I'm not too familiar with the intricacies of applying patches, it
could be possible that I did something wrong, but it seems to me that
your patch is incomplete.
Nicola?
</Steven>
RE: [PATCH] New fdoc build target (was Re: migrating to the new DTD's)
Posted by Steven Noels <st...@outerthought.org>.
Hm.
After applying your patches, my build halts with:
BUILD FAILED
Target `docs' does not exist in this project
even when just doing ./build.sh clean
I played around a bit, moving the original docs.xtarget form centipede
to /src/targets, which then fails with \tools\cocoon\conf not found
coming from docs.xtarget:
<!-- Copy Cocoon configuration (cocoon.xconf) -->
<copy todir="${build.context}" filtering="off">
<fileset dir="${tools.dir}/cocoon/conf"/>
</copy>
Furthermore, I still see references to the old cocoon dir in
init.xtarget:
> -----Original Message-----
> From: Nicola Ken Barozzi [mailto:barozzi@nicolaken.com]
> Sent: vrijdag 1 maart 2002 11:31
> To: forrest-dev@xml.apache.org
> Subject: [PATCH] New fdoc build target (was Re: migrating to the new
> DTD's)
>
>
> From: "Steven Noels" <st...@outerthought.org>
>
> > Thanks for clearing this out, this really frees us from the ana/para
> > loop!
>
> ana/para? *giggle* never heard of this.
>
> > Would you be interested in doing this yourself?
>
> No prob.
> Here is the patch.
>
> After applying the patch you also need to:
> 1. move jars from ./tools/cocoon/lib to ./lib/core, and
> remove placeholder
> file there
> 2. remove ./tools/cocoon dir entirely
> 3. remove from /tools/centipede/targets/docs.xtarget
>
> I retained the 'docs' target instead of xdocs. I want to use
> forrest for it
> starting from next Centipede release.
>
> --
> Nicola Ken Barozzi barozzi@nicolaken.com
> - verba volant, scripta manent -
> (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
>
>