It is an issue with the xjavadoc module. You need to update that library
to one of the snapshots that has the generics parsing support. I can
email the file I am using, if you want.

To answer your second question, ues you can use generics just fine in
OJB (due to erasure). Using it here without issue.

-Andrew



> -----Original Message-----
> From: Daniel Perry [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 01, 2005 10:38 AM
> To: OJB Users List
> Subject: xdoclet module with Java 1.5
> 
> Hi,
> 
> I'm trying to use the OJB xdoclet module (from 1.0.3 
> download) with java 5 generics.
> 
> The following:
>   ArrayList <Integer>generic  = new ArrayList<Integer>();
> 
> gives an error:
> [ojbdoclet] Error parsing File 
> C:\java\pol\src\java\Test.java:Encountered
> "<" at
>  line 11, column 27.
> [ojbdoclet] Was expecting one of:
> 
> 
> Is there a 1.5 compatible version?
> 
> Also, can I use generics for collections in OJB classes?
> 
> Thanks,
> 
> Daniel.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to