Hi,

Use the and <fileset /> attribute when selecting files to be included and
just exclude the onces you haven't yet done.  THat way as you move them
across, you can just change the build file a little.

cheers
dim

----- Original Message -----
From: "Jason Carreira" <[EMAIL PROTECTED]>
To: "Xdoclet-User (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 4:32 AM
Subject: [Xdoclet-user] Problem when there are no xdoclet tags


Hi all,

We're having a problem where XDoclet fails and breaks the build when there
are no xdoclet tags in an EJB class that xdoclet finds:

Running <deploymentDescriptor/>
  Generating EJB deployment descriptor.
javadoc: In doclet class xdoclet.DocletTask$DocletMain,  method start has
thrown an exception java.lang.reflect.InvocationTargetException
(TemplateEngine.invokeMethod         795 ) Invoking method failed:
ifIsAConcreteEJBean , line=8 of template file: \xdoclet\ejb\ejb-jar_xml.j
java.lang.NullPointerException
at xdoclet.ejb.tags.EjbTagsHandler.isAConcreteEJBean(EjbTagsHandler.java:72)
at
xdoclet.ejb.tags.EjbTagsHandler.ifIsAConcreteEJBean(EjbTagsHandler.java:494)
at java.lang.reflect.Method.invoke(Native Method)
at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:781)
at
xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:837)
at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:705)
at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:441)
at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:323)
at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:809)
at xdoclet.tags.ClassTagsHandler.forAllClasses(ClassTagsHandler.java:262)
at java.lang.reflect.Method.invoke(Native Method)
at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:753)
at
xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java:837)
at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java:705)
at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java:441)
at xdoclet.template.TemplateEngine.generate(TemplateEngine.java:323)
at xdoclet.template.TemplateEngine.start(TemplateEngine.java:386)
at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:486)
at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:320)
at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:121)
at xdoclet.ejb.EjbDotXmlSubTask.execute(EjbDotXmlSubTask.java:122)
at xdoclet.DocletTask$DocletMain.start(DocletTask.java:523)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:193)
at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:95)
at com.sun.tools.javadoc.Main.main(Main.java:233)
Running XDoclet failed:
<<Running XDoclet failed.>>

I'm in the process of moving our team over to xdoclet, so they're not adding
xdoclet to all of the source files yet, so this is a real problem for us. Is
there a way to make xdoclet ignore files without xdoclet tags?

Thanks,

Jason Carreira

--
Jason Carreira
Technical Architect, Notiva Corp.
phone: 585.240.2793
  fax: 585.272.8118
email: [EMAIL PROTECTED]

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to