Hi!
 
I am new to XDoclet and probably this question is rather simple. But I can't find an answer in the docs or in the archive...
 
I am using the following ejbdoclet task in my build file. How can I define that the <deploymentdescriptor> only creates
information for the remote interfaces and not for the local interfaces?
 
      <ejbdoclet
         destdir="${src.dir}"
         excludedtags="@version,@author"
         ejbspec="${ejb.version}"
         mergedir="${src.resources.dir}/xdoclet"
         force="${xdoclet.force}"
      >
         <fileset dir="${src.dir}">
            <include name="**/*Bean.java"/>
         </fileset>
         
          <entitycmp/>
             <remoteinterface
              pattern="{0}Object"
             />
         <homeinterface/>
         <entitypk/>
         <deploymentdescriptor destdir="${src.dir}/META-INF"/>
         <jboss version="${jboss.version}"
            xmlencoding="UTF-8"
            typemapping="${type.mapping}"
            datasource="${datasource.name}"
            destdir="${src.dir}/META-INF"
            validateXml="false"
         />
      </ejbdoclet>
 
Currently the ejb-jar contains the following:
 
         <home>de.schlund.demo.xdoclet.FooHome</home>
         <remote>de.schlund.demo.xdoclet.FooObject</remote>
         <local-home>de.schlund.demo.xdoclet.FooLocalHome</local-home>
         <local>de.schlund.demo.xdoclet.FooLocal</local>
 
The last two lines should disappear...
 
Any help will be appreciated.
 
Christian

Reply via email to