You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Leo Simons <le...@apache.org> on 2002/07/26 17:31:25 UTC

status of doc generation

All,

both Nicola and me have been sick (poor fellas, we are :P) so we're not
moving as fast as planned. Marc Portier (from Forrest) has had some more
urgent things to attend to so his planned contributions are on the
backburner. Berin is always busy but is still doing nice work.

Anyway, these changes have been made so far:

Error Messages
==============
cocoon has been updated to provide some better error messages. Aside
from jakarta-avalon (where there are still the 'illegal char' messages
probably relating to the Developing with Avalon paper) most stuff is now
nice and error-free wrt messages, and some useful output is printed.

Example output:

     [java]
     [java] Cannot find CatalogManager.properties
     [java] Cannot find CatalogManager.properties
     [java] Cannot find CatalogManager.properties
     [java] Cannot find CatalogManager.properties
     [java] Cannot find CatalogManager.properties
     [java] setup..........done.
     [java] Warming up...
     [java] ...ready, let's go:
     [java] URI: index.html
     [java]   getting links: ..
     [java] .
     [java] .
     [java] .
     [java] .
     [java]   [broken link]--> ../
     [java]   [broken link]--> api/
     [java]
     [java]   processing
     [java]   [text/html]--> index.html
     [java] URI: skin/tigris.css
     [java]   getting links: .
     [java]   processing
     [java]   [{mime-type}]--> skin/tigris.css
     [java] URI: skin/site.css
     [java]   getting links: .
     [java]   processing
     [java]   [{mime-type}]--> skin/site.css
     [java] URI: skin/print.css
     [java]   getting links: .
     [java]   processing
     [java]   [{mime-type}]--> skin/print.css
     [java] URI: images/jakarta-logo.gif
     [java]   getting links: .
     [java]   processing
     [java]   [image/{2}]--> images/jakarta-logo.gif
     [java] URI: images/header.gif
     [java]   getting links: .
     [java]   processing
     [java]   [image/{2}]--> images/header.gif
     [java]
     [java] disposing....done.

I don't know why we get the dots but it is a lot better than before.

Skin Problems solved
====================

Though the skin is still crappy, I've made some changes (the breadcrumb
script is gone) so it now looks at least passable in all popular linux
browsers. Should work with IE as well.

I still think we should adapt the forrest skin.

Build script problems
=====================
The ZipException in cocoon were a stupid ant script error which has been
fixed. Avalon Apps has been completely updated so all documents build
correctly again, including docs where applicable.

Excalibur doc generation also works again. Typing 'ant site' in
jakarta-avalon-excalibur/site should result in complete site update
(we're not there yet for apps, but we'll get to it).

book.xml/project.xml --> menu.xml
=================================
Berin's changed cocoon to use menu.xml and is now looking at doing the
same for anakia. The result is that some subsubprojects in avalon-apps
are still broken (there is no menu) because menu.xml needs to be
updated.

removal of cruft
================
Projects that use cocoon within excalibur or apps can now suffice with
some very simple <ant/> calls to a common file, and do not need any
images/ or dtd/ stuff mingled in with their xdocs anymore (the same is
true for the main avalon module).

Speed
=====
The latest cocoon seems even faster. I think it approaches speed of the
<style/> task in ant, though not quite. For me, it is acceptible.


We're far from done. Here's a list of stuff still needing work:

Things still to do
==================

This is top-of-my-head stuff.

Things we need to do soon (ie two-week-deadline)
------------------------------------------------
- fix "developing with avalon"
- fix last few bits in avalon-apps
- update anakia build scripts to use menu.xml
- update anakia to use document-v10.dtd

Thins we want to do
-------------------
- move to use document-v11.dtd
- move to use libre (maybe)
- move to use forrest skin (maybe tweaked a bit)
- extract common functionality for doc generation like has happened for
excalibur & apps and move this to jakarta-avalon-site
- add layer between ant documentation targets and actual tool like has
happened for apps
- make menu.xml more similar across the board
- make titles more similar across the board
- increase speed of cocoon
- move anakia projects back to cocoon (maybe)
- decide what to do about custom branding of subprojects (ie use the
phoenix logo/merlin logo I made recently, or not)
- write "avalon for beginners"
- improve docs for cornerstone
- document the new doc gen process
- inform other jakarta/xml projects of our new doc gen process
- add notes to excalibur components that will move (have been moved) to
commons
- set up/write FAQ
- figure out how to have cocoon wrap the contents of <code> at 60
characters
- set up PDF generation for all documentation
- extract out the functionality in our build process usuable to everyone
and move it to forrest/centipede/wherever

If I do it all by myself it'll take around 2 years =)

cheers,

- Leo

PS: I also have upgrade my laptop to RH 7.3 with latest Ximian Gnome
(instead of KDE) and it's real nice; it actually fits in the 64MB ram,
with JEdit and a few terminals open =)


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: status of doc generation

Posted by Peter Donald <pe...@apache.org>.
At 10:26 AM 7/27/2002 +0200, you wrote:
>It's always looked 'fairly crap'.

Look at the extension page. It looked good a month ago and now it does not.

 > I'll reiterate what I want again.
> >
> > * Simple task to call so I can have different pipelines (changes vs normal
> > document vs faqs) work.
>
>could you elaborate? You want to generate changes using a different task
>or a different task configuration? Seems to me like it is way easier to
>just have a single task that does all your docs.

I want one task capable of handling different types/dtd/schemas foir docs. 
One can be a todo list, another change list, another faqs and the remainder 
docs. And I dont want to have to alter some master sitemap doc that is in 
some other cvs or whatever.

so you mean the base for the reference of links in /phoenix/bdg/menu.xml
>should be /phoenix and not /phoenix/bdg?
>
>I'm not too happy with that, I think. I like the idea that each
>subdirectory is a separate 'documentation subproject'.

Thats not an opinion I share. Everything that the user saids is in one menu 
should be in one menu, directorys are useful tools to categorize or else 
you end up with documents with names 20 characters long.

Cheers,

Peter Donald
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Faced with the choice between changing one's mind,
and proving that there is no need to do so - almost
everyone gets busy on the proof."
              - John Kenneth Galbraith
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: status of doc generation

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Peter Donald wrote:
> On Sun, 4 Aug 2002 07:02, Nicola Ken Barozzi wrote:
> 
>>>* Simple task to call so I can have different pipelines (changes vs
>>>normal document vs faqs) work.
>>
>>We are discussing on how to make the user enhance the system using
>>mounted pipelines.
>>Given that Forrest already has enhanced FAQ, TODO, CHANGES DTDs, for the
>>moment it should be enough, and we can always discuss and insert new
>>DTDs in Forrest quite quickly, given that they are general enough (which
>>  is generally the case).
> 
> kool.

Yup, and is also a big help for us :-)

>>>* I want to be able to include/exclude files based on ant
>>>includes/ecludes
>>
>>Since Cocoon crawles the docs, IMHO it basically means that you want
>>Cocoon not to proceed crawling on certain url patterns... can be done,
>>but could you please tell me the use, it's not clear to me.
> 
> I don't want cocoon to crawl at all ;) 

Maybe I will delude you ;-) but Cocoon can generate using a file with a 
list of links basically since day one of the Cocoon CLI.
Nobody really liked it much though.

> I find it much easier to 
> include/exclude things explicitly using ant include/exclude. Then I can work 
> out exactly which pages will be transformed without worrying whether the 
> links to all pages a re present.

This can be done by making an html page that contains all the pages you 
want to generate as html links, or specify Cocoon not to crawl the links 
further with a CLI option.

Anyway, CLI was made not to stop on dead links but to warn and make a 
404 page instead, something that somehow has been broken or ages and 
that I'm gonna fix very soon.

>>>* I want to be able to have all the links in menu to be relative to base
>>>of site, not base of page they are in. SO I can put docs in bdg/foo.xml
>>>and has all links work gracefully
>>
>>This is more an implementation request than a feature request...
>>as per feature, IMHO it boils down to the fact that in nested books we
>>do ../../..etc to reference parent books, which IMNSHO really sucks...
>>
>>Any suggestion from Forresters? This is a tipical URI-space problem,
>>suggestions?
> 
> Anakias project.xml file has the links that are relative to the base project 
> dir start with a "/" if that helps any.

BTW, there is a new Transformer that augments links:

     <map:transform type="augment">
       <map:parameter name="mount" value="samples/flow/"/>
     </map:transform>

Anyway, this is a task for libre, we need to get it right, guys!
Come on private Gump, get the toothbrush! ;-)

>>>* I want no dates or build specific data to be stored in generated docs
>>>(because causes pain when updating online docs).
>>
>>Sorry, I don't get this. Could you elaborate more?
> 
> 
> Essentially theres a few tools that add something like
> 
> <!-- Created by Cocoon on 15'th Dec 1987 -->
> 
> on end of page. Not sure if cocoon does it or not. The problem with this is of 
> course that almost every page will be different if the site is regenerated 
> but many of the changed files would only have a different date if you know 
> what I mean.

Right.
Cocoon does it only if an option is set, and Forrest deosn't use it, so 
it should be all ok.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: status of doc generation

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Peter Donald wrote:
> On Sun, 4 Aug 2002 07:02, Nicola Ken Barozzi wrote:
> 
>>>* Simple task to call so I can have different pipelines (changes vs
>>>normal document vs faqs) work.
>>
>>We are discussing on how to make the user enhance the system using
>>mounted pipelines.
>>Given that Forrest already has enhanced FAQ, TODO, CHANGES DTDs, for the
>>moment it should be enough, and we can always discuss and insert new
>>DTDs in Forrest quite quickly, given that they are general enough (which
>>  is generally the case).
> 
> kool.

