Hi! Thanks for the links. I'm not getting this though. I have a build file
that corresponds to the one at the link you gave me. When I run it, I get
this:
"ejbdoclet:
[ejbdoclet] Generating Javadoc
[ejbdoclet] Javadoc execution
[ejbdoclet] Loading source files for package se.activa.icup.tr...
[ejbdoclet] Constructing Javadoc information...
[ejbdoclet] HomeInterfaceDoclet.execute
[ejbdoclet] RemoteInterfaceDoclet.execute
[ejbdoclet] Create jboss.xml
[ejbdoclet] Create jaws.xml
BUILD SUCCESSFUL"
But no java files get generated, only the xml:s. The ejbdoclet target look
like this:
<target name="ejbdoclet">
<taskdef name="ejbdoclet" classname="ejbdoclet.EJBDocletTask"
classpath="${ejbdoclet.dir}/lib/ejbdoclet.jar;${jboss.dist}/client/ejb.jar"/
>
<ejbdoclet sourcepath="${src.dir}" destdir="${autocreate.dir}"
classpath="${classpath};${ejbdoclet.dir}/lib/ejbdoclet.jar;${jboss.dist}/cli
ent/ejb.jar;${jboss.dist}/client/jta-spec1_0_1.jar"
excludedtags="@version,@author" packagenames="se.activa.icup.tr.*">
<dataobject pattern="{0}Detail"/>
<remoteinterface/>
<homeinterface/>
<deploymentdescriptor/>
<jboss typemapping="MySQL" datasource="java:/MySQL"/>
</ejbdoclet>
</target>
The java file I tested with starts like this:
package se.activa.icup.tr;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
public class ActivityBean implements EntityBean
{
/**
* @ejb:entity-cmp
...
*/
/**
* @ejb:pk-field
* @ejb:persistent-field
*/
public Integer id;
...
Any ideas?
/Pelle Poluha
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Vincent
> Harcq
> Sent: den 18 juni 2001 10:29
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] EJBDoclet examples?
>
>
> Hi,
> The examples are part of 1.1 zip file.
> An example of build script can be found under CVS:
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/ejbd
> oclet/ejbdocle
> t/src/build/build_test.xml?rev=1.7&content-type=text/plain
>
> and
>
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ejbdoclet/ejbdo
> clet/src/build
> /build_test.bat?rev=1.1&content-type=text/vnd.viewcvs-markup
>
> Vincent
>
> > -----Message d'origine-----
> > De : [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]De la part de Pelle
> > Poluha
> > Envoy� : lundi 18 juin 2001 8:14
> > � : [EMAIL PROTECTED]
> > Objet : [JBoss-user] EJBDoclet examples?
> >
> >
> > Hello!
> >
> > I'm trying to learn how to use EJBDoclet but didn't find
> > any complete examples on EJBDoclet's site.
> >
> > Anybody using it? Any good? How would a build.xml file look
> > like? And how is the code commented?
> >
> > Any help would be appreciated.
> >
> > Regards,
> > Pelle
> > Poluha
> >
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user