File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes The ejbdoclet type doesn't support the nested Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "The ejbdoclet type doesn Watch "The ejbdoclet type doesn New topic
Author

The ejbdoclet type doesn't support the nested "localinterface" element.

doug tanner
Greenhorn

Joined: Feb 22, 2006
Posts: 2
In trying to upgrade CruiseControl to version 2.4, I noticed that it came with Apache Ant 1.6.5 so I thought I would use this new Ant as well. However, we are already using Xdoclte-1.1.2.jar which causes the build process to fail. So I downloaded Xdoclet-1.2.3 and added it to the lib directory as well as our build.xml file. Now, I am getting the following error and after searching high and low have been unsuccessful in fixing this problem as everything I have read says that <localinterface /> and <remoteinterface /> are required to be there. Any help would be greatly appreciated.

BUILD FAILED

C:\projects\br_4_39\4x\deploy\build.xml:73: The following error occurred while executing this line:
C:\projects\br_4_39\4x\deploy\build.xml:85: The following error occurred while executing this line:
C:\projects\br_4_39\4x\cbm\build\build.xml:235: The <ejbdoclet> type doesn't support the nested "localinterface" element.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Lorg/apache/tools/ant/BuildException;Lorg/apache/tools/ant/Location Lorg/apache/tools/ant/BuildException;(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute()V(Ant.java:384)
at org.apache.tools.ant.taskdefs.CallTarget.execute()V(CallTarget.java:107)
at org.apache.tools.ant.UnknownElement.execute()V(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform()V(Task.java:364)
at org.apache.tools.ant.Target.execute()V(Target.java:341)
at org.apache.tools.ant.Target.performTasks()V(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Ljava/util/Vector
V(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Ljava/lang/String V(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(Lorg/apache/tools/ant/Project;[Ljava/lang/String V(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Ljava/util/Vector V(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Ljava/lang/ClassLoader V(Main.java:668)
at org.apache.tools.ant.Main.startAnt([Ljava/lang/String;Ljava/util/Properties;Ljava/lang/ClassLoader V(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run([Ljava/lang/String V(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main([Ljava/lang/String V(Launcher.java:67)

Total time: 2 minutes 45 seconds


Here is the snippet where the build is breaking:

[ February 22, 2006: Message edited by: doug tanner ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The ejbdoclet type doesn't support the nested "localinterface" element.