Yup, and is also a big help for us :-)

>>>* I want to be able to include/exclude files based on ant
>>>includes/ecludes
>>
>>Since Cocoon crawles the docs, IMHO it basically means that you want
>>Cocoon not to proceed crawling on certain url patterns... can be done,
>>but could you please tell me the use, it's not clear to me.
> 
> I don't want cocoon to crawl at all ;) 

Maybe I will delude you ;-) but Cocoon can generate using a file with a 
list of links basically since day one of the Cocoon CLI.
Nobody really liked it much though.

> I find it much easier to 
> include/exclude things explicitly using ant include/exclude. Then I can work 
> out exactly which pages will be transformed without worrying whether the 
> links to all pages a re present.

This can be done by making an html page that contains all the pages you 
want to generate as html links, or specify Cocoon not to crawl the links 
further with a CLI option.

Anyway, CLI was made not to stop on dead links but to warn and make a 
404 page instead, something that somehow has been broken or ages and 
that I'm gonna fix very soon.

>>>* I want to be able to have all the links in menu to be relative to base
>>>of site, not base of page they are in. SO I can put docs in bdg/foo.xml
>>>and has all links work gracefully
>>
>>This is more an implementation request than a feature request...
>>as per feature, IMHO it boils down to the fact that in nested books we
>>do ../../..etc to reference parent books, which IMNSHO really sucks...
>>
>>Any suggestion from Forresters? This is a tipical URI-space problem,
>>suggestions?
> 
> Anakias project.xml file has the links that are relative to the base project 
> dir start with a "/" if that helps any.

BTW, there is a new Transformer that augments links:

     <map:transform type="augment">
       <map:parameter name="mount" value="samples/flow/"/>
     </map:transform>

Anyway, this is a task for libre, we need to get it right, guys!
Come on private Gump, get the toothbrush! ;-)

>>>* I want no dates or build specific data to be stored in generated docs
>>>(because causes pain when updating online docs).
>>
>>Sorry, I don't get this. Could you elaborate more?
> 
> 
> Essentially theres a few tools that add something like
> 
> <!-- Created by Cocoon on 15'th Dec 1987 -->
> 
> on end of page. Not sure if cocoon does it or not. The problem with this is of 
> course that almost every page will be different if the site is regenerated 
> but many of the changed files would only have a different date if you know 
> what I mean.

Right.
Cocoon does it only if an option is set, and Forrest deosn't use it, so 
it should be all ok.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: status of doc generation

Posted by Peter Donald <pe...@apache.org>.
On Sun, 4 Aug 2002 07:02, Nicola Ken Barozzi wrote:
> > * Simple task to call so I can have different pipelines (changes vs
> > normal document vs faqs) work.
>
> We are discussing on how to make the user enhance the system using
> mounted pipelines.
> Given that Forrest already has enhanced FAQ, TODO, CHANGES DTDs, for the
> moment it should be enough, and we can always discuss and insert new
> DTDs in Forrest quite quickly, given that they are general enough (which
>   is generally the case).

kool.

> > * I want to be able to include/exclude files based on ant
> > includes/ecludes
>
> Since Cocoon crawles the docs, IMHO it basically means that you want
> Cocoon not to proceed crawling on certain url patterns... can be done,
> but could you please tell me the use, it's not clear to me.

I don't want cocoon to crawl at all ;) I find it much easier to 
include/exclude things explicitly using ant include/exclude. Then I can work 
out exactly which pages will be transformed without worrying whether the 
links to all pages a re present.

> > * I want to be able to have all the links in menu to be relative to base
> > of site, not base of page they are in. SO I can put docs in bdg/foo.xml
> > and has all links work gracefully
>
> This is more an implementation request than a feature request...
> as per feature, IMHO it boils down to the fact that in nested books we
> do ../../..etc to reference parent books, which IMNSHO really sucks...
>
> Any suggestion from Forresters? This is a tipical URI-space problem,
> suggestions?

Anakias project.xml file has the links that are relative to the base project 
dir start with a "/" if that helps any.

> > * I want no dates or build specific data to be stored in generated docs
> > (because causes pain when updating online docs).
>
> Sorry, I don't get this. Could you elaborate more?

Essentially theres a few tools that add something like

<!-- Created by Cocoon on 15'th Dec 1987 -->

on end of page. Not sure if cocoon does it or not. The problem with this is of 
course that almost every page will be different if the site is regenerated 
but many of the changed files would only have a different date if you know 
what I mean.

-- 
Cheers,

Peter Donald
-----------------------------------------------
"Only two things are infinite, the universe and 
human stupidity, and I'm not sure about the 
former." -Albert Einstein 
----------------------------------------------- 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: status of doc generation

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Peter Donald wrote:
>
> I'll reiterate what I want again. 

Thank you, it will help me focus better on real needs.
I'm CCing this to Forrest-dev too.

> * Simple task to call so I can have different pipelines (changes vs normal 
> document vs faqs) work.

We are discussing on how to make the user enhance the system using 
mounted pipelines.
Given that Forrest already has enhanced FAQ, TODO, CHANGES DTDs, for the 
moment it should be enough, and we can always discuss and insert new 
DTDs in Forrest quite quickly, given that they are general enough (which 
  is generally the case).

> * I want to be able to include/exclude files based on ant includes/ecludes

Since Cocoon crawles the docs, IMHO it basically means that you want 
Cocoon not to proceed crawling on certain url patterns... can be done, 
but could you please tell me the use, it's not clear to me.

> * I want only the files that have been changed to be updated

Definately. I'm working on it.

> * I want zero copying about

Forrest CVS now doesn't need copying anymore.

> * I want 15 second build time max

ie fast... once you have non-updated files not recreating, incremental 
builds will be much faster than that.

> * I want to be able to have all the links in menu to be relative to base of 
> site, not base of page they are in. SO I can put docs in bdg/foo.xml and has 
> all links work gracefully

This is more an implementation request than a feature request...
as per feature, IMHO it boils down to the fact that in nested books we 
do ../../..etc to reference parent books, which IMNSHO really sucks...

Any suggestion from Forresters? This is a tipical URI-space problem, 
suggestions?

> * I want no dates or build specific data to be stored in generated docs 
> (because causes pain when updating online docs).

Sorry, I don't get this. Could you elaborate more?
Anyway, Forrest will update the site for you, so it shouldn't be a 
problem...

> * I want nice output. Similar to ...
> [cocoon] Generating doc: foo.html
> [cocoon] Generating doc: bdg/foo.html
> [cocoon] Error Generating doc: bar.html (<a> on line 15 must be terminated 
> with a </>)

As per your request I put it in, but Berin got angry over it being to 
verbose... *shrugs* just add --verbose and it should be more informative 
now.

> One thing that I have not said before but I would like to have is the 
> following. I would like to be able to add in a construct like
> 
> <code-link class="org.apache.avalon.framework.Version">the Version</code-link> 
> or <code-link class="org.apache.avalon.framework.Version"/> (which defaults 
> to using short classname as text for link). This would then link to the 
> appropriate uri for class javadoc. I would like it to work in a way similar 
> to javadoc links. So you can have multiple api base dirs (ie phoenix docs 
> could link to framework code).

This is a very cool thing, and interrelated with the URI problem above.

If we tell the system that the javadocs are at a certain URI, we don't 
even need special semantics.

The real problem is, how can we tell Forrest to play well with other 
tools and integrate the URI space?
Let's start with Javadocs, once that is done we can integrate all sorts 
of stuff like unit tests an metrics.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Leo Simons <le...@apache.org>.
> > > * I want to be able to have all the links in menu to be relative to 
> > > base of
> > > site, not base of page they are in. SO I can put docs in 
> > bdg/foo.xml and has 
> > > all links work gracefully
> > 
> > so you mean the base for the reference of links in 
> > /phoenix/bdg/menu.xml should be /phoenix and not /phoenix/bdg?
> > 
> > I'm not too happy with that, I think. I like the idea that 
> > each subdirectory is a separate 'documentation subproject'.
> 
> Are you saying that you want hard links everywhere?  -1
> 
> When I generate documentation, and I want to see how it looks, I
> don't want to be redirected to the main site.  I want to see the
> page I changed, I don't want to be forced to the internet site
> with every link.
> 
> I also prefer all the information for a particular subproject to
> be in its own directory.  By that convention, a user can make the
> appropriate assumption that if they type the project name based
> on the heirarchy of the project it would match the heirarchy of
> the site.  Example:

the issue is what to do is the documentation for a particular subproject
is again split into multiple directories (ie framework and phoenix atm).

We used to have

phoenix/
	menu.xml
	overview.xml

	bdg-overview.xml
 	bdg-first-section.xml
 	bdg-second-section.xml
	...
	some-section-overview.xml
	some-section-first-section.xml
	some-section-second-section.xml
	...

now we have

phoenix/
	menu.xml
	overview.xml

	bdg/overview.xml
 	bdg/first-section.xml
 	bdg/second-section.xml
	...
	some-section/overview.xml
	some-section/first-section.xml
	some-section/second-section.xml
	...

we do *not* have
bdg/menu.xml or some-section/menu.xml.

What Pete is saying is that he wants to keep it that way. What I said
recently is that it might be nicer to have those files, then reference
them from the phoenix/menu.xml.

- Leo



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
> From: Leo Simons [mailto:leosimons@apache.org] 
> 
> > * I want to be able to include/exclude files based on ant 
> > includes/ecludes
> 
> it is either this or a link crawling machine. Link crawling 
> has other advantages....should be relatively simple to do though.

Doable.  Link crawling makes sure that all links are satisfied
correctly.


