On Mon, 2007-02-26 at 09:41 -0500, Kirby Files wrote: > Folks, > I've had great success using the ejbdoclet task to reduce redundant > code. Thanks for a great tool! > I have tried using the jmxdoclet task, and had less success. In > particular, I received the following error: > > [jmxdoclet] (XDocletMain.start 47 ) Running > <mbeaninterface/> > [jmxdoclet] Error parsing File > /home/kfiles/workspace/madcapjava/src/com/masergy/madcap/schema/Bundle.java:Encountered > > "<" at line 132, column 17. > [jmxdoclet] Was expecting one of: > [jmxdoclet] <IDENTIFIER> ... > [jmxdoclet] "[" ... > [jmxdoclet] "." ... > [jmxdoclet] "(" ... > > > com/masergy/madcap/schema/Bundle.java line 132: > private Vector<Alarm> alarmList = new Vector<Alarm>(); > > My task def'n looks like this: > <jmxdoclet destdir="src" > excludedTags="@version,@author,@todo"> > <fileset dir="src"> > <include name="**/mbeans/*.java" /> > </fileset> > > <mbeaninterface/> > <jbossxmlservicetemplate destDir="${mbean_build}/META-INF"/> > </jmxdoclet> > > Looking at past issues from the bug tracker and mailing lists, it > looks like this was a problem with the xjavadoc parser and generics > that was reported years ago, and fixed over a year ago. Does jmxdoclet > use a different parser? Is this a known issue (I couldn't find an open > issue in JIRA), or should I create a new issue for it?
jmxdoclet uses the same parser as the other subtasks. > BTW, I'm using xdoclet-1.2.3 from the stable download. That's your problem - the patches to xjavadoc were done since that release. There is no current xdoclet release that includes them, but if you can build a newer xjavadoc jar from CVS you should be able to just swap it instead of the one in the xdoclet distribution. Andrew. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user