enums kill QDox parser?

Frank Ratzlow <[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <OFCE38ACFE.AD51BC09-ONC12571DF.00389E99-C12571DF.00389EA0@adesso.de>
Hi,

we are using Java 1.5 enums but it seems that XDoclet (StrutsPlugin) doesn't like them. It dies with
========================================
com.thoughtworks.qdox.parser.ParseException: syntax
error @[36,13] in file:/presentation/core/treeview/ContractTreeTab.java

Source of this file looks like this:

public enum ContractTreeTab {

PENDING (2, "enum.treeview.contracttreetab.pending",
new ContractState[]{
ContractState.DRAFT,
ContractState.PENDING_REVIEW_OFFER,
ContractState.PENDING_AT_UW,
ContractState.PENDING_REVIEW_QUOTE,
ContractState.QUOTED,
ContractState.PENDING_REVIEW_BIND_REQUEST,
ContractState.BIND_REQUESTED,
ContractState.PENDING_REVIEW_BIND
}
),
.
.
.
}
========================================

On the other hand, ejbdoclet has no probs with java 1.5 constructs. I upgraded to QDox 1.6 and XDoclet 2.0.5 - no change. :-/

TIA

Frank

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.