> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 03, 2004 1:36 PM
> To: Maven Users List
> Subject: Re: [maven2] Anything Groovy in Maven2?
> 
> 
> Trygve Laugst�l <[EMAIL PROTECTED]> wrote on 03/05/2004 
> 08:43:15 PM:
> [snip]
>  
> > I relly don't thinkt this is so bad. Most of the plugins 
> are much more 
> than
> > one liners and as you can see the overhead for each file here is 4 
> lines.
> 
> 4 lines, and it's not as functional. The Maven2 clean plugin 
> is over 100 
> lines of java. The jelly version is just over 10. We're 
> talking orders of 
> magnitude more code, and the Ant codebase is well tested, as 
> evidenced by 
> the copying of bizarre code from it into Maven2.

I don't think it will be that bad. Now clean, jar, compile plugin and it's
goal can be easly reused in other plugins
(e.g you don't have to write the same code for test plugin). 

My main problem with jelly/current design is that it disallows to reuse the
code easly. 
See how test plugin is similar to java plugin. 
Duplicated code = no consitency = bad design. More over nobody else was ever
reusing our long jelly scripts.
With simple Pojo stratgey we might even serve as source of ant tasks!


Once we will cover basic functionality
(it's not that far from now) we will have our own building blocks which will
enable fast development.
I believe actually that we will be much faster after passing some point then
we are now.


> 
> > On the upside the plugins will be much easier to test and 
> will run fast 
> as
> > hell.
> 
> Definitely, but this doesn't help people write them first time. 
> 
Sure. But I don't know a single person which tried to implement something
with jelly 
which was really productive. I dare to say that it will be much faster to
write plugins in Java then in jelly.
I spent myself hours doing something horribly basic in jelly. And note that
number of users of plugins in not comparable
with the number of plugin devlopers. Most people just use the plugins and
the way it is implemented is not importand for them

regards

Michal

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

Reply via email to