cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fe...@otego.com>
Subject Replace sitemaptags2daisy script by maven plugin
Date Mon, 04 Aug 2008 14:21:54 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

First attempt to replace the script by a maven plugin to update Daisy with the cocoon.sitemap.*
annotations when
generating the docs.

How to build and test:

1. Apply the attached patch to cocoon src trunk.
2. If you recently build the trunk a rebuild of the trunk/parent should be sufficient, otherwise
rebuild the whole
project. This is needed because of plugin/artifact management.
3. Do a checkout of http://svn.apache.org/repos/asf/cocoon/whiteboard/cocoon-sitemaptags2daisy-plugin
and build it (mvn
install)
4. Follow http://cocoon.apache.org/1256_1_1.html "Configure settings.xml" and "Build all modules
..." (you'll need daisy
admin rights to do this).
5. Follow the daisy update checks maven is doing (or at least should do ;-) ), looking equal
to the ones shown by the
script.

Some notes:
- - Username and password are taken from the settings.xml (see 4.)
- - Default values are set by the plugin itself (simulateInput=false, daisyServerId=cocoon-daisy,
repoUrl=http://cocoon.zones.apache.org:9263

If you think it's useful please report any suggestions or bugs so I (we) can fix them and
replace the script (which
seems to be very rarely run).

If nothing works as expected blame the author ;-)

Felix

PS:
At 4. I needed to run skipping tests (mvn install -P daisy -Dmaven.test.skip=true) because
surefire threw some NPE, not
knowing yet why ...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiXEIIACgkQ2lZVCB08qHH+zQCfZnt1rwY0z1qWkntp7W4CbIml
jaYAn1zutYGrWDcIbkFZCI6IzPfbsm2U
=+bhn
-----END PGP SIGNATURE-----

Mime
View raw message