Re: PicoInitializationException when trying to run custom plugin

Konstantin Priblouda <kpriblouda-/[email protected]> Fri, 29 Dec 2006 05:42:20 -0800 (PST)
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
--- [email protected] wrote:

> Hi,
> 
> I'm getting PicoInitializationException when trying
> to run custom  
> plugin with Ant (version 1.6.5) running on Eclipse.
> I have tested Beaninfo plugin and it is working
> fine, but my own  
> plugin based on Beaninfo is not working.
> 
> Here is my Plugin code (it is simply cut and pasted
> from Beaninfo):


What says debug output of ant?
PicoInitialisationException typically means one
of the following 
  - no suitable dependencies could be found
  - no suitable counstructor could be found
  - something really ugly happened in constructor of
your plugin. 

( and this constructor should be public, and not
protected like in your example ) 

As there are freshly released versions of xdoclet &
generama ( 2.0.6 & 1.2.3  IIRC ) , you should use 
them ( get them from http://dist.codehaus.org , 
or even better, use maven ant tasks to do this ) 

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV