>From an XDoclet generated jbosscmp-jdbc.xml:

<!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" 
"http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd"; >

Perhaps you have an older release?

----- Original Message ----- 
From: "Nicholas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 27, 2003 7:43 PM
Subject: Re: [JBoss-user] XDoclet 1.1.2 & JBoss 3.0.4 - Got some issues


> Thanks for the response.
> 
> I am still having a couple of problems.
> 
> Number 1 is that XDoclet is using the wrong DTD for
> the  jboss.xml file. It is using 
> 
> http://www.jboss.org/j2ee/dtd/jboss.dtd
> 
> and what I really want is 
> 
> http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd.
> 
> Or at least, that is what I attribute this build error
> to:
> 
> [ejbdoclet] <<Generated file
> [file:C:/projects/flt/classes/META-INF/jboss.xml:line
> 10] Message=[Element type "local-jndi
> -name" must be declared.] is not valid according to
> its DTD. This might be due to some missing @tags in
> your source.>>
> 
> My javadoc looks like this:
> 
> /**
>  * CLIENT Entity Bean
>  * @ejb:bean
>  *   name="com.adp.ebs.flt.ejb.Client"
>  *   type="CMP"
>  *   view-type="local"
>  *   local-jndi-name="ejb/Client"
>  * @ejb.transaction type="Required"
>  * @ejb.persistence table-name="CLIENT"
>  * @ejb.env-entry name="blabla" value="12345"
> type="java.lang.Integer"
>  * @jboss.container-configuration
> name="entitybean.configuration.name"
>  * @jboss.create-table create="false"
>  * @jboss.remove-table remove="false"
>  */
> 
> Any insight ?
> 
> Thanks.
> 
> 
> --- David Jencks <[EMAIL PROTECTED]>
> wrote:
> > The best version of xdoclet is 1.2b2 by far.
> > 
> > The best example I know of is xpetstore on
> > sourceforge: its a 
> > minimalistic version of petstore using as many
> > xdoclet features as 
> > possible.
> > 
> > david jencks
> > 
> > On Monday, January 27, 2003, at 06:39 PM, Nicholas
> > wrote:
> > 
> > > I am having some issues getting the results I want
> > > from XDoclet. Things like missing tags
> > > (local-jndi-name) and others....
> > >
> > > Can someone refer me to a good doc source for
> > examples
> > > and JBoss XDoclet ref ( the quick start, Admin &
> > Devel
> > > doc$ and the CMP2 doc$ seem to be a little light
> > on
> > > this) and can I get a recommendation on the best
> > > version of XDoclet ?
> > >
> > > I am using SSBs and CMP2 entities.
> > >
> > > Thanks.
> > >
> > > =====
> > > Nicholas Whitehead
> > > Home: (973) 377 9335
> > > Cell: (201) 615 2716
> > > Work: (212) 622 5639
> > > [EMAIL PROTECTED]
> > >
> > >
> > >
> >
> -------------------------------------------------------
> > > This SF.NET email is sponsored by:
> > > SourceForge Enterprise Edition + IBM + LinuxWorld
> > = Something 2 See!
> > > http://www.vasoftware.com
> > > _______________________________________________
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> > >
> > 
> > 
> > 
> >
> -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld =
> > Something 2 See!
> > http://www.vasoftware.com
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> >
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> =====
> Nicholas Whitehead
> Home: (973) 377 9335
> Cell: (201) 615 2716
> Work: (212) 622 5639
> [EMAIL PROTECTED]
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to