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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [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