Hi Michael

On 9/27/05, Michael Aemisegger <dev-list@magnolia.info> wrote:
> The committers of Jackrabbit also moved to the multi project layout some time
> ago. Just recently they decided to revert the switch, because they found that
> the multi project layout is not yet mature enough, doesn't suite their needs
> and is to cumbersome to maintain.
>
> Can you briefly summarize why the situation for magnolia is different and why
> we should not care about the experience of the jackrabbit team?

Yes, I know that story but I think that a split makes a lot more sense
for a projects like magnolia than like jackrabbit.
First of all it's a web application, but if your are writing
"extensions" you don't want to depend on a webapp... at this moment we
can't add a separate, optional module that can be  then aggregate in
the magnolia webapp, that cause a circular dependency (you need the
webapp to build the module, and need the module to assemble the
webapp).
What the scope of magnolia modules if, if you want to build a module,
you have to build the whole webapp?

We need at least to produce a jar for the core API, for users who want
to develop their own extensions, and probably separate it from the
admin interface and tag libraries...
Having well defined and separated artifacts also allows maven users to
start a magnolia project easily.

I started moving to a multiproject structure months ago, and I too
found it more harder to maintain due to maven1 limitations... but now
the first m2 beta are out and multiproject there is a lot simpler (it
makes absolutely no difference in using a single module project or
multiple modules). As I discussed before I plan moving to m2 as soon
as the reporting stuff will match the one in maven1.
Using maven and its eclipse plugin + eclipse/WTP makes working with
this layout really simple (the WTP extension is already available in
m2 and will be soon integrated into the official m1 plugin, since I'm
now a maven committer ;) )

I absolutely don't want to add ant scripts and custom processes in
order to split jars or anything similar, THAT is too cumbersome for me


fabrizio

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to