Carsten Ziegeler wrote:
Stephen McConnell wrote:
Carsten:

I thought the build system we use in excalibur is currently still ant and maven is only experimental.

The experimental maven build system in excalibur sucks bigtime. Don't touch it. (I'm allowed to say that because it was all my fault.) The not-so-experimental system in the avalon cvs sucks slightly less but is way too complex for what it accomplishes.


The stuff Steve pointed at is far from experimental. Maven itself is pretty usable, and for big repositories with many subprojects as well. Once you figure out how.

Can I build the dist with maven?

Not at the moment.


To migrate to maven, you would need to

- write a project.xml file (which is easily done using copy-paste and a quick glance at the maven docs)
- change the xdocs files by hand into maven/anakia format
- write an ant buildfile for gump integration by hand (the maven goal named 'ant' which does this for you automatically is not really suitable for gump integration); reusing ~/avalon/buildsystem/maven-common-gump-build.xml if you want and copy-pasting from ~/avalon/framework/build.xml.
- maybe update the gump descriptor for the avalon-excalibur module to reflect the changed situation (like changing the ant target the gump descriptor references)



what Steve and I have been at as well is doing a little more, namely generating a seperate 'api' jar and an 'impl' jar. To do that you'd need to actually split up the project into two (store/api and store/impl, for example). A good example lives in avalon-sandbox/framework; another one (that also generates combined jars and the like) is in experimental mode @ http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jicarilla/jicarilla-sandbox/platform/


the first time you go through all that, it takes you maybe 2 hours to get it all right and figured out for a particular component. The tenth time, about 15 minutes.

hope that makes things more clear!

cheers,

- Leo



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



Reply via email to