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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to