--- "Inger, Matthew" <[EMAIL PROTECTED]> wrote:
> Do you see my point though?  It reqiures the user to
> know implementation details, which in my mind is not
> going to endear itself to your users.  While it's a
> very
> flexible model, it's confusing, and hard to deal
> with.

Yep, the model is very flexible. And to be honest, it
took me some 2-3 weeks to grok why pico/nano is really
cool ( and half year ago it was in pretty unstable
stage ) 


> And unless you're looking to lose some of your user
> base
> to newer competing products (sgen, java annotations,
> etc...),
> it would be smart to find a nicer way to run things.

at the moment there is not much user base. as it was
back in 2001 - now xdoclet 1 has reached "mainstream"
status - and it's not nice to run at all compared with
2.0


> The fact that it took me 2+ days, and couldn't
> figure out
> what i had to do to make it run correctly, should
> set off
> some bells.

The fact that you did not bothered to look into 
provided samples for 2 days, and failed to grok eror
message saying ( in clear text ) that plugin could not
be instantiated due to lack of dependencies
( ok, this eror message culd be made more explicit, 
saying "we tried constructor X, with parameters  z , y
and parameter t culd not be obtained ) .

Though this is outside of xdoclet-2 and his plugins. 
It's in picocontainer core (
ConstructorInstantiatingComponentAdapter ).

> Finally, I don't understand why one plugin can't
> specify
> it's dependencies on another plugin (as i've
> suggested below).
> I'm not saying they need to know about the
> container, just about
> the Plugin classes that they depend on.

It does not have to. In xdoclet-2 plugin does one
thing 
well - this way it could be simple.  They depend on 
template engine ( currently there are 2 - velocity &
jelly ) and writer mapper ( which defines where the
output goes.

Your proposal is about to subclas xdoclet-2 , and
automatically register
necessary components for ( say ) hibernate. It's fine
for your use case, but not for everybody.

Somebody could just write another template engine
( say, beanshell, groovy or whatever ) and mix his
plugins depending on it with default ones.


regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------


                
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to