On Tue, 2003-06-24 at 18:51, Turansky, Mark wrote:
> This is the error I'm getting:
> 
>       Class xdoclet.web.vendor.StrutsConfigXmlSubTask doesn't support the
> "version" attribute.
> 
> A good guess is that I'm using an older version of XDoclet that
> doesn't support Struts 1.1 yet (and thus the 'version' attribute)

Sounds like a fair guess to me.  That subtask certainly allows 1.0 and
1.1 in the current version.

> I downloaded the latest 1.2b4 from SourceForge,

1.2b4?  Do you mean CVS, or is that a typo?

>  I put everything into my c:\xdoclet directory, I have this directory
> and all its /lib/*.jars on my Ant compile path.
> 
> Besides looking at my xdoclet.home directory, Ant also is looking at
> an XDoclet.jar file that was created 3/11/2002, according to windows. 

Is that d/m/y or m/d/y? i.e. 3rd November or 11th March?

I suspect 11th March '02; 1.1.2 was released about then (the 10th,
according to SF's release area, but by the time you allow for timezone
differences, how long it took to build & upload, etc. that's close
enough for me).  If you've got a copy of 1.1.2 being found on the
classpath as well as the later version, it's not surprising that things
get confused.

>  When I remove this jar or change build.xml to ignore it, my build
> script cannot find the task at all, much less the version attribute.

Do you mean you remove the rogue 1.1.2 jar, or the one of the same name
from the 1.2 jars directory?


Andrew.



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to