Re: enums kill QDox parser?

Konstantin Priblouda <kpriblouda-/[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
There is a fresh qdox version, which claims to 
support 1.5 ( though I was not able to evaluate 
it yet, because it is compiled for 1.5 and we have
1.4 build ) 

http://qdox.codehaus.org/

( I'm not sure whether API changes would prevent
xdoclet from running - chances are it will run out of
the box ) - if not recompile may be needed.
( of generama, xdoclet & maybe plugins ) 
regards,


--- Frank Ratzlow <[email protected]> wrote:


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


----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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