> > * I want to be able to have all the links in menu to be relative to 
> > base of
> > site, not base of page they are in. SO I can put docs in 
> bdg/foo.xml and has 
> > all links work gracefully
> 
> so you mean the base for the reference of links in 
> /phoenix/bdg/menu.xml should be /phoenix and not /phoenix/bdg?
> 
> I'm not too happy with that, I think. I like the idea that 
> each subdirectory is a separate 'documentation subproject'.

Are you saying that you want hard links everywhere?  -1

When I generate documentation, and I want to see how it looks, I
don't want to be redirected to the main site.  I want to see the
page I changed, I don't want to be forced to the internet site
with every link.

I also prefer all the information for a particular subproject to
be in its own directory.  By that convention, a user can make the
appropriate assumption that if they type the project name based
on the heirarchy of the project it would match the heirarchy of
the site.  Example:

http://jakarta.apache.org/avalon/excalibur/fortress/

I can be reasonably assured that everything I need is in the proper
location:

Avalon > Excalibur > Fortress

It also makes the breadcrumbs work properly (as they are).



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: status of doc generation

Posted by Leo Simons <le...@apache.org>.
On Sat, 2002-07-27 at 06:49, Peter Donald wrote:
> On Sat, 27 Jul 2002 01:58, Nicola Ken Barozzi wrote:
> > So, Peter, how does this look.
> > Is it ok for you?
> >
> > Is there something missing?
> 
> No idea - havent checked yet - though I notice that the website is still 
> looking fairly crap so I can't say I am inspired.

It's always looked 'fairly crap'. I've made changes you can probably
only see for now when you do a 'hard refresh' (SHIFT+F5 I think). When
we move to a forrest skin things will change. There's prerequisites for
this though we have to deal with first.

> I'll reiterate what I want again. 
> 
> * Simple task to call so I can have different pipelines (changes vs normal 
> document vs faqs) work.

could you elaborate? You want to generate changes using a different task
or a different task configuration? Seems to me like it is way easier to
just have a single task that does all your docs.

> * I want to be able to include/exclude files based on ant includes/ecludes

it is either this or a link crawling machine. Link crawling has other
advantages....should be relatively simple to do though.

> * I want only the files that have been changed to be updated

Nicola's working on it

> * I want zero copying about

Nicola's working on it

> * I want 15 second build time max

Which is impossible to guarantee but latest cocoon is quite fast

> * I want to be able to have all the links in menu to be relative to base of 
> site, not base of page they are in. SO I can put docs in bdg/foo.xml and has 
> all links work gracefully

so you mean the base for the reference of links in /phoenix/bdg/menu.xml
should be /phoenix and not /phoenix/bdg?

I'm not too happy with that, I think. I like the idea that each
subdirectory is a separate 'documentation subproject'.

> * I want no dates or build specific data to be stored in generated docs 
> (because causes pain when updating online docs).

+1

> * I want nice output. Similar to ...
> [cocoon] Generating doc: foo.html
> [cocoon] Generating doc: bdg/foo.html
> [cocoon] Error Generating doc: bar.html (<a> on line 15 must be terminated 
> with a </>)

+1

> One thing that I have not said before but I would like to have is the 
> following. I would like to be able to add in a construct like
> 
> <code-link class="org.apache.avalon.framework.Version">the Version</code-link> 
> or <code-link class="org.apache.avalon.framework.Version"/> (which defaults 
> to using short classname as text for link). This would then link to the 
> appropriate uri for class javadoc. I would like it to work in a way similar 
> to javadoc links. So you can have multiple api base dirs (ie phoenix docs 
> could link to framework code).

+1.

An option that is probably a lot easier to implement is to create
/avalon/api that has all the apidocs for all of avalon. Otherwise you'd
have to create and maintain some sort of mapping between source packages
and API links.

> -------------------------------------------------------------
> |  Egoism is the drug that soothes the pain of stupidity.   |
> ------------------------------------------------------------- 

LOL!

cheers,

- Leo



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: status of doc generation

Posted by Stephen McConnell <mc...@osm.net>.

Peter Donald wrote:

><snip>
>
>One thing that I have not said before but I would like to have is the 
>following. I would like to be able to add in a construct like
>
><code-link class="org.apache.avalon.framework.Version">the Version</code-link> 
>or <code-link class="org.apache.avalon.framework.Version"/> (which defaults 
>to using short classname as text for link). This would then link to the 
>appropriate uri for class javadoc. I would like it to work in a way similar 
>to javadoc links. So you can have multiple api base dirs (ie phoenix docs 
>could link to framework code).
>
>  
>
+1



-- 

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:mcconnell@osm.net
http://www.osm.net




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: status of doc generation

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Peter Donald wrote:
>
> I'll reiterate what I want again. 

Thank you, it will help me focus better on real needs.
I'm CCing this to Forrest-dev too.

> * Simple task to call so I can have different pipelines (changes vs normal 
> document vs faqs) work.

We are discussing on how to make the user enhance the system using 
mounted pipelines.
Given that Forrest already has enhanced FAQ, TODO, CHANGES DTDs, for the 
moment it should be enough, and we can always discuss and insert new 
DTDs in Forrest quite quickly, given that they are general enough (which 
  is generally the case).

> * I want to be able to include/exclude files based on ant includes/ecludes

Since Cocoon crawles the docs, IMHO it basically means that you want 
Cocoon not to proceed crawling on certain url patterns... can be done, 
but could you please tell me the use, it's not clear to me.

> * I want only the files that have been changed to be updated

Definately. I'm working on it.

> * I want zero copying about

Forrest CVS now doesn't need copying anymore.

> * I want 15 second build time max

ie fast... once you have non-updated files not recreating, incremental 
builds will be much faster than that.

> * I want to be able to have all the links in menu to be relative to base of 
> site, not base of page they are in. SO I can put docs in bdg/foo.xml and has 
> all links work gracefully

This is more an implementation request than a feature request...
as per feature, IMHO it boils down to the fact that in nested books we 
do ../../..etc to reference parent books, which IMNSHO really sucks...

Any suggestion from Forresters? This is a tipical URI-space problem, 
suggestions?

> * I want no dates or build specific data to be stored in generated docs 
> (because causes pain when updating online docs).

Sorry, I don't get this. Could you elaborate more?
Anyway, Forrest will update the site for you, so it shouldn't be a 
problem...

> * I want nice output. Similar to ...
> [cocoon] Generating doc: foo.html
> [cocoon] Generating doc: bdg/foo.html
> [cocoon] Error Generating doc: bar.html (<a> on line 15 must be terminated 
> with a </>)

As per your request I put it in, but Berin got angry over it being to 
verbose... *shrugs* just add --verbose and it should be more informative 
now.

> One thing that I have not said before but I would like to have is the 
> following. I would like to be able to add in a construct like
> 
> <code-link class="org.apache.avalon.framework.Version">the Version</code-link> 
> or <code-link class="org.apache.avalon.framework.Version"/> (which defaults 
> to using short classname as text for link). This would then link to the 
> appropriate uri for class javadoc. I would like it to work in a way similar 
> to javadoc links. So you can have multiple api base dirs (ie phoenix docs 
> could link to framework code).

This is a very cool thing, and interrelated with the URI problem above.

If we tell the system that the javadocs are at a certain URI, we don't 
even need special semantics.

The real problem is, how can we tell Forrest to play well with other 
tools and integrate the URI space?
Let's start with Javadocs, once that is done we can integrate all sorts 
of stuff like unit tests an metrics.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: status of doc generation

Posted by Peter Donald <pe...@apache.org>.
On Sat, 27 Jul 2002 01:58, Nicola Ken Barozzi wrote:
> So, Peter, how does this look.
> Is it ok for you?
>
> Is there something missing?

No idea - havent checked yet - though I notice that the website is still 
looking fairly crap so I can't say I am inspired.

I'll reiterate what I want again. 

* Simple task to call so I can have different pipelines (changes vs normal 
document vs faqs) work.
* I want to be able to include/exclude files based on ant includes/ecludes
* I want only the files that have been changed to be updated
* I want zero copying about
* I want 15 second build time max
* I want to be able to have all the links in menu to be relative to base of 
site, not base of page they are in. SO I can put docs in bdg/foo.xml and has 
all links work gracefully
* I want no dates or build specific data to be stored in generated docs 
(because causes pain when updating online docs).
* I want nice output. Similar to ...
[cocoon] Generating doc: foo.html
[cocoon] Generating doc: bdg/foo.html
[cocoon] Error Generating doc: bar.html (<a> on line 15 must be terminated 
with a </>)


One thing that I have not said before but I would like to have is the 
following. I would like to be able to add in a construct like

<code-link class="org.apache.avalon.framework.Version">the Version</code-link> 
or <code-link class="org.apache.avalon.framework.Version"/> (which defaults 
to using short classname as text for link). This would then link to the 
appropriate uri for class javadoc. I would like it to work in a way similar 
to javadoc links. So you can have multiple api base dirs (ie phoenix docs 
could link to framework code).

-- 
Cheers,

Peter Donald
-------------------------------------------------------------
|  Egoism is the drug that soothes the pain of stupidity.   |
------------------------------------------------------------- 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: status of doc generation

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Leo Simons wrote:
...
>>>- figure out how to have cocoon wrap the contents of <code> at 60
>>>characters
>>
>>Just send a RFE to Forrest-dev.
> 
> ah what?

Ripe Fast Extension

;-))

Request For Enhancement

>>>- set up PDF generation for all documentation
>>
>>Forrest now has it already per page, and soon per book.
>>See http://www.krysalis.org/forrest/
> 
> really, really cool! All that's missing is a TOC....now I definately
> want forrest =)

:-D

Oh, and BTW we have the remote site build and update working!
Soon it will be finished, complete with nagging for broken sites.

