I tried changing the class to abstract and also tried giving a different jndi name for the local-jndi-name property. There still isnt any local files generated. The following is the output when i run the bean. Thanks for your help.

[ejbdoclet]
[ejbdoclet] The ' characters around the executable and arguments are
[ejbdoclet] not part of the command.
[ejbdoclet] Javadoc execution
[ejbdoclet] Loading source file /cis/centauri/projects/sbv9988/personal/HelloWorld/src/main/ejb/examples/HelloBean.java...
[ejbdoclet] Constructing Javadoc information...
[ejbdoclet] Running <homeInterface/>
[ejbdoclet] Generating Home interface for 'examples.HelloBean'.
[ejbdoclet] Running <localHomeInterface/>
[ejbdoclet] Running <remoteInterface/>
[ejbdoclet] Generating Remote interface for 'examples.HelloBean'.
[ejbdoclet] Running <localInterface/>
[ejbdoclet] Running <deploymentDescriptor/>
[ejbdoclet] Generating EJB deployment descriptor.
[ejbdoclet] Running <jboss/>
[ejbdoclet] Generating jboss.xml.



The following is the tags i used in the Bean file


/**
* Demonstration stateless session bean.
* @ejb:bean name="Hello"
*           display-name="Hello Bean"
*           type="Stateless"
*           transaction-type="Container"
*           jndi-name="HelloHome"
*           local-jndi-name="HelloHome"
*/
public class HelloBean implements javax.ejb.SessionBean
{
...
}

The following is the ejbdoclet task in my build file.
      <ejbdoclet
      sourcepath="${src.ejb.dir}"
      destdir="${build.generate.dir}"
      classpathref="base.path"
      excludedtags="@version,@author"
      ejbspec="${ejb.version}"
      mergedir="${src.resources.dir}/xdoclet"
      force="${xdoclet.force}"
     >

       <fileset dir="${src.ejb.dir}">
         <include name="**/*Bean.java"/>
      </fileset>

<remoteinterface/>
<homeinterface/>
<localinterface/>
<localhomeinterface/>
<deploymentdescriptor destdir="${build.dir}/META-INF"/>

<jboss version="${jboss.version}"
         xmlencoding="UTF-8"
         typemapping="${type.mapping}"
         datasource="${datasource.name}"
         destdir="${build.dir}/META-INF"
         validateXml="false"
      />
      </ejbdoclet>


Sunil








From: "Adam" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: Re: [Xdoclet-user] xdoclet not generating localinterface and localhomeinterface
Date: Thu, 27 Feb 2003 21:24:11 -0600



Perhaps if you declared you class abstract? This seems to be how all the examples are done, and I'm not sure if it makes a difference one way or the other.

a side note: you have both the remote and local jndi names mapped to the
same space.


----- Original Message ----- From: "Sunny Bro" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 7:17 PM Subject: [Xdoclet-user] xdoclet not generating localinterface and localhomeinterface


Hi, I'm having a problem with generating localinterface and
localhomeinterface files using xdoclet. I'm sure this is a simple issue but
am unable to find the cause. The remote interface is being generated
though. Thanks for any help.


\


------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to