cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnson" <john...@soho.club.tw>
Subject Re: [HOW-TO] Compile Cocoon 2.1.6 using java 1.5
Date Thu, 09 Dec 2004 12:33:30 GMT
Supplementary info!

Because  Java language in 5.0, enum is now a keyword and can no longer be 
used as an identifier.
So must add a line  "source=1.4" below target="1.5".
more info pls see http://java.sun.com/j2se/1.5.0/compatibility.html

Best Regards

Johnson

----- Original Message ----- 
From: "Antonio Gallardo" <agallardo@agssa.net>
To: <users@cocoon.apache.org>
Sent: Monday, November 29, 2004 11:06 PM
Subject: [HOW-TO] Compile Cocoon 2.1.6 using java 1.5


> Hi:
>
> I read a lot of mails asking if cocoon 2.1.6 is compilable and runnable
> using java 1.5.
>
> The short answer is yes. Unfortunately, we need to make 2 changes:
>
> Edit the file: $COCOON_HOME/tools/targets/init-build.xml
>
> and changes lines 156 and 182:
>
> target="1.3" ----> target="1.5"
>
> I hope this help.
>
> That is all!
>
> Best Regards,
>
> Antonio Gallardo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org 


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


Mime
View raw message