- This topic has 1 reply, 2 voices, and was last updated 21 years, 1 month ago by
Greg.
-
AuthorPosts
-
deviseMemberI am trying to deploy a test EJB on JBoss using MyEclipse. I followed the instructions to create it and after I wrote the business method, I ran the Xdoclet and I get the following error. Please help me.
file:C:/eclipse/workspace/TradeEJB/xdoclet-build.xml:11: At least one fileset must be specified
[ejbdoclet] at xjavadoc.ant.XJavadocTask.validateOptions(XJavadocTask.java:189)
[ejbdoclet] at xdoclet.DocletTask.validateOptions(DocletTask.java:489)
[ejbdoclet] at xdoclet.modules.ejb.EjbDocletTask.validateOptions(EjbDocletTask.java:80)
[ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:94)
[ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
[ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:341)
[ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
[ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
[ejbdoclet] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569)
[ejbdoclet] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367)
[ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:324)
[ejbdoclet] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
[ejbdoclet] at org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate.launch(AntLaunchDelegate.java:189)
[ejbdoclet] at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:156)
[ejbdoclet] at org.jboss.ide.eclipse.xdoclet.run.ui.actions.XDocletRunAction$1.run(XDocletRunAction.java:153)
[ejbdoclet] at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
[ejbdoclet] BUILD FAILED: file:C:/eclipse/workspace/TradeEJB/xdoclet-build.xml:11: Unexpected errorJune 4, 2004 at 8:43 am #207977
GregMemberIf you are using the “Standard EJB” configuration, there should be a fileset subdoclet item under the ejbdoclet task. Make sure the fileset is defined and “checked”. If the fileset doesn’t exist or it is unchecked, running xdoclet will through an exception just as you described. If you do have a fileset defined and checked and you are still getting this exception, then post a reply with more information so we can help track down the problem.
-
AuthorPosts