Stay tuned :-)

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
> From: Stephen McConnell [mailto:mcconnell@osm.net] 
> 
> +1
> I like quiet builds ..:-)


Me too.  They used to be just log messages, but someone changed it
to System.out.println() messages (yuck!).  Instead of just undoing
their work, I added in a --verbose switch.  It also brings Cocoon
in line with real CLI tools.

The only downside is that the build seems to not be doing anything
for a while.  On my machine, it is ~ 1.5 minutes to "ant docs" for
Framework (arguably one of our largest sites).

For Excalibur, it is shorter.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: status of doc generation

Posted by Stephen McConnell <mc...@osm.net>.

Berin Loritsch wrote:

>>From: Leo Simons [mailto:leosimons@apache.org] 
>>
>>    
>>
>>>>I don't know why we get the dots but it is a lot better 
>>>>        
>>>>
>>than before.
>>    
>>
>>>The dots are each link being crawled.
>>>      
>>>
>>ah. FWIW, I'd like "{bla} links crawled" a little better ;)
>>    
>>
>
>
>They aren't known ahead of time.  I just added in a --verbose
>(-V) option so that we can just not have to look at those
>messages if we don't want to.
>  
>

+1
I like quiet builds ..:-)
S

>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>  
>

-- 

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:mcconnell@osm.net
http://www.osm.net




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
> From: Leo Simons [mailto:leosimons@apache.org] 
> 
> > > I don't know why we get the dots but it is a lot better 
> than before.
> > 
> > The dots are each link being crawled.
> 
> ah. FWIW, I'd like "{bla} links crawled" a little better ;)


They aren't known ahead of time.  I just added in a --verbose
(-V) option so that we can just not have to look at those
messages if we don't want to.




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: status of doc generation

Posted by Leo Simons <le...@apache.org>.
> > I don't know why we get the dots but it is a lot better than before.
> 
> The dots are each link being crawled.

ah. FWIW, I'd like "{bla} links crawled" a little better ;)

> > Skin Problems solved
> > ====================
> > 
> > Though the skin is still crappy, I've made some changes (the breadcrumb
> > script is gone) so it now looks at least passable in all popular linux
> > browsers. Should work with IE as well.
> 
> Hehehe I committed it to Forrest ;-)
> 
> Well, they didn't like the javascript much, but it's there.

the script's perfect. It's those darn browsers ;)

> > Thins we want to do
> > -------------------
> > - move to use document-v11.dtd+
> 
> When it's ready.

+1

> > - move to use libre (maybe)
> 
> When it's ready and easy to use.

+1

> > - decide what to do about custom branding of subprojects (ie use the
> > phoenix logo/merlin logo I made recently, or not)
> > - write "avalon for beginners"
> > - improve docs for cornerstone
> > - document the new doc gen process
> 
> There is already stuff in Krysalis and Forrest, we will move it all to 
> Forrest.

+1

> > - figure out how to have cocoon wrap the contents of <code> at 60
> > characters
> 
> Just send a RFE to Forrest-dev.

ah what?

> > - set up PDF generation for all documentation
> 
> Forrest now has it already per page, and soon per book.
> See http://www.krysalis.org/forrest/

really, really cool! All that's missing is a TOC....now I definately
want forrest =)

- Leo



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: status of doc generation

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Leo Simons wrote:
> All,
> 
> both Nicola and me have been sick (poor fellas, we are :P) so we're not
> moving as fast as planned. Marc Portier (from Forrest) has had some more
> urgent things to attend to so his planned contributions are on the
> backburner. Berin is always busy but is still doing nice work.
> 
> Anyway, these changes have been made so far:
> 
> Error Messages
> ==============
> cocoon has been updated to provide some better error messages. Aside
> from jakarta-avalon (where there are still the 'illegal char' messages
> probably relating to the Developing with Avalon paper) most stuff is now
> nice and error-free wrt messages, and some useful output is printed.
> 
> Example output:
> 
>      [java]
>      [java] Cannot find CatalogManager.properties
>      [java] Cannot find CatalogManager.properties
>      [java] Cannot find CatalogManager.properties
>      [java] Cannot find CatalogManager.properties
>      [java] Cannot find CatalogManager.properties
>      [java] setup..........done.
>      [java] Warming up...
>      [java] ...ready, let's go:
>      [java] URI: index.html
>      [java]   getting links: ..
>      [java] .
>      [java] .
>      [java] .
>      [java] .
>      [java]   [broken link]--> ../
>      [java]   [broken link]--> api/
>      [java]
>      [java]   processing
>      [java]   [text/html]--> index.html
>      [java] URI: skin/tigris.css
>      [java]   getting links: .
>      [java]   processing
>      [java]   [{mime-type}]--> skin/tigris.css
>      [java] URI: skin/site.css
>      [java]   getting links: .
>      [java]   processing
>      [java]   [{mime-type}]--> skin/site.css
>      [java] URI: skin/print.css
>      [java]   getting links: .
>      [java]   processing
>      [java]   [{mime-type}]--> skin/print.css
>      [java] URI: images/jakarta-logo.gif
>      [java]   getting links: .
>      [java]   processing
>      [java]   [image/{2}]--> images/jakarta-logo.gif
>      [java] URI: images/header.gif
>      [java]   getting links: .
>      [java]   processing
>      [java]   [image/{2}]--> images/header.gif
>      [java]
>      [java] disposing....done.
> 
> I don't know why we get the dots but it is a lot better than before.

The dots are each link being crawled.

> Skin Problems solved
> ====================
> 
> Though the skin is still crappy, I've made some changes (the breadcrumb
> script is gone) so it now looks at least passable in all popular linux
> browsers. Should work with IE as well.

Hehehe I committed it to Forrest ;-)

Well, they didn't like the javascript much, but it's there.
I hope I triggered an itch so that Steven will make it done with Cocoon ;-)

> I still think we should adapt the forrest skin.
> 
> Build script problems
> =====================
> The ZipException in cocoon were a stupid ant script error which has been
> fixed. Avalon Apps has been completely updated so all documents build
> correctly again, including docs where applicable.
> 
> Excalibur doc generation also works again. Typing 'ant site' in
> jakarta-avalon-excalibur/site should result in complete site update
> (we're not there yet for apps, but we'll get to it).
> 
> book.xml/project.xml --> menu.xml
> =================================
> Berin's changed cocoon to use menu.xml and is now looking at doing the
> same for anakia. The result is that some subsubprojects in avalon-apps
> are still broken (there is no menu) because menu.xml needs to be
> updated.

I'm still not quite sure on this, but till we get to an aggreement on 
Forrest about libre I'm really ok with it.

> removal of cruft
> ================
> Projects that use cocoon within excalibur or apps can now suffice with
> some very simple <ant/> calls to a common file, and do not need any
> images/ or dtd/ stuff mingled in with their xdocs anymore (the same is
> true for the main avalon module).

:-)

> Speed
> =====
> The latest cocoon seems even faster. I think it approaches speed of the
> <style/> task in ant, though not quite. For me, it is acceptible.

I am working on a faster CLI Cocoon, that will be much faster, because 
of an optimized different link crawling mechanism and not recreating 
docs that are uptodate.
Since Cocoon sitemap is basically a non-invertable operator (not 
function), I will need to keep track of what's happening during the build.
It will be the Forrest CLI, and maybe will be able to go back to Cocoon 
when ready.

> We're far from done. Here's a list of stuff still needing work:
> 
> Things still to do
> ==================
> 
> This is top-of-my-head stuff.
> 
> Things we need to do soon (ie two-week-deadline)
> ------------------------------------------------
> - fix "developing with avalon"
> - fix last few bits in avalon-apps
> - update anakia build scripts to use menu.xml
> - update anakia to use document-v10.dtd
> 
> Thins we want to do
> -------------------
> - move to use document-v11.dtd+

When it's ready.
We are in the final stage now, and are seeing how to use a subset of 
XHTML directly inside the DTD.

> - move to use libre (maybe)

When it's ready and easy to use.

> - move to use forrest skin (maybe tweaked a bit)
> - extract common functionality for doc generation like has happened for
> excalibur & apps and move this to jakarta-avalon-site

+1 (ie I will help)
We will be able to remove it altogether from that module once I set-up 
Centipede.

Currently Centipede seems stalled, but it's just an impression.
The last discussions have been enough to understand what to do, and I'm 
moving now in ant-dev to finish the import tag.

Locally I have a modified Centipede that is installed as an extension to 
Ant, so I'm able to use the Ant scripts to run both Ant and Centipede 
scripts.

> - add layer between ant documentation targets and actual tool like has
> happened for apps
> - make menu.xml more similar across the board
> - make titles more similar across the board
> - increase speed of cocoon

+1 (ie I will help)

> - move anakia projects back to cocoon (maybe)

+1 (ie I will help)

> - decide what to do about custom branding of subprojects (ie use the
> phoenix logo/merlin logo I made recently, or not)
> - write "avalon for beginners"
> - improve docs for cornerstone
> - document the new doc gen process

There is already stuff in Krysalis and Forrest, we will move it all to 
Forrest.

> - inform other jakarta/xml projects of our new doc gen process
> - add notes to excalibur components that will move (have been moved) to
> commons
> - set up/write FAQ
> - figure out how to have cocoon wrap the contents of <code> at 60
> characters

Just send a RFE to Forrest-dev.

> - set up PDF generation for all documentation

Forrest now has it already per page, and soon per book.
See http://www.krysalis.org/forrest/

> - extract out the functionality in our build process usuable to everyone
> and move it to forrest/centipede/wherever

+1 I'm already doing syncs between the projects, so it will be a gradual 
evolution.

