You don't have to rebuild it whenever you want to modify log4j config file. Just create a copy of log4j.properties, modify it and run build.nat/sh with -Dlog4j.configuraation=file:/fulpath-to-your-log4jconfigfile. No need to build/bundle/jar it again and again.
Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-devel- > [EMAIL PROTECTED]] On Behalf Of David Budworth > Sent: Tuesday, December 11, 2001 10:46 PM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-devel] jboss-cmp generation bug ? > > Howdy, > > I just upgraded XDoclet to try out Dimitri's new stuff. > > I'm getting and error in jboss-cmp generation, and I can't tell where in > the > template it is failing. > > I know which bean is choking when I turn on relation-debugging in log4j. > > There are two places in the template that calls swap, so it's got to be > one of them. > > Is there an easy way to tell? I tried turning on full debugging, but > after 20 minutes of trying to rebuild xdoclet (constantly logging), I > gave up. > > Do I just need to bite the bullet and rebuild with full logging? > > In case it helps, here's a minimal output of the error (with xdoclet > stacktraces turned on) > > [ejbdoclet] Generating jbosscmp-jdbc.xml. > [ejbdoclet] Running XDoclet failed: > [ejbdoclet] Shouldn't swap now > [ejbdoclet] (DocletTask$DocletMain.start 440 ) Exception trace: > [ejbdoclet] xdoclet.XDocletException: Shouldn't swap now > [ejbdoclet] javadoc: In doclet class xdoclet.DocletTask$DocletMain, > method start has thrown an exception > java.lang.reflect.InvocationTargetException > [ejbdoclet] at > xdoclet.ejb.tags.RelationTagsHandler$RelationHolder.swap(RelationTagsHan dl > er.java:373) > [ejbdoclet] at > xdoclet.ejb.tags.RelationTagsHandler.swapRelation(RelationTagsHandler.ja va > :269) > [ejbdoclet] at java.lang.reflect.Method.invoke(Native Method) > [ejbdoclet] at > xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java(Compile d > Code)) > [ejbdoclet] at > xdoclet.template.TemplateEngine.invokeContentMethod(TemplateEngine.java( Co > mpiled > Code)) > > > _______________________________________________ > Xdoclet-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
