Tony, jboss.net generation is an optional sub-module to the EJBDoclet module

        - whose jar file should pop out the actual head build under
jboss.net/output/lib/xdoclet-module-jboss-net.jar and   - needs to be in the
classpath of your ejbdoclet task definition.

Then, you use it as other sub-module with ist own tag "jbossnet" like done
in the jboss.net testsuite:

    <ejbdoclet destdir="${build.gen-src}"
             ejbspec="2.0"
             excludedtags="@version,@author">
      <fileset dir="${source.java}">
        <include name="org/jboss/test/net/hello/server/HelloBean.java"/>
        <include name="org/jboss/test/net/hello/HelloData.java"/>
      </fileset>
      <entitycmp cmpspec="2.x"/>
      <remoteinterface/>
      <homeinterface/>
      <deploymentdescriptor xmlencoding ="UTF-8"
         destdir="${build.resources}/hello/ejb/META-INF"/>
      <jboss xmlencoding="UTF-8"
         version="3.0"
         destdir="${build.resources}/hello/ejb/META-INF"/>
      <jbossnet webDeploymentName="Hello" 
        prefix="hello" 
        destdir="${build.resources}/hello/wsr/META-INF" 
        targetNameSpace="http://net.jboss.org/hello"; />
    </ejbdoclet>

Best,
CGJ

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Gesendet: Mittwoch, 15. Januar 2003 12:30
An: [EMAIL PROTECTED]
Betreff: [JBoss-user] jboss.net xdoclet generation of web-service.xml



Hi,

I have a problem generating the web-service.xml using the xdoclet+xjavadoc
jar files from sourceforge. The process correctly generates all interfaces
and deployment descriptor except for the web-service.xml file. I've included
the entries from both the Ant build file and Bean source code. Am I missing
a tag ????. 

Bean
====
/**
        *
        * @ejb:bean             name="Hello"
        *                                               jndi-name="Hello"
        *                                               type="Stateless"
        *                                               view-type="both"
            * @ejb:interface generate="local,remote"
            *
        * @ejb:ejb-ref  ejb-name="Hello" 
        *               view-type="local"
        *               ref-name="Hello"
        * @ejb:transaction type="Required"
        * @ejb:transaction-type type="Container"
        *
        * @jboss-net:web-service urn="Hello"
        *                        expose-all="true" 
        *
*/
ANT
====
      <ejbdoclet
         sourcepath="${src.dir}/main/src/"
         destdir="${generated.java.dir}"
         classpath ="${classpath}"
         ejbspec="2.0"
         force="true">

         <fileset dir="${src.dir}/main/src/">
            <include name="org/jboss/net/sample/hello/ejb/*.java" />
         </fileset>

         <packageSubstitution packages="ejb" substituteWith="interfaces"/>

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

         <jboss version="2.4" xmlencoding="UTF-8"
destdir="${generated.java.dir}/ejb/META-INF"/>
         
      </ejbdoclet>


Cheers

TC

Technology
Tel: 020 7574 8880 (ext 48120)
Fax: 020 7574 8120
E-mail: [EMAIL PROTECTED]

HBOS Treasury Services plc
33 Old Broad Street
London
EC2N 1HZ




-- 

----------------------------------------------------------------------------
--
For more information on HBOS Treasury Services, please visit
http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to
http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes
Halifax plc and Bank of Scotland. Registered Office: 33 Old Broad Street,
London EC2N 1HZ. Registered No. 2692890. Registered in England. Regulated by
the Financial Services Authority.

The information contained in this message is confidential and is intended
for the addressee only. If you have received this message in error or there
are any problems please notify the originator immediately. The unauthorised
use, disclosure, copying or alteration of this message is strictly
forbidden. This mail and any attachments have been scanned for viruses prior
to leaving the HBOS Treasury Services plc network. HBOS Treasury Services
plc will not be liable for direct, special, indirect or consequential
damages arising from alteration of the contents of this message by a third
party or as a result of any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail
messages sent to and from this address for the purposes of investigating or
detecting any unauthorised use of its system and ensuring its effective
operation.

============================================================================
==



-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/


-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving
your online business a competitive advantage. Test-drive a Thawte SSL
certificate - our easy online guide will show you how. Click here to get
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to