Hi, Thanks for the tip, but it doesn't seem to work in my case. I always had it, and the generated ejb-jar.xml does not include DOCTYPE. Do YOU have it generated in your case ?
By the way, I use the following piece of Pom : <ejbdoclet ejbSpec="2.1" ejbClassNameSuffix="Impl" force="true" destDir="${basedir}/src/generated/java"> <fileset dir="${basedir}/src/main/java" includes="**/*Impl.java"/> <entitypk/> <deploymentdescriptor schema="http://java.sun.com/dtd/ejb-jar_2_0.dtd" xmlencoding="ISO-8859-1" validateXML="true" destDir="${basedir}/src/generated/resources/META-INF" useIDs="true"/> <packageSubstitution packages="impl" substituteWith="interfaces" /> <weblogic version="8.1" createtables="Disabled" destDir="${basedir}/src/generated/resources/META-INF"/> </ejbdoclet> Any more suggestions ? Manu :-Þ 2006/11/27, Marco Mistroni <[EMAIL PROTECTED]>:
hi, wild guess... have you specified the ejb version you are using? here's what i m using <ejbdoclet destDir="${project.build.directory}/generated-sources/xdoclet" excludedTags="@author,@version" ejbSpec="2.1"> <deploymentdescriptor destDir="${project.build.outputDirectory }/META-INF" useIDs="true"/> <websphere destDir="${project.build.outputDirectory}/META-INF"/> <jboss version="4.0" destDir="${project.build.outputDirectory }/META-INF" dataSource="${mw.dataSource}" datasourceMapping="Hypersonic SQL" createTable="true" removeTable="true"/> hth marco On 11/27/06, Manu <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm experiencing trouble with the generation of ejb-jar.xml by ejbdoclet > (xdoclet). > It does not seem to include at the top of the file a DOCTYPE directive. > I don't know if this is strictly required by the standard, but my Weblogic > server tells me it is not valid for that reason. > > Any idea of how to make ejbdoclet (subtag <deploymentdescriptor/>) > generate > it for me ? > Or tell Weblo bypass this validation ? > > Thanks for your help. > > -- > Manu (:-Þ) > >
-- Manu (:-Þ)