Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 28893 invoked from network); 9 Jan 2006 15:16:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jan 2006 15:16:54 -0000 Received: (qmail 73898 invoked by uid 500); 9 Jan 2006 15:16:50 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 73847 invoked by uid 500); 9 Jan 2006 15:16:50 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 73836 invoked by uid 99); 9 Jan 2006 15:16:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2006 07:16:48 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id D4B821B7 for ; Mon, 9 Jan 2006 16:16:27 +0100 (CET) Message-ID: <332482174.1136819787869.JavaMail.jira@ajax.apache.org> Date: Mon, 9 Jan 2006 16:16:27 +0100 (CET) From: "Sachin Patel (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Resolved: (GERONIMODEVTOOLS-31) Latest plugin source fails to compile In-Reply-To: <134765648.1136781980258.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-31?page=all ] Sachin Patel resolved GERONIMODEVTOOLS-31: ------------------------------------------ Resolution: Fixed took out assert > Latest plugin source fails to compile > ------------------------------------- > > Key: GERONIMODEVTOOLS-31 > URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-31 > Project: Geronimo-Devtools > Type: Bug > Components: eclipse-plugin > Environment: WinXP and 1.4.2 JDK > Reporter: Donald Woods > Assignee: Sachin Patel > Priority: Blocker > > Using the following level of source - > Revision: 367038 Date: 11:10:12 AM, Sunday, January 08, 2006 > +---------------------------------------- > | Executing jar:install org.apache.geronimo.ui > | Memory: 112M/128M > +---------------------------------------- > ========================================================== > NOTE: Targetting JVM 1.4, classes > will not run on earlier JVMs > ========================================================== > > [javac] Compiling 57 source files to E:\Working\wombat101\devtools\modules\eclipse-plugin\plugins\org.apache.geronimo.ui\target\classes > E:\Working\devtools\modules\eclipse-plugin\plugins\org.apache.geronimo.ui\src\org\apache\geronimo\ui\sections\AbstractTableSection.java:111: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier > assert getTableEntryObjectType() != null > ^ > E:\Working\devtools\modules\eclipse-plugin\plugins\org.apache.geronimo.ui\src\org\apache\geronimo\ui\sections\AbstractTableSection.java:111: ';' expected > assert getTableEntryObjectType() != null > ^ > 1 error > 1 warning > The Sun Programming With Assertions doc - > http://java.sun.com/j2se/1.4.2/docs/guide/lang/assert.html#compiling > mentions a compile-time option is needed - > In order for the javac compiler to accept code containing assertions, you must use the -source 1.4 command-line option as in this example: > javac -source 1.4 MyClass.java > This flag is necessary so as not to cause source compatibility problems. > Not sure if this is related to Eclipse compiles.... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira