-
1. Re: XDoclet and JBoss 3.0.0 RC1
davidjencks Apr 15, 2002 3:27 PM (in response to mozer)I thought this was fixed in 1.1.2, I'm pretty sure it is fixed in xdoclet cvs and the xdoclet/xjavadoc binary in jboss cvs. I think I added a tag to suppress these empty elements, and I think someone else made another fix. You might look in the xdoclet templates.
-
2. Re: XDoclet and JBoss 3.0.0 RC1
mozer Apr 16, 2002 12:37 PM (in response to mozer)Hmm...I compared my generated xml to the DTD online, and the xml was definitely wrong.
I tried substituting the xdoclet.jar that ant uses ($ANT_HOME/lib/xdoclet.jar) with the one from the jboss cvs, but then ant complained about a missing EjbDocletTask class. Still, if I list the contents of the cvs version of xdoclet.jar, the class is, of course, there. Is there some sort of dependency problem that stops me from simply switching xdoclet jars?
/Peter -
3. Re: XDoclet and JBoss 3.0.0 RC1
aguevara Apr 17, 2002 3:52 PM (in response to mozer)try adding xjavadoc.jar the the classpath, with the new xdoclet that file is required for the ejbdoclet task
-
4. Re: XDoclet and JBoss 3.0.0 RC1
aguevara Apr 17, 2002 4:34 PM (in response to mozer)hi...
adding xjavadoc.jar worked for me, well at least xdoclet ran, but still I'm getting the same error you pointed out previusly when deploying the beans. -
5. Re: XDoclet and JBoss 3.0.0 RC1
jules Aug 6, 2002 6:15 PM (in response to mozer)Peter - did you get over this - I am having exactly the same problem on HEAD with a 1-N unidirectional relationship and whatever version of xdoclet is in HEAD.
I think it looks like xdoclet just failing to insert a key-field in jbosscmp-jdbc.xml, but cannot find a tag that will do it.
I would be very grateful to hear if you had any luck.
The test programs seem to do it, but I cannot isolate whatever it is that they are doing....
Jules
P.S.
Just to complicate matters (and possibly the cause of my problem) is the fact that the Object on the 1 side of the realationship has a complex key.
Maybe I will make it a simple key and see if that works... -
6. Re: XDoclet and JBoss 3.0.0 RC1
dsundstrom Aug 6, 2002 6:25 PM (in response to mozer)I have been using XDoclet cvs HEAD, and all of these wierd problems seem to have gone away.