Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Forrest: Dev

[PATCH] New fdoc build target (was Re: migrating to the new DTD's)

 

 

Forrest dev RSS feed   Index | Next | Previous | View Threaded


barozzi at nicolaken

Mar 1, 2002, 2:31 AM

Post #1 of 5 (49 views)
Permalink
[PATCH] New fdoc build target (was Re: migrating to the new DTD's)

From: "Steven Noels" <stevenn [at] outerthought>

> 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 [at] nicolaken
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
Attachments: patch.zip (8.28 KB)


stevenn at outerthought

Mar 1, 2002, 11:39 PM

Post #2 of 5 (47 views)
Permalink
RE: [PATCH] New fdoc build target (was Re: migrating to the new DTD's) [In reply to]

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 [at] nicolaken]
> Sent: vrijdag 1 maart 2002 11:31
> To: forrest-dev [at] xml
> Subject: [PATCH] New fdoc build target (was Re: migrating to the new
> DTD's)
>
>
> From: "Steven Noels" <stevenn [at] outerthought>
>
> > 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 [at] nicolaken
> - verba volant, scripta manent -
> (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
>
>


stevenn at outerthought

Mar 1, 2002, 11:44 PM

Post #3 of 5 (47 views)
Permalink
RE: [PATCH] New fdoc build target (was Re: migrating to the new DTD's) [In reply to]

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>


barozzi at nicolaken

Mar 2, 2002, 4:24 AM

Post #4 of 5 (47 views)
Permalink
Re: [PATCH] New fdoc build target (was Re: migrating to the new DTD's) [In reply to]

From: "Steven Noels" <stevenn [at] outerthought>


> 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 [at] nicolaken
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
Attachments: patch2.zip (9.70 KB)


stevenn at outerthought

Mar 3, 2002, 12:43 AM

Post #5 of 5 (47 views)
Permalink
RE: [PATCH] New fdoc build target (was Re: migrating to the new DTD's) [In reply to]

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>

Forrest dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.