From: Michael D. <ho...@mi...> - 2002-05-07 20:19:02
|
Hi, thanks for replying. I don=B4t think that is the problem though because = when I add some dummy lines to provoke an error, one comes up. So it must be reading the Bean.java. Am I maybe doing something wrong: my Bean.java: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D /** * This is an account bean. It is an example of how to use the * EJBDoclet tags. * * @see Customer Accounts are owned by customers, and a customer can * have many accounts. * * @ejb:bean name=3D"bank/Account" * type=3D"CMP" * jndi-name=3D"ejb/bank/Account" * primkey-field=3D"id" * @ejb:finder signature=3D"Collection findAll()" * unchecked=3D"true" * @ejb:interface remote-class=3D"test.interfaces.Account" */ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D my build.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D <project name=3D"MyProject" default=3D"ejbdoclet" basedir=3D"."> <target name=3D"prepare"> <property name=3D"java.dir" value=3D"." /> <property name=3D"build.dir" value=3D"build" /> <property name=3D"generated.java.dir" value=3D"src" /> <mkdir dir=3D"${build.dir}"/> <mkdir dir=3D"${build.dir}/ejb/META-INF"/> <mkdir dir=3D"test/ejb"/> <mkdir dir=3D"test/interfaces"/> <mkdir dir=3D"${generated.java.dir}"/> </target> <target name=3D"ejbdoclet" depends=3D"prepare"> <taskdef name=3D"ejbdoclet" classname=3D"xdoclet.ejb.EjbDocletTask" classpath=3D"${xdoclet.jar.path};${log4j.jar.path};${ant.jar.path}" /> <ejbdoclet sourcepath=3D"${java.dir}" destdir=3D"${generated.java.dir}" excludedtags=3D"@version,@author" ejbspec=3D"2.0" force=3D"${xdoclet.force}"> <fileset dir=3D"${java.dir}"> <include name=3D"Bean.java" /> </fileset> <dataobject/> <remoteinterface/> <localinterface/> <homeinterface/> <localhomeinterface/> <entitypk/> <entitycmp/> <deploymentdescriptor destdir=3D"${build.dir}/ejb/META-INF"/> <jboss version=3D"3.0" xmlencoding=3D"UTF-8" typemapping=3D"mySQL" datasource=3D"java:/ejbGuestbookDS" destdir=3D"${build.dir}/ejb/META-INF"= /> </ejbdoclet> </target> <target name=3D"compile" depends=3D"ejbdoclet"> <!-- Compile EJBs --> <javac srcdir=3D"${java.dir};${generated.java.dir}" destdir=3D"${build.dir}/ejb" includes=3D"test/ejb/*.java,test/interfaces/= *.java" /> </target> </project> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I really would appreciate your help! What am I missing? Am I maybe not specifying enough? Thanks, Michael ----- Original Message ----- From: "Ara Abrahamian" <ar...@ya...> To: "'Michael Delamere'" <ho...@mi...>; <xdo...@li...> Sent: Tuesday, May 07, 2002 10:11 PM Subject: RE: [Xdoclet-user] problem with xdoclet example > The fileset is probably empty (pointing to wrong directory), so xdoclet > doesn't have anything to process. > > Ara. > > > -----Original Message----- > > From: xdo...@li... [mailto:xdoclet-user- > > ad...@li...] On Behalf Of Michael Delamere > > Sent: Wednesday, May 08, 2002 12:11 AM > > To: xdo...@li... > > Subject: [Xdoclet-user] problem with xdoclet example > > > > Hi, > > > > I=B4m new to xdoclet and could do with your help. So far I have > attempted > > to > > get the exmaples working that are available at the xdoclet site. > > Unfortunately I=B4m not having much luck at the moment although I=B4v= e > > followed > > all the instructions available on the site. > > > > This is the error message I get when setting classpathref to: > > classpathref=3D"${build.dir}" > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > Buildfile: build.xml > > > > prepare: > > > > ejbdoclet: > > > > BUILD FAILED > > > > /home/mdelamere/public_html/guestbook/build.xml:25: Reference build > not > > found. > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > > > > When I take out the classparthref attribute completely I get "Build > > successful" but nothing has been created! > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > > Buildfile: build.xml > > > > prepare: > > > > ejbdoclet: > > [ejbdoclet] Generating Javadoc > > [ejbdoclet] Javadoc execution > > [ejbdoclet] Loading source file > > /home/mdelamere/public_html/test/Bean.java... > > [ejbdoclet] Constructing Javadoc information... > > [ejbdoclet] Running <homeInterface/> > > [ejbdoclet] Running <localHomeInterface/> > > [ejbdoclet] Running <remoteInterface/> > > [ejbdoclet] Running <localInterface/> > > [ejbdoclet] Running <entitypk/> > > [ejbdoclet] Running <dataobject/> > > [ejbdoclet] Running <entitycmp/> > > [ejbdoclet] Running <deploymentDescriptor/> > > [ejbdoclet] Running <jboss/> > > > > BUILD SUCCESSFUL > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > What could I doing wrong?? This is on linux by the way. > > Any help would be appreciated > > > > Thanks, > > > > Michael > > > > > > _______________________________________________________________ > > > > Have big pipes? SourceForge.net is looking for download mirrors. We > supply > > the hardware. You get the recognition. Email Us: > ban...@so... > > _______________________________________________ > > Xdoclet-user mailing list > > Xdo...@li... > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > |