Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 17776 invoked from network); 10 Dec 2004 14:02:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Dec 2004 14:02:07 -0000 Received: (qmail 76992 invoked by uid 500); 10 Dec 2004 14:00:43 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 76951 invoked by uid 500); 10 Dec 2004 14:00:43 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 76937 invoked by uid 99); 10 Dec 2004 14:00:43 -0000 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=FORGED_RCVD_HELO,RCVD_IN_NJABL_DUL X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from 220-132-25-197.HINET-IP.hinet.net (HELO kh.soho.club.tw) (220.132.25.197) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Dec 2004 06:00:36 -0800 Received: (from root@localhost) by kh.soho.club.tw (8.12.8/8.12.8) id iBAE0WQL012653 for users@cocoon.apache.org; Fri, 10 Dec 2004 22:00:32 +0800 Received: from sony ([220.192.60.158]) (authenticated bits=0) by kh.soho.club.tw (8.12.8/8.12.8) with ESMTP id iBAE0Qii012646 for ; Fri, 10 Dec 2004 22:00:29 +0800 Message-ID: <015c01c4dec0$9b65e590$c43cc0dc@goodwillheater.com> From: "Johnson" To: References: <39867.10.0.0.54.1101740783.squirrel@ags01.agsoftware.dnsalias.com> <001101c4ddeb$5d1cad30$c43cc0dc@goodwillheater.com> <012801c4dea7$8f662fc0$c43cc0dc@goodwillheater.com> Subject: Re: [HOW-TO] Compile Cocoon 2.1.6 using java 1.5 --amand-ok Date: Fri, 10 Dec 2004 21:59:56 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="big5"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by AMaViS 0.3.13pre2 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N got the blocks-build.xml from! in src/blocks-build.xsl just like before add a source="1.4" line to javac block best regards johnson ----- Original Message ----- From: "Johnson" To: Sent: Friday, December 10, 2004 7:01 PM Subject: Re: [HOW-TO] Compile Cocoon 2.1.6 using java 1.5 --amand-ok > Hi! > > I add a line in javac command source="1.4" in the init_build.xml > compile-build.xml samples-build.xml > change the target="1.3" to target="1.4" in init_build.xml > and I build cocoon 2.1.x with java 1.5 twice. > once there will a file blocks-build.xml in build/cocoon-2.1.x/tmp > replace all target="${target.vm}" p with target="${target.vm}" > source="1.4" p > and build again,it ok. > I'm wondering where the blocks-build.xml established. > > Best Regards > > johnson > > > ----- Original Message ----- > From: "Johnson" > To: > Sent: Thursday, December 09, 2004 8:33 PM > Subject: Re: [HOW-TO] Compile Cocoon 2.1.6 using java 1.5 > > >> 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" >> To: >> 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 >> > > > --------------------------------------------------------------------- > 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