Hi, I've tried a couple of times to resolve this, both on the JBoss forums (http://main.jboss.org/thread.jsp?forum=61&thread=5227) and on the jboss dev list (http://www.mail-archive.com/[email protected]/msg1773 2.html) but haven't been able to get a response.
>From what I gather, the local-jndi-name is valid, but not in the DTD, hence the error. If anyone wants to make a suggestion, I'm willing to listen. cheers dim ----- Original Message ----- From: "Steve Knight" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 09, 2002 7:48 AM Subject: [Xdoclet-user] local-jndi-name > Does jboss.xml support the local-jndi-name tag? Cause when I generate my > cmp beans using xdoclet, I get the following error: > > [ejbdoclet] Running <jboss/> > [ejbdoclet] Generating jboss.xml. > [ejbdoclet] Running XDoclet failed. > [ejbdoclet] javadoc: In doclet class xdoclet.DocletTask$DocletMain, method > star > t has thrown an exception java.lang.reflect.InvocationTargetException > [ejbdoclet] <<Generated file > [file:E:/middlegen/mytest/build/ejb/classes/META-IN > F/jboss.xml:line 11] Message=[Element "entity" does not allow > "local-jndi-name" > here.] is not valid according to its DTD. This might be due to some missing > @tag > s in your source.>> > [ejbdoclet] 1 error > [ejbdoclet] 2 warnings > > BUILD FAILED > > So, I have to manually edit the jboss.xml file and remove the DOCTYPE line > each time. > Is there a new DTD for jboss.xml that supports <local-jndi-name> tag? > If not, how can I tell XDoclet to NOT put in the DOCTYPE line...without > crashing the build somewhere else? > > > Thanks! > > Steve Knight > > > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