The only moment of big change will be with the DTD, but we'll have 
different Forrest committers working on that together.

So, Peter, how does this look.
Is it ok for you?

Is there something missing?

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
> From: Leo Simons [mailto:leosimons@apache.org] 
>      [echo]   Building docs, please stand by ...
>      [java] Exception in thread "main"
> java.lang.UnsupportedClassVersionError: 
> org/apache/cocoon/Main (Unsupported major.minor version 48.0)
>      [java]     at java.lang.ClassLoader.defineClass0(Native Method)
>      [java]     at

Crap!

I was hoping it would work.  I wonder what is going on with that...

> 
> I'm in the process of checking out cocoon2 (I checked out 
> xml-cocoon, built it, then found out it was the wrong one!)


Oops.  Let me know when you check it in.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Leo Simons <le...@apache.org>.
On Fri, 2002-07-26 at 21:32, Berin Loritsch wrote:
> I am done for the day, I will talk to you later

no prob.

> (My son is having
> his 10th B-Day party)!

congrats!

I've looked at FOP and they have a list of stuff they don't implement
yet from the FO spec; so it seems a bit silly to bother 'em (they
probably now of any problems); especially as it is version 0.20 or
something.

I'll just move "developing" out of the way a bit when I find more time
(I'm also done for today :|= )

cheers,

- Leo



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
I am done for the day, I will talk to you later (My son is having
his 10th B-Day party)!

> -----Original Message-----
> From: Leo Simons [mailto:leosimons@apache.org] 
> Sent: Friday, July 26, 2002 3:14 PM
> To: Avalon Development
> Subject: RE: status of doc generation
> 
> 
> nope; no good:
> 
> cvs server: Updating tools/documentation/stylesheets/system
> cvs server: Updating tools/etc
> cvs server: Updating tools/ext
> U tools/ext/cocoon-20020726-vm1.2.jar
> cvs server: tools/ext/cocoon-20020726-vm1.4.jar is no longer 
> in the repository cvs server: Updating tools/lib [lsimons 
> ~/jakarta/jakarta-avalon]$ ant docs
> Buildfile: build.xml
> 
> prepare:
> 
> html-docs:
>    [delete] Deleting directory 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build/work
>     [mkdir] Created dir: 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build/work
>      [copy] Copying 83 files to 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation
>      [copy] Copying 131 files to 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/co
> ntent/xdocs
>      [echo]
> -------------------------------------------------------------
>      [echo]   Building docs, please stand by ...
>      [java] Exception in thread "main"
> java.lang.UnsupportedClassVersionError: 
> org/apache/cocoon/Main (Unsupported major.minor version 48.0)
>      [java]     at java.lang.ClassLoader.defineClass0(Native Method)
>      [java]     at
> java.lang.ClassLoader.defineClass(ClassLoader.java:694)
>      [java]     at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.
> java:133)
>      [java]     at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:319)
>      [java]     at
> java.net.URLClassLoader.access$400(URLClassLoader.java:92)
>      [java]     at
> java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:677)
>      [java]     at java.security.AccessController.doPrivileged(Native
> Method)
>      [java]     at
> java.net.URLClassLoader.findClass(URLClassLoader.java:238)
>      [java]     at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:513)
>      [java]     at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:440)
>      [java]     at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:445)
> 
> BUILD FAILED
> 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build.xml:396: Java 
> returned: 1
> 
> Total time: 4 seconds
> [lsimons ~/jakarta/jakarta-avalon]$ ant clean
> Buildfile: build.xml
> 
> setup-properties:
> 
> clean:
>    [delete] Deleting directory 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build
> 
> BUILD SUCCESSFUL
> 
> Total time: 1 second
> [lsimons ~/jakarta/jakarta-avalon]$ ant docs
> Buildfile: build.xml
> 
> prepare:
>     [mkdir] Created dir: /mnt/var/src/cvs/jakarta/jakarta-avalon/build
> 
> html-docs:
>     [mkdir] Created dir: 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation
>     [mkdir] Created dir: 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build/docs
>     [mkdir] Created dir: 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/co
> ntent/xdocs
>     [mkdir] Created dir: 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build/work
>      [copy] Copying 83 files to 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation
>      [copy] Copied 2 empty directories to 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation
>      [copy] Copying 65 files to 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation
>      [copy] Copying 131 files to 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/co
> ntent/xdocs
>      [echo]
> -------------------------------------------------------------
>      [echo]   Building docs, please stand by ...
>      [java] Exception in thread "main"
> java.lang.UnsupportedClassVersionError: 
> org/apache/cocoon/Main (Unsupported major.minor version 48.0)
>      [java]     at java.lang.ClassLoader.defineClass0(Native Method)
>      [java]     at
> java.lang.ClassLoader.defineClass(ClassLoader.java:694)
>      [java]     at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.
> java:133)
>      [java]     at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:319)
>      [java]     at
> java.net.URLClassLoader.access$400(URLClassLoader.java:92)
>      [java]     at
> java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:677)
>      [java]     at java.security.AccessController.doPrivileged(Native
> Method)
>      [java]     at
> java.net.URLClassLoader.findClass(URLClassLoader.java:238)
>      [java]     at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:513)
>      [java]     at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:440)
>      [java]     at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:445)
> 
> BUILD FAILED
> 
> /mnt/var/src/cvs/jakarta/jakarta-avalon/build.xml:396: Java 
> returned: 1
> 
> Total time: 6 seconds
> [lsimons ~/jakarta/jakarta-avalon]$
> 
> 
> I'm in the process of checking out cocoon2 (I checked out 
> xml-cocoon, built it, then found out it was the wrong one!)
> 
> - Leo
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:avalon-dev-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <ma...@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Leo Simons <le...@apache.org>.
nope; no good:

cvs server: Updating tools/documentation/stylesheets/system
cvs server: Updating tools/etc
cvs server: Updating tools/ext
U tools/ext/cocoon-20020726-vm1.2.jar
cvs server: tools/ext/cocoon-20020726-vm1.4.jar is no longer in the
repository
cvs server: Updating tools/lib
[lsimons ~/jakarta/jakarta-avalon]$ ant docs
Buildfile: build.xml

prepare:

html-docs:
   [delete] Deleting directory
/mnt/var/src/cvs/jakarta/jakarta-avalon/build/work
    [mkdir] Created dir:
/mnt/var/src/cvs/jakarta/jakarta-avalon/build/work
     [copy] Copying 83 files to
/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation
     [copy] Copying 131 files to
/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs
     [echo]
-------------------------------------------------------------
     [echo]   Building docs, please stand by ...
     [java] Exception in thread "main"
java.lang.UnsupportedClassVersionError: org/apache/cocoon/Main
(Unsupported major.minor version 48.0)
     [java]     at java.lang.ClassLoader.defineClass0(Native Method)
     [java]     at
java.lang.ClassLoader.defineClass(ClassLoader.java:694)
     [java]     at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:133)
     [java]     at
java.net.URLClassLoader.defineClass(URLClassLoader.java:319)
     [java]     at
java.net.URLClassLoader.access$400(URLClassLoader.java:92)
     [java]     at
java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:677)
     [java]     at java.security.AccessController.doPrivileged(Native
Method)
     [java]     at
java.net.URLClassLoader.findClass(URLClassLoader.java:238)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:513)
     [java]     at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:440)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:445)

BUILD FAILED

/mnt/var/src/cvs/jakarta/jakarta-avalon/build.xml:396: Java returned: 1

Total time: 4 seconds
[lsimons ~/jakarta/jakarta-avalon]$ ant clean
Buildfile: build.xml

setup-properties:

clean:
   [delete] Deleting directory
/mnt/var/src/cvs/jakarta/jakarta-avalon/build

BUILD SUCCESSFUL

Total time: 1 second
[lsimons ~/jakarta/jakarta-avalon]$ ant docs
Buildfile: build.xml

prepare:
    [mkdir] Created dir: /mnt/var/src/cvs/jakarta/jakarta-avalon/build

html-docs:
    [mkdir] Created dir:
/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation
    [mkdir] Created dir:
/mnt/var/src/cvs/jakarta/jakarta-avalon/build/docs
    [mkdir] Created dir:
/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs
    [mkdir] Created dir:
/mnt/var/src/cvs/jakarta/jakarta-avalon/build/work
     [copy] Copying 83 files to
/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation
     [copy] Copied 2 empty directories to
/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation
     [copy] Copying 65 files to
/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation
     [copy] Copying 131 files to
/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs
     [echo]
-------------------------------------------------------------
     [echo]   Building docs, please stand by ...
     [java] Exception in thread "main"
java.lang.UnsupportedClassVersionError: org/apache/cocoon/Main
(Unsupported major.minor version 48.0)
     [java]     at java.lang.ClassLoader.defineClass0(Native Method)
     [java]     at
java.lang.ClassLoader.defineClass(ClassLoader.java:694)
     [java]     at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:133)
     [java]     at
java.net.URLClassLoader.defineClass(URLClassLoader.java:319)
     [java]     at
java.net.URLClassLoader.access$400(URLClassLoader.java:92)
     [java]     at
java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:677)
     [java]     at java.security.AccessController.doPrivileged(Native
Method)
     [java]     at
java.net.URLClassLoader.findClass(URLClassLoader.java:238)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:513)
     [java]     at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:440)
     [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:445)

BUILD FAILED

/mnt/var/src/cvs/jakarta/jakarta-avalon/build.xml:396: Java returned: 1

Total time: 6 seconds
[lsimons ~/jakarta/jakarta-avalon]$


I'm in the process of checking out cocoon2 (I checked out xml-cocoon,
built it, then found out it was the wrong one!)

