--- Bruce Scharlau <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I'm trying to work out xdoclet a bit more indepth
> and have been trying to 
> compile it and deploy it on jboss-tomcat. It
> compiles ok, and I seem to 
> have sorted out the problems with the sample code
> that comes with the 1.1.2 
> distro, however, I keep getting an error when I
> deploy it saying:
> 
> Error in ejb-jar.xml for Entity Bean bank/Customer:
> cmp-version must be 
> '1.x' or '2.x', if specified
>          at 
>
org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:191)
>          at
>
org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:151)
> 
> I've checked the generated code and it seems fine.
> It says
> 
> <cmp-version>2.x</cmp-version>
> 
> 
> Any clues as to what's going wrong here greatly
> appreciated.

To provide clues one would need to see your build.xml
snippet where you call xdoclet. 

And also you may consider to use 1.2 version 
( which is in beta right now )

regards,

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com


-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to