• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

ejbdoclet - NESTED remote interface error

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
Please help me out .
I am trying to generate ejb interfaces, given the EJB Bean .
I have sepecified the following task in the ant build file.
The error is mentioned below the taskdef ..I have checked the allowable tags under ejbdoclet and <remoteinterfaces/> does exist.
But then i am not able to figure out why ant is saying that there is a build problem..
PLEASE HELP ME OUT

<!-- Run EJBDoclet -->
<target name="ejbdoclet" depends="init">
<taskdef name="ejbdoclet" classname="xdoclet.modules.ejb.EjbDocletTask">
<classpath refid="project.class.path"/>
</taskdef>

<ejbdoclet
destdir="${ejbsrc.dir}"
mergedir="${ejb.dd.dir}"
excludedtags="@version,@author,@todo"
addedtags="@lomboz generated"
ejbspec="2.0"
force="${xdoclet.force}"
verbose="true" >

<fileset dir="../src" defaultexcludes="yes">
<patternset includesfile="META-INF/ejbs.xml" />
</fileset>

<remoteinterface/>
<localinterface/>
<homeinterface />
<localhomeinterface/>


<deploymentdescriptor
destdir="${ejb.dd.dir}"
validatexml="false"
mergedir="${ejb.dd.dir}"
/>
<ejbdoclet
</task>
----------------------------------------
Build exception: C:\eclipse\eclipse\workspace\TP\Foo\META-INF\ejbGenerate.xml:60: The <ejbdoclet> task doesn't support the nested "remoteinterface" element.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was there a solution to this problem? I am seeing this with Xdoclet 1.2.3 and Apache Ant 1.6.5. There is nothing out there about this problem. Any help would be greatly appreciated!!!
 
Those who dance are thought mad by those who hear not the music. This tiny ad plays the bagpipes:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!