Re: Can't get TaglibPlugin to work

Konstantin Priblouda <kpriblouda-/[email protected]> Fri, 5 Jan 2007 09:28:42 -0800 (PST)
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
--- Bob Arnott <boba-U8TBzFvJ7ndWk0Htik3J/[email protected]> wrote:

> Konstantin Priblouda wrote:
>  >
>  > Well, for starters - 1.0.3 is pretty old version
>  > and I'm not sure it worked well back then.  Now
> there
>  > is 1.0.4-SNAPSHOT ( ougth to be released, pretty
>  > mature )  and taglib plugin is moved to
> plugin-web
> 
> Well the front page of http://xdoclet.codehaus.org/
> lists 1.0.3 as the
> latest version, if this isn't the case then a page
> update might be in
> order...

Page is definitely out of synch,  and new release is
really due - but there are some rough sports 
( like automatic docs upload etc ) which require some
manpowr, which I'm lacking right now.


>  > Also as we have maven-2 build easiest way would
> be to
>  > use  m2, or m2 ant tasks which will provide
>  > dependencies for you.
> 
> I can't use Maven on this project, it has to be ant
> and I'm too far into
> it to faff with the maven ant task stuff.

well, then you 'll have to grab all the dependencies 
yourself.  they reside ( for xdoclet / generama /
plugins part ) in http://dist.codehaus.org/

you may also try some magic from maven dist plugin to 
puzt everything together. 

> I checked out the source of xdoclet2 and the
> plugins, why can't they be
> in the same repository...? 
this is for historical reasons because it is (was) way

easier to nominate new commiters for plugin on
sourceforge, while there was much less people working
on the core ( which is now released & mature ) 

> I also had to check out
> and build Generama,
> but got it all running. 

NOrmally you would not need to checkout anything but
plugins itself to build them.  Since plugins have m2
build ( m1 could be out of date ) , everything
necessary would be downloaded automatically. 

> However, it still doesn't
> pick up the tags in
> my files. I stuck log4j in there with a basic config
> and it's reporting
> that an exception is being thrown -

Well, for me it looks that commons-logging or log4j
barfed on unknown cause ( probably  stale jar ) while
creating qdox plugin
( at least this states that you got your configuration
right, otherwise you will get exceptions fm pico ) 

As for tags not being seen, common cause is lack of 
javax.servlet* classes on classpath.


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