- Leo



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
> From: Leo Simons [mailto:leosimons@apache.org] 
> >  On the
> > up side, the FOP messages aren't being displayed.
> 
> I just checked and the old one (which I moved to bak/bla) 
> works as well without any of the FOP errors when I use the 
> sun JDK. weird.


:)  I just updated cocoon by forcing the target="1.2" for the
    jar file.

It should work for you with JDK 1.3 now.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Leo Simons <le...@apache.org>.
On Fri, 2002-07-26 at 20:44, Berin Loritsch wrote:
> > From: Leo Simons [mailto:leosimons@apache.org] 
> 
> > docbuildlog.txt and docbuildlog-jdk14.txt are attached.
> > 
> 
> Ok.  Your ant install is in verbose mode...

that's just the -v option.

> That's why you are getting tons of extra output.

yup.

>  On the
> up side, the FOP messages aren't being displayed.

I just checked and the old one (which I moved to bak/bla) works as well
without any of the FOP errors when I use the sun JDK. weird.

- Leo



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
> From: Leo Simons [mailto:leosimons@apache.org] 

> docbuildlog.txt and docbuildlog-jdk14.txt are attached.
> 



Ok.  Your ant install is in verbose mode...

That's why you are getting tons of extra output.  On the
up side, the FOP messages aren't being displayed.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
> From: Leo Simons [mailto:leosimons@apache.org] 
> 
> I did the following:
> 
> mv jakarta-avalon bak
> cvs co -P -d jakarta-avalon > cvslog.txt
> cd jakarta-avalon
> ant clean
> ant html-docs -v > docbuildlog.txt 2> docbuildlog.txt
> export JAVA_HOME=$SUN_JAVA_HOME
> ant html-docs -v > docbuildlog-jdk14.txt 2> docbuildlog-jdk14.txt
> 
> docbuildlog.txt and docbuildlog-jdk14.txt are attached.
> 
> I dunno what you just did but cocoon won't run under IBM jdk 
> 1.3.1 4 linux anymore...though everything works with the sun 
> jdk 1.4...weird...



