there is, but we made a strategic decision to make it possible to have classes without any xdoclet tags at all, and have these treated in one way or another. are you asking for where to patch, or do you want to know if its supported currently? I'd be hesistant to say that its "not supported" because its something thats been done intentionally.
however - just because your files are in the same directory, doesn't mean they cant be ignored - just name them individually, or using the pattern matching. In know this is probably a bit of a pita, but its essentially where we got to, in order to do better things with defaults. hth cheesr dim ----- Original Message ----- From: "Jason Carreira" <[EMAIL PROTECTED]> To: "Xdoclet-User (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, February 08, 2002 8:10 AM Subject: RE: [Xdoclet-user] Problem when there are no xdoclet tags Well, unfortunately, they're all in the same directory... There's no way to make xdoclet politely ignore any files without xdoclet tags? > -----Original Message----- > From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 07, 2002 2:29 PM > To: Jason Carreira; Xdoclet-User (E-mail) > Subject: Re: [Xdoclet-user] Problem when there are no xdoclet tags > > > 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(EjbTagsHandl > er.java:72) > at > xdoclet.ejb.tags.EjbTagsHandler.ifIsAConcreteEJBean(EjbTagsHan > dler.java:494) > at java.lang.reflect.Method.invoke(Native Method) > at > xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:781) > at > xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngi > ne.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(TemplateEngi > ne.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 _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
