Hey Dave! Thanks a lot for your concern. I'm really sorry to bother you but could you send me your build.xml and .properties (if you have it) files so that I could use them together with your bean and see if it works. That way, if it does, I can compare the two and see if everything's ok.
Yeah, this really is a doozy. Thanks again. --- "Harkness, David" <[EMAIL PROTECTED]> wrote: > Can you change the package of the bean I sent you > and try running it > through xdoclet on your end? And you're using 1.2b2 > you said, right? > Man, this is a doozy! :( > > Dave > > -----Original Message----- > From: Dos Santos [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2003 11:50 AM > To: [EMAIL PROTECTED] > Subject: RE: [Xdoclet-user] Error creating ejb-jar > file for Session Bean > > > Did that. Throws the same error. :( I truly > appreciate > your help. I have no clue as to why this is > happening. > > > --- "Harkness, David" <[EMAIL PROTECTED]> > wrote: > > I would recommend using "/" to separate your JNDI > > name sections, e.g. > > "tellarian/Service". That's the only thing that I > > see different from my > > bean. > > > > Dave > > > > -----Original Message----- > > From: Dos Santos [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, June 10, 2003 11:37 AM > > To: [EMAIL PROTECTED] > > Subject: RE: [Xdoclet-user] Error creating ejb-jar > > file for Session Bean > > > > > > Ok, in my last message I sent the last version of > my > > Session bean with the changes that were suggested. > I > > used to have ":" instead of "." and I used to have > "Stateless" instead > > > of "Session" and it didn't work either. > > > > I'm using xdoclet1.2b2. > > > > I'm including my build.xml file so you can take a > > look > > at it. Thanks a lot for your help and concern. > > > > Build.xml > > > > <?xml version="1.0"?> > > > > <project name="XDoclet Examples" default="jar" > > basedir="."> > > <property name="xdoclet.root.dir" > > value="${basedir}/.."/> > > <property > > file="${xdoclet.root.dir}/build.properties"/> > > > > <property file="build-dist.properties"/> > > <path id="myapp.class.path"> > > <fileset dir="${lib.dir}"> > > <include name="*.jar"/> > > </fileset> > > <fileset dir="${myapp.lib.dir}"> > > <include name="*.jar"/> > > </fileset> > > <fileset dir="${dist.lib.dir}"> > > <include name="*.jar"/> > > </fileset> > > </path> > > > > > > <target name="init"> > > <tstamp> > > <format property="TODAY" > > pattern="d-MM-yy"/> > > </tstamp> > > <taskdef > > name="xdoclet" > > classname="xdoclet.DocletTask" > > classpathref="myapp.class.path" > > /> > > <taskdef > > name="ejbdoclet" > > > > classname="xdoclet.modules.ejb.EjbDocletTask" > > classpathref="myapp.class.path" > > /> > > </target> > > > > > > <target name="prepare" depends="init"> > > <mkdir dir="${myapp.classes.dir}"/> > > <mkdir dir="${myapp.gen-src.dir}"/> > > <mkdir dir="${myapp.meta-inf.dir}"/> > > </target> > > > > > > <target name="ejbdoclet" depends="prepare"> > > > > > > <ejbdoclet > > destdir="${myapp.gen-src.dir}" > > mergedir="parent-fake-to-debug" > > excludedtags="@version,@author,@todo" > > addedtags="@xdoclet-generated at > ${TODAY},@copyright The > > XDoclet Team,@author XDoclet,@version ${version}" > > ejbspec="2.0" > > force="${myapp.xdoclet.force}" > > verbose="true" > > > > > > > <fileset dir="${myapp.java.dir}"> > > > > > > > <include name="ServiceBean.java" /> > > </fileset> > > > > > > <packageSubstitution packages="ejb" > > substituteWith="interfaces"/> > > > > <remoteinterface/> > > <localinterface/> > > <homeinterface/> > > <localhomeinterface/> > > > > <deploymentdescriptor > > destdir="${myapp.meta-inf.dir}" > > validatexml="true" > > mergedir="fake-to-debug" > > /> > > > > <jboss > > version="3.0" > > xmlencoding="UTF-8" > > destdir="${myapp.meta-inf.dir}" > > validatexml="true" > > /> > > </ejbdoclet> > > > > </target> > > > > > > > > <target name="compile" depends="ejbdoclet"> > > > > <javac > > destdir="${myapp.classes.dir}" > > classpathref="myapp.class.path" > > debug="on" > > deprecation="on" > > optimize="off" > > > > > > > <src path="${myapp.java.dir}"/> > > <src path="${myapp.gen-src.dir}"/> > > > > </javac> > > > > </target> > > </project> > > > > --- Adam Houghton <[EMAIL PROTECTED]> wrote: > > > Sorry, I accidentally sent that mail too soon. > > > > > > The . in the jndi-name might cause you some > > > portability issues down the line, but that > > shouldn't > > > effect your use of XDoclet. > > > > > > What version of XDoclet are you using? Did you > > > build it yourself? It should definitely be > > > "Stateless" or "Stateful" in the @ejb.bean type > if > > > you're using 1.2b2. > > > > > > Also, what does your build.xml file look like? > > > > > > - Adam > > > > > > > > > > -----Original Message----- > > > > From: Dos Santos [mailto:[EMAIL PROTECTED] > > > > Sent: Tuesday, June 10, 2003 1:33 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: RE: [Xdoclet-user] Error creating > > ejb-jar > > > file for > > > > Session Bean > > > > > === message truncated === __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
