You are using " : " to separate tags in the doclet. The correct is " . "
like:
* @ejb.interface-method view-type="remote"
and not
* @ejb:interface-method view-type="remote"
----- Original Message -----
From: "Ralf Metzger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 18, 2003 11:27 AM
Subject: [Xdoclet-user] No generation of interfaces at all ...
> Hi all,
>
> I'm new to Xdoclet and I'm not able to generate some interfaces for my
> test bean. I dowloaded the XDoclet version 1.2b3 from sourceforge and
> started playing around with it. I created an EJB class for my tests wich
> is maily copied from some examples I found in the Xdoclet distribution.
> In my eyes everything looks ok, but when I execute ant in the directory
> containing my build.xml no interfaces are created. The only thing that
> is generate is an ejb-jar.xml which contains no information (it's just a
> skeleton of an ejb-jar.xml). I'm using Windows XP as OS.
>
> Ant output seems ok but nothing gets generated:
> Buildfile: build.xml
>
> init:
> [echo] Initializing build with following Properties
> [echo] xdoclet.home = D:/Programme/xdoclet
> [echo] xjavadoc.home = D:/Programme/xjavadoc-1.0
> [echo] ant.home = D:\Programme\ant15b3\bin\\..
> [echo] ejb.jar =
> D:/Programme/weblogic810/weblogic81/server/lib/weblogic.jar
>
> ejbdoclet:
> [ejbdoclet] (XDocletMain.start 47 ) Running
> <remoteinterface/>
> [ejbdoclet] (XDocletMain.start 47 ) Running
> <homeinterface/>
> [ejbdoclet] (XDocletMain.start 47 ) Running
> <localinterface/>
> [ejbdoclet] (XDocletMain.start 47 ) Running
> <localhomeinterface/>
> [ejbdoclet] (XDocletMain.start 47 ) Running
> <deploymentdescriptor/>
>
> BUILD SUCCESSFUL
> Total time: 2 seconds
>
> So this are my files I use for testing, anyone to help me out?
>
> build.xml:
> <project name="test" default="ejbdoclet" basedir=".">
> <property file="./xdoclet.properties"/>
> <path id="xdoclet.path">
> <pathelement location="${ant.home}/lib/ant.jar" />
> <pathelement location="${ant.home}/lib/optional.jar" />
> <pathelement location="${ant.home}/lib/xercesImpl.jar" />
> <pathelement location="${ant.home}/lib/xml-apis.jar" />
> <pathelement location="${xdoclet.home}/lib/xdoclet-1.2b3-dev.jar" />
> <pathelement
> location="${xdoclet.home}/lib/xdoclet-ejb-module-1.2b3-dev.jar" />
> <pathelement
> location="${xdoclet.home}/lib/xdoclet-jboss-module-1.2b3-dev.jar" />
> <pathelement location="${xdoclet.home}/lib/commons-logging.jar" />
> <pathelement location="${xdoclet.home}/lib/log4j.jar" />
> <pathelement location="${xjavadoc.home}/xjavadoc-1.0.jar" />
> <pathelement location="${ejb.jar}" />
> </path>
> <target name="init">
> <echo message="Initializing build with following Properties"/>
> <echo message="xdoclet.home = ${xdoclet.home}"/>
> <echo message="xjavadoc.home = ${xjavadoc.home}"/>
> <echo message="ant.home = ${ant.home}"/>
> <echo message="ejb.jar = ${ejb.jar}"/>
> </target>
> <target name="ejbdoclet" depends="init">
> <taskdef name="ejbdoclet"
classname="xdoclet.modules.ejb.EjbDocletTask">
> <classpath refid="xdoclet.path"/>
> </taskdef>
> <ejbdoclet destdir="${basedir}"
> excludedtags="@version,@author"
> ejbspec="2.0">
> <fileset dir="${basedir}">
> <include name="**/BaseEntityBean.java"/>
> </fileset>
> <remoteinterface/>
> <homeinterface/>
> <localinterface/>
> <localhomeinterface/>
> <deploymentdescriptor destdir="${basedir}"/>
> </ejbdoclet>
> </target>
> </project>
>
> TestBean.java:
> package de.rme.test;
>
> import javax.ejb.*;
>
> /**
> * The Entity bean represents a TestEntity
> *
> * @author Andreas Schaefer
> * @version $Revision: 1.1 $
> *
> * @ejb:bean name="test/TestEntity"
> * display-name="TestEntity working on projects to support
> clients"
> * type="CMP"
> * jndi-name="ejb/test/TestEntity"
> *
> * @ejb:env-entry name="SequenceName"
> * value="TestEntity"
> *
> * @ejb:transaction type="Required"
> */
> public abstract class TestBean implements EntityBean
> {
> /**
> * Store the data within the provided data object into this bean.
> *
> * @ejb:interface-method view-type="remote"
> */
> public void setValueObject()
> {
> }
>
> /**
> * Create and return a TestEntity data object populated with the data
from
> * this bean.
> *
> * @return Returns a TestEntity value object containing the data within
> this
> * bean.
> *
> * @ejb:interface-method view-type="remote"
> */
> public Stirng getValueObject()
> {
> }
> }
>
> xdoclet.properties:
> # rme xdoclet property files
>
> # Set the path to the root directory of the XDoclet distribution
> xdoclet.home=D:/Programme/xdoclet
>
> # Set the path to the root directory of the XJavadoc distribution
> xjavadoc.home=D:/Programme/xjavadoc-1.0
>
> # Set the path to the root directory of the Ant distribution
> # This is within Eclipse, so be carefull with copied examples
> ant.home=D:/Programme/ant15b3
>
> # Set the location of the jar file containing the javax.ejb.EntityBean
> class.
> # These classes are needed in order to generate correct output.
> ejb.jar=D:/Programme/weblogic810/weblogic81/server/lib/weblogic.jar
>
> # Set the EJB version you want to use (1.1 or 2.0, see XDoclet's
> <ejbdoclet> attribute "ejbspec")
> ejb.version=2.0
>
> Thank you for reading.
>
> Regards,
> Ralf
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user