Vincent Massol wrote:
-----Original Message-----
From: Christopher Lenz [mailto:[EMAIL PROTECTED]
Sent: 19 October 2003 17:04
To: Cactus Developers List
Subject: Re: building using maven?
In the context of our build system, I'd like to eventually experiment
with Ant 1.6, which I think could considerably simplify our build too.
The new tasks such as <subant>, <macrodef> and <presetdef> and
<import>
look pretty damn cool [1]. And as we're targetting a non-released
version of Maven, it's only fair to compare against the latest and
greatest of Ant ;-)

I completely agree. There are also several other subtle things like propertysets/etc which will even further improve the build. I'm all for an honest comparison!

+0 to you changing the build! Of course the Ant integration must keep
working with Ant 1.5.x.  I wouldn't be opposed at mandating Ant 1.6 for
building Cactus from the sources. However, I'd say the generated sample
application build scripts should stay compatible with Ant 1.5.x

Sure. I think we'll be able to provide a Cactus "antlib" without compromising compatibility with Ant 1.5.


I'm not yet convinced about switching to Maven. Looking at the xdoc
plugin, I'm rather opposed to the approach used (JSL and a bunch of
color properties) and I find it really hard to believe that the main
communication channel between the report generators and the
documentation generation -- the XML document format -- is not even
based
on a formal schema. The need to provide a jelly script just to enable
multiple parallel source paths for compilation is just silly -- the
POM
is obviously too limited here, and it gets worked around with
scripting.
:-(

There's a better solution: to use a stylesheet (I've posted the solution some time ago when answering Julien's question on maven). Providing a custom stylesheet is supported by the maven xdoc plugin (or the site plugin, can't remember exactly).

Yeah, it is supported, but then we're pretty much replacing the entire xdoc plugin functionality AFAICT. Basically, the xdoc plugin *is* the stylesheet, no? I.e. there's no separation between the logic (directory traversal, navigation, etc) and the templating.


--
Christopher Lenz
/=/ cmlenz at gmx.de


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



Reply via email to