Ok, I will look at them.  I don't have a JDK 1.3 on my machine
anymore (I keep getting conflicts because they fight over the
windows registry :[ ).  If you could, do a fresh build of
Cocoon with JDK 1.3 and check it in to our CVS.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Leo Simons <le...@apache.org>.
On Fri, 2002-07-26 at 20:16, Berin Loritsch wrote:
> > From: Leo Simons [mailto:leosimons@apache.org] 
> > 
> > On Fri, 2002-07-26 at 20:09, Berin Loritsch wrote:
> > > It is what turns XSL:FO into a PDF.  It is reacting 
> > incorrectly to the 
> > > value in an attribute.  According to the spec, the attribute is 
> > > supposed to handle percentages (50%), but FOP is choking on it.
> > 
> > and we can't change this? Is it part of cocoon? Does the FOP 
> > author know about this? (ie where do I add what to which bug database)
> > 
> > if not, I'll just move 'developing' over to avalon-site so I 
> > can cut generation time of the other framework documentation 
> > by 90% (give or take a bit).
> > 
> > if yes, I might still do the move but it will itch less.
> 
> 
> FOP is a library used by Cocoon.  It's URI is:
> 
> http://xml.apache.org/fop
> 
> Humor me, and do a fresh checkout and an "ant clean" before
> building the docs.  Does the issue remain?  I just updated
> C2 in CVS.

I did the following:

mv jakarta-avalon bak
cvs co -P -d jakarta-avalon > cvslog.txt
cd jakarta-avalon
ant clean
ant html-docs -v > docbuildlog.txt 2> docbuildlog.txt
export JAVA_HOME=$SUN_JAVA_HOME
ant html-docs -v > docbuildlog-jdk14.txt 2> docbuildlog-jdk14.txt

docbuildlog.txt and docbuildlog-jdk14.txt are attached.

I dunno what you just did but cocoon won't run under IBM jdk 1.3.1 4
linux anymore...though everything works with the sun jdk 1.4...weird...

- Leo

RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
> From: Leo Simons [mailto:leosimons@apache.org] 
> 
> On Fri, 2002-07-26 at 20:09, Berin Loritsch wrote:
> > It is what turns XSL:FO into a PDF.  It is reacting 
> incorrectly to the 
> > value in an attribute.  According to the spec, the attribute is 
> > supposed to handle percentages (50%), but FOP is choking on it.
> 
> and we can't change this? Is it part of cocoon? Does the FOP 
> author know about this? (ie where do I add what to which bug database)
> 
> if not, I'll just move 'developing' over to avalon-site so I 
> can cut generation time of the other framework documentation 
> by 90% (give or take a bit).
> 
> if yes, I might still do the move but it will itch less.


FOP is a library used by Cocoon.  It's URI is:

http://xml.apache.org/fop

Humor me, and do a fresh checkout and an "ant clean" before
building the docs.  Does the issue remain?  I just updated
C2 in CVS.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Leo Simons <le...@apache.org>.
On Fri, 2002-07-26 at 20:09, Berin Loritsch wrote:
> > From: Leo Simons [mailto:leosimons@apache.org] 
> > 
> > I just
> > 
> > - checked out fresh copy
> > - ran ant clean
> > - modified build.xml to have -uDEBUG as an argument to cocoon
> > - ran ant html-docs -v > log.txt
> > 
> > relevant parts:
> > 
> 
> <snip type="log"/>
> 
> 
> > so yup, it could definately be a FOP problem. But I don't get why that
> means we can't do anything about it...I can't even remember what FOP
> stands for so....
> 
> FOP = Formatting Objects Processor
> 
> It is what turns XSL:FO into a PDF.  It is reacting incorrectly to the
> value in an attribute.  According to the spec, the attribute is supposed
> to handle percentages (50%), but FOP is choking on it.

and we can't change this? Is it part of cocoon? Does the FOP author know
about this? (ie where do I add what to which bug database)

if not, I'll just move 'developing' over to avalon-site so I can cut
generation time of the other framework documentation by 90% (give or
take a bit).

if yes, I might still do the move but it will itch less.

cheers,

- Leo


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
> From: Berin Loritsch [mailto:bloritsch@apache.org] 
> 
> > From: Leo Simons [mailto:leosimons@apache.org]
> > 
> > I just
> > 
> > - checked out fresh copy
> > - ran ant clean
> > - modified build.xml to have -uDEBUG as an argument to cocoon
> > - ran ant html-docs -v > log.txt
> > 
> > relevant parts:
> > 
> 
> <snip type="log"/>
> 
> 
> > so yup, it could definately be a FOP problem. But I don't 
> get why that
> means we can't do anything about it...I can't even remember 
> what FOP stands for so....



Hmmm.  It seems to be working without error for me know.

I wonder if the error has to do with JDK 1.4 or not...


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
> From: Leo Simons [mailto:leosimons@apache.org] 
> 
> I just
> 
> - checked out fresh copy
> - ran ant clean
> - modified build.xml to have -uDEBUG as an argument to cocoon
> - ran ant html-docs -v > log.txt
> 
> relevant parts:
> 

<snip type="log"/>


> so yup, it could definately be a FOP problem. But I don't get why that
means we can't do anything about it...I can't even remember what FOP
stands for so....

FOP = Formatting Objects Processor

It is what turns XSL:FO into a PDF.  It is reacting incorrectly to the
value in an attribute.  According to the spec, the attribute is supposed
to handle percentages (50%), but FOP is choking on it.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Leo Simons <le...@apache.org>.
On Fri, 2002-07-26 at 18:33, Berin Loritsch wrote:
> > From: Berin Loritsch [mailto:bloritsch@apache.org] 
> > 
> > > From: Leo Simons [mailto:leosimons@apache.org]
> > > 
> > > > > Things still to do
> > > > > ==================
> > > > > 
> > > > > This is top-of-my-head stuff.
> > > > > 
> > > > > Things we need to do soon (ie two-week-deadline)
> > > > > ------------------------------------------------
> > > > > - fix "developing with avalon"
> > > > 
> > > > It builds properly, and uses the menu.xml
> > > 
> > > I get a few thousand lines of "illegal character"...
> > 
> > :/
> > 
> > I will look into it.
> 
> 
> Were your error messages a result of the PDF generation?
> If so, these are FOP issues--and not much we can do about it.
> 
> The stylesheet might be able to be adjusted so that we don't get
> the messages--but I want the bullets and numbers to be correctly
> placed.

I just

- checked out fresh copy
- ran ant clean
- modified build.xml to have -uDEBUG as an argument to cocoon
- ran ant html-docs -v > log.txt

relevant parts:

Ant version 1.4.1 compiled on October 11 2001
Buildfile: build.xml
Detected Java version: 1.3 in: /opt/IBMJava2-131/jre
Detected OS: Linux
parsing buildfile /mnt/var/src/cvs/jakarta/jakarta-avalon/build.xml with
URI = file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build.xml
Project base dir set to: /mnt/var/src/cvs/jakarta/jakarta-avalon
 [property] Loading
/mnt/var/src/cvs/jakarta/jakarta-avalon/ant.properties
 [property] Unable to find property file:
/mnt/var/src/cvs/jakarta/jakarta-avalon/ant.properties
 [property] Loading /home/lsimons/.ant.properties
 [property] Unable to find property file: /home/lsimons/.ant.properties
Property ${checkstyle.jar} has not been set
Build sequence for target `html-docs' is [prepare, html-docs]
Complete build sequence is [prepare, html-docs, setup-properties, clean,
distclean, javadocs, local-javadocs, compile, test-report, src-dist,
prepare-conf, all, compile-exceptionutil, jar-exceptionutil, main,
dist.lite, printerdocs, checkstyle, checkstyle-report, docs,
local-xdocs, bin-dist, install-check-cjan, install, announcement,
local-docs, site-docs, dist, sitebook2docbook, usage, help, uninstall,
check, test]
<snip>
     [java] .
     [java] DEBUG   2002-07-26 19:50:36.432 [build/wo] ():
mangle("developing/developing-with-avalon.pdf")
     [java] DEBUG   2002-07-26 19:50:36.432 [build/wo] ():
developing/developing-with-avalon.pdf
     [java] DEBUG   2002-07-26 19:50:36.432 [build/wo] ():
FileSavingEnvironment: uri = developing/developing-with-avalon.pdf
     [java] DEBUG   2002-07-26 19:50:36.432 [build/wo] (): DEBUGGING
INFORMATION:
     [java] REQUEST: developing/developing-with-avalon.pdf
     [java] 
     [java] CONTEXT PATH: null
     [java] SERVLET PATH: developing/developing-with-avalon.pdf
     [java] PATH INFO: null
     [java] 
     [java] REMOTE HOST: localhost
     [java] REMOTE ADDRESS: 127.0.0.1
     [java] REMOTE USER: lsimons
     [java] REQUEST SESSION ID: null
     [java] REQUEST PREFERRED LOCALE: en_US
     [java] SERVER HOST: Apache Cocoon 2.1-dev
     [java] SERVER PORT: -1
     [java] 
     [java] METHOD: get
     [java] CONTENT LENGTH: -1
     [java] PROTOCOL: cli
     [java] SCHEME: cli
     [java] AUTH TYPE: null
     [java] 
     [java] CURRENT ACTIVE REQUESTS: 1
     [java] REQUEST PARAMETERS:
     [java] 
     [java] PARAM: 'accept' VALUES: '[text/html, */*]'
     [java] PARAM: 'user-agent' VALUES: '[Apache Cocoon 2.1-dev]'
     [java] HEADER PARAMETERS:
     [java] 
     [java] 
     [java] SESSION ATTRIBUTES:
     [java] 
     [java] 
     [java] DEBUG   2002-07-26 19:50:36.436 [        ] (): Logger for
category sitemap.transformer.xinclude not defined in configuration. New
Logger created and returned
     [java] DEBUG   2002-07-26 19:50:36.436 [        ] (): Logger for
category sitemap.transformer.xinclude not defined in configuration. New
Logger created and returned
     [java] DEBUG   2002-07-26 19:50:36.524 [build/wo] (): Resolving
'content/xdocs/developing/index.xml' with base
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in
context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:36.524 [build/wo] (): Resolved to
systemID
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/index.xml'
     [java] DEBUG   2002-07-26 19:50:36.524 [build/wo] (): Creating
source object for
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/index.xml
     [java] DEBUG   2002-07-26 19:50:36.524 [build/wo] (): Resolving
'library/xslt/docbook2fo.xsl' with base
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in
context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:36.524 [build/wo] (): Resolved to
systemID
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/library/xslt/docbook2fo.xsl'
     [java] DEBUG   2002-07-26 19:50:36.524 [build/wo] (): Creating
source object for
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/library/xslt/docbook2fo.xsl
     [java] DEBUG   2002-07-26 19:50:36.525 [build/wo] (): No mime-type
for xmlizing
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/library/xslt/docbook2fo.xsl, guessing text/xml
     [java] DEBUG   2002-07-26 19:50:36.525 [build/wo] (): Got a
org.apache.avalon.excalibur.xml.JaxpParser from the pool.
     [java] DEBUG   2002-07-26 19:50:36.558 [build/wo] (): Put a
org.apache.avalon.excalibur.xml.JaxpParser back into the pool.
     [java] DEBUG   2002-07-26 19:50:36.560 [build/wo] (): Got a
org.apache.cocoon.components.sax.XMLByteStreamCompiler from the pool.
     [java] DEBUG   2002-07-26 19:50:36.926 [build/wo] (): No mime-type
for xmlizing
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/index.xml, guessing text/xml
     [java] DEBUG   2002-07-26 19:50:36.926 [build/wo] (): Got a
org.apache.avalon.excalibur.xml.JaxpParser from the pool.
     [java] DEBUG   2002-07-26 19:50:36.927 [build/wo] (): Resolving
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/index.xml' with base 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:36.927 [build/wo] (): Resolved to
systemID
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/index.xml'
     [java] DEBUG   2002-07-26 19:50:36.928 [build/wo] (): Creating
source object for
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/index.xml
     [java] DEBUG   2002-07-26 19:50:36.928 [build/wo] (): Resolving
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/' with base 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:36.928 [build/wo] (): Resolved to
systemID
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/'
     [java] DEBUG   2002-07-26 19:50:36.928 [build/wo] (): Creating
source object for
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/
     [java] DEBUG   2002-07-26 19:50:37.590 [build/wo] (): Resolving
'context://content/xdocs/developing/' with base
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in
context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:37.590 [build/wo] (): Resolved to
systemID 'context://content/xdocs/developing/'
     [java] DEBUG   2002-07-26 19:50:37.590 [build/wo] (): Creating
source object for context://content/xdocs/developing/
     [java] DEBUG   2002-07-26 19:50:37.590 [        ] ():
CommandlineContext: getResource=/content/xdocs/developing/
     [java] DEBUG   2002-07-26 19:50:37.590 [build/wo] (): Resolving
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/' with base 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:37.590 [build/wo] (): Resolved to
systemID
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/'
     [java] DEBUG   2002-07-26 19:50:37.590 [build/wo] (): Creating
source object for
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/
     [java] DEBUG   2002-07-26 19:50:37.723 [build/wo] (): Resolving
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/../authors/bloritsch.xml' with base 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:37.723 [build/wo] (): Resolved to
systemID
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/../authors/bloritsch.xml'
     [java] DEBUG   2002-07-26 19:50:37.723 [build/wo] (): Creating
source object for
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/../authors/bloritsch.xml
     [java] DEBUG   2002-07-26 19:50:37.736 [build/wo] ():
ComponentFactory creating new instance of
org.apache.avalon.excalibur.xml.JaxpParser.
     [java] DEBUG   2002-07-26 19:50:37.736 [build/wo] (): logger
attribute is core.xml-parser
     [java] DEBUG   2002-07-26 19:50:37.736 [        ] (): Logger for
category core.xml-parser not defined in configuration. New Logger
created and returned
     [java] DEBUG   2002-07-26 19:50:37.737 [build/wo] (): Created a new
org.apache.avalon.excalibur.xml.JaxpParser from the object factory.
     [java] DEBUG   2002-07-26 19:50:37.738 [build/wo] (): Got a
org.apache.avalon.excalibur.xml.JaxpParser from the pool.
     [java] DEBUG   2002-07-26 19:50:37.756 [build/wo] (): Put a
org.apache.avalon.excalibur.xml.JaxpParser back into the pool.
     [java] DEBUG   2002-07-26 19:50:37.780 [build/wo] (): Resolving
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/changes.xml' with base 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:37.780 [build/wo] (): Resolved to
systemID
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/changes.xml'
     [java] DEBUG   2002-07-26 19:50:37.780 [build/wo] (): Creating
source object for
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/changes.xml
     [java] DEBUG   2002-07-26 19:50:37.780 [build/wo] (): Got a
org.apache.avalon.excalibur.xml.JaxpParser from the pool.
     [java] DEBUG   2002-07-26 19:50:38.590 [build/wo] (): Put a
org.apache.avalon.excalibur.xml.JaxpParser back into the pool.
     [java] DEBUG   2002-07-26 19:50:38.591 [build/wo] (): Resolving
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/introduction.xml' with base 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:38.591 [build/wo] (): Resolved to
systemID
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/introduction.xml'
     [java] DEBUG   2002-07-26 19:50:38.591 [build/wo] (): Creating
source object for
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/introduction.xml
     [java] DEBUG   2002-07-26 19:50:38.591 [build/wo] (): Got a
org.apache.avalon.excalibur.xml.JaxpParser from the pool.
     [java] DEBUG   2002-07-26 19:50:39.344 [build/wo] (): Put a
org.apache.avalon.excalibur.xml.JaxpParser back into the pool.
     [java] DEBUG   2002-07-26 19:50:39.345 [build/wo] (): Resolving
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/decomposing.xml' with base 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:39.345 [build/wo] (): Resolved to
systemID
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/decomposing.xml'
     [java] DEBUG   2002-07-26 19:50:39.345 [build/wo] (): Creating
source object for
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/decomposing.xml
     [java] DEBUG   2002-07-26 19:50:39.345 [build/wo] (): Got a
org.apache.avalon.excalibur.xml.JaxpParser from the pool.
     [java] DEBUG   2002-07-26 19:50:40.108 [build/wo] (): Put a
org.apache.avalon.excalibur.xml.JaxpParser back into the pool.
     [java] DEBUG   2002-07-26 19:50:40.109 [build/wo] (): Resolving
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/framework.xml' with base 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:40.109 [build/wo] (): Resolved to
systemID
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/framework.xml'
     [java] DEBUG   2002-07-26 19:50:40.109 [build/wo] (): Creating
source object for
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/framework.xml
     [java] DEBUG   2002-07-26 19:50:40.109 [build/wo] (): Got a
org.apache.avalon.excalibur.xml.JaxpParser from the pool.
     [java] DEBUG   2002-07-26 19:50:40.769 [build/wo] (): Put a
org.apache.avalon.excalibur.xml.JaxpParser back into the pool.
     [java] DEBUG   2002-07-26 19:50:40.769 [build/wo] (): Resolving
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/implementing.xml' with base 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:40.770 [build/wo] (): Resolved to
systemID
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/implementing.xml'
     [java] DEBUG   2002-07-26 19:50:40.770 [build/wo] (): Creating
source object for
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/implementing.xml
     [java] DEBUG   2002-07-26 19:50:40.770 [build/wo] (): Got a
org.apache.avalon.excalibur.xml.JaxpParser from the pool.
     [java] DEBUG   2002-07-26 19:50:41.551 [build/wo] (): Put a
org.apache.avalon.excalibur.xml.JaxpParser back into the pool.
     [java] DEBUG   2002-07-26 19:50:41.552 [build/wo] (): Resolving
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/conclusion.xml' with base 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:41.552 [build/wo] (): Resolved to
systemID
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/conclusion.xml'
     [java] DEBUG   2002-07-26 19:50:41.552 [build/wo] (): Creating
source object for
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/conclusion.xml
     [java] DEBUG   2002-07-26 19:50:41.552 [build/wo] (): Got a
org.apache.avalon.excalibur.xml.JaxpParser from the pool.
     [java] DEBUG   2002-07-26 19:50:42.237 [build/wo] (): Put a
org.apache.avalon.excalibur.xml.JaxpParser back into the pool.
     [java] DEBUG   2002-07-26 19:50:42.238 [build/wo] (): Resolving
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/changes.xml' with base 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/' in context 'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/'
     [java] DEBUG   2002-07-26 19:50:42.238 [build/wo] (): Resolved to
systemID
'file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/changes.xml'
     [java] DEBUG   2002-07-26 19:50:42.238 [build/wo] (): Creating
source object for
file:/mnt/var/src/cvs/jakarta/jakarta-avalon/build/documentation/content/xdocs/developing/changes.xml
     [java] DEBUG   2002-07-26 19:50:42.238 [build/wo] (): Got a
org.apache.avalon.excalibur.xml.JaxpParser from the pool.
     [java] DEBUG   2002-07-26 19:50:42.939 [build/wo] (): Put a
org.apache.avalon.excalibur.xml.JaxpParser back into the pool.
     [java] illegal char value -30
     [java] illegal char value -116
     [java] illegal char value -26
     [java] illegal char value -24
<snip>
     [java] illegal char value -28
     [java] illegal char value -26
     [java] illegal char value -21
     [java] DEBUG   2002-07-26 19:50:48.891 [build/wo] (): Put a
org.apache.avalon.excalibur.xml.JaxpParser back into the pool.
     [java] DEBUG   2002-07-26 19:50:48.893 [build/wo] (): Put a
org.apache.cocoon.components.sax.XMLByteStreamCompiler back into the
pool.
     [java] INFO    2002-07-26 19:50:48.893 [build/wo] ():   Link
translated: developing/developing-with-avalon.pdf
     [java] .
     [java] 


so yup, it could definately be a FOP problem. But I don't get why that
means we can't do anything about it...I can't even remember what FOP
stands for so....

- Leo



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
> From: Berin Loritsch [mailto:bloritsch@apache.org] 
> 
> > From: Leo Simons [mailto:leosimons@apache.org]
> > 
> > > > Things still to do
> > > > ==================
> > > > 
> > > > This is top-of-my-head stuff.
> > > > 
> > > > Things we need to do soon (ie two-week-deadline)
> > > > ------------------------------------------------
> > > > - fix "developing with avalon"
> > > 
> > > It builds properly, and uses the menu.xml
> > 
> > I get a few thousand lines of "illegal character"...
> 
> :/
> 
> I will look into it.


Were your error messages a result of the PDF generation?
If so, these are FOP issues--and not much we can do about it.

The stylesheet might be able to be adjusted so that we don't get
the messages--but I want the bullets and numbers to be correctly
placed.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
> From: Leo Simons [mailto:leosimons@apache.org] 
> 
> > > Things still to do
> > > ==================
> > > 
> > > This is top-of-my-head stuff.
> > > 
> > > Things we need to do soon (ie two-week-deadline)
> > > ------------------------------------------------
> > > - fix "developing with avalon"
> > 
> > It builds properly, and uses the menu.xml
> 
> I get a few thousand lines of "illegal character"...

:/

I will look into it.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Leo Simons <le...@apache.org>.
> > Things still to do
> > ==================
> > 
> > This is top-of-my-head stuff.
> > 
> > Things we need to do soon (ie two-week-deadline)
> > ------------------------------------------------
> > - fix "developing with avalon"
> 
> It builds properly, and uses the menu.xml

I get a few thousand lines of "illegal character"...

> > - move to use libre (maybe)
> 
> :/  I have to be convinced its really better

I have understood it will at some point enable me to drop an xml file
like

00104.whatisavalon.xml
----------------------
<faqentry>
	<question>What is Avalon?</question>
	<answer>
	It is really cool.
	</answer>
	<see>
<link href="http://jakarta.apache.org/avalon">Avalon Website</link>
	</see>
</faqentry>

into a directory and then that file will be added to the FAQ. I don't
care about "better", I want features like that =)

> > - extract common functionality for doc generation like has 
> > happened for excalibur & apps and move this to jakarta-avalon-site
> 
> +1.  I would like to have a docbuild.xml file, which will choose
>      Anakia/Cocoon based on a property.

just look at
jakarta-avalon-apps/build.xml
jakarta-avalon-apps/default.properties
jakarta-avalon-apps/xcommander/build.xml
jakarta-avalon-apps/xcommander/default.properties

it is 80% done =)

> > - increase speed of cocoon
> 
> That's a Cocoon concern--its fast enough for now.  The most important
> thing is reducing its memory requirements.

hmm. All I know is y'all is doin it =)

> > - move anakia projects back to cocoon (maybe)
> 
> The important thing is that we get to a common base, and let the
> individual project decide.

+1

> > - figure out how to have cocoon wrap the contents of <code> 
> > at 60 characters
> 
> :/  I would be happy enough with a warning.

+1

> > - extract out the functionality in our build process usuable 
> > to everyone and move it to forrest/centipede/wherever
> 
> Forrest is in the process of "productizing" a cocoon doc
> generation environment.  It will make maintaining the skins/
> PDF docs, etc. much easier.

+1

> > If I do it all by myself it'll take around 2 years =)
> 
> You're not alone.

+1000!

- LSD



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: status of doc generation

Posted by Berin Loritsch <bl...@apache.org>.
> From: Leo Simons [mailto:leosimons@apache.org] 
> 
> All,
> 
> both Nicola and me have been sick (poor fellas, we are :P) so 
> we're not moving as fast as planned. Marc Portier (from 
> Forrest) has had some more urgent things to attend to so his 
> planned contributions are on the backburner. Berin is always 
> busy but is still doing nice work.

Poor guys.

> 
> book.xml/project.xml --> menu.xml 
> ================================= Berin's changed cocoon to 
> use menu.xml and is now looking at doing the same for anakia. 
> The result is that some subsubprojects in avalon-apps are 
> still broken (there is no menu) because menu.xml needs to be updated.


For Excalibur, it is done.

> 
> removal of cruft
> ================
> Projects that use cocoon within excalibur or apps can now 
> suffice with some very simple <ant/> calls to a common file, 
> and do not need any images/ or dtd/ stuff mingled in with 
> their xdocs anymore (the same is true for the main avalon module).

I am removing the last remaining bits of cruft, and fixing the
individual doc building problems while I'm at it.

> 
> Speed
> =====
> The latest cocoon seems even faster. I think it approaches 
> speed of the <style/> task in ant, though not quite. For me, 
> it is acceptible.
> 
> 
> We're far from done. Here's a list of stuff still needing work:

It's pretty quick.

> 
> Things still to do
> ==================
> 
> This is top-of-my-head stuff.
> 
> Things we need to do soon (ie two-week-deadline)
> ------------------------------------------------
> - fix "developing with avalon"

It builds properly, and uses the menu.xml

> - fix last few bits in avalon-apps

I'll look into that.

> - update anakia build scripts to use menu.xml

For Excalibur, this is done.

> - update anakia to use document-v10.dtd

This is a will do--We at least get something
even with Cocoon.  It's not pretty, but we
get something.

> 
> Thins we want to do
> -------------------
> - move to use document-v11.dtd

+1

> - move to use libre (maybe)

:/  I have to be convinced its really better

> - extract common functionality for doc generation like has 
> happened for excalibur & apps and move this to jakarta-avalon-site

+1.  I would like to have a docbuild.xml file, which will choose
     Anakia/Cocoon based on a property.

> - add layer between ant documentation targets and actual tool 
> like has happened for apps
> - make menu.xml more similar across the board

+1

> - make titles more similar across the board

+1

> - increase speed of cocoon

That's a Cocoon concern--its fast enough for now.  The most important
thing is reducing its memory requirements.

> - move anakia projects back to cocoon (maybe)

The important thing is that we get to a common base, and let the
individual project decide.

> - decide what to do about custom branding of subprojects (ie 
> use the phoenix logo/merlin logo I made recently, or not)

the project.xml (now menu.xml) file format has a <logo/> element,
which we need to support.

> - write "avalon for beginners"
> - improve docs for cornerstone
> - document the new doc gen process
> - inform other jakarta/xml projects of our new doc gen process
> - add notes to excalibur components that will move (have been 
> moved) to commons
> - set up/write FAQ
> - figure out how to have cocoon wrap the contents of <code> 
> at 60 characters

:/  I would be happy enough with a warning.

> - set up PDF generation for all documentation

+1  That is part of the Forrest effort.

> - extract out the functionality in our build process usuable 
> to everyone and move it to forrest/centipede/wherever


Forrest is in the process of "productizing" a cocoon doc
generation environment.  It will make maintaining the skins/
PDF docs, etc. much easier.

> 
> If I do it all by myself it'll take around 2 years =)

You're not alone.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>