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?

BTW, I'm using xdoclet-1.2.3 from the stable download. I tried 
recompiling jmxdoclet from CVS, but couldn't resolve all of the 
dependencies correctly.

Thanks,
   --kirby

-------------------------------------------------------------------------
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

Reply via email to