Hi Ben,

On Thu, 2003-06-12 at 12:46, Ben Walding wrote:
> You've got a bit of a chicken and egg problem if you wanted it formatted 
> into xdoc.

... it's solvable by a generating the site twice, which I do here:

> You could however do something like
> 
> maven <stuff> site:generate > target/docs/log.txt

Then I replace all the <, > and % chars 'cause it's xml! 
On a proper UNIX box you do

   cat log.txt | sed -e "s/\&/\&amp\;/g" | sed -e "s/</\&lt\;/g" | sed
-e "s/>/\&gt\;/g" >> xdocs/build_report.xml

then run site generation again:

   maven <stuff> site:generation

(where I have a link to build_report.html in my navigation.xml) 

> maven site:sshdeploy (doesn't regen the site)

Done.

+0.5 to "include in future maven releases"
-- 
Martin Skopp
Riege Software International GmbH
Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com

This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to