cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Juffer <ajuf...@sun3.oulu.fi>
Subject Re: Using Generics (ie java 1.5) in Cocoon
Date Sun, 02 Aug 2009 11:53:53 GMT
Kamal,

there should be no problem at all running cocoon 2.2 with java 1.5 or 
1.6. I am running it with 1.6 and all my code is written with generics.

Kamal wrote:
> Hi,
> I want to use Java 1.5 functionality in Cocoon 2.2.  Is it possible?  
> When I try to use generics, I get the following error:
> 
> [INFO] Compilation 
> failure                                                                             
   
> 
> C:\dev\workspace\cocoon\src\main\java\cpl\Form.java:[8,16] generics are 
> not supported in -source 1.3       (try -source 1.5 to enable 
> generics)        private List<Widget> 
> mWidgets;                                                                           
                                                                                         
                                                                                         
                                                                                         
                                               
> 
> 
> Thanks.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


-- 
Andre H. Juffer              | Phone: +358-8-553 1161
Biocenter Oulu and           | Fax: +358-8-553-1141
Department of Biochemistry   | Email: andre.juffer@oulu.fi
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
StruBioCat                   | WWW: www.strubiocat.oulu.fi
NordProt                     | WWW: www.nordprot.org
Triacle Biocomputing         | WWW: www.triacle-bc.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message