Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 23275 invoked from network); 11 Sep 2009 16:59:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Sep 2009 16:59:22 -0000 Received: (qmail 20124 invoked by uid 500); 11 Sep 2009 16:59:22 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 20114 invoked by uid 99); 11 Sep 2009 16:59:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 16:59:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 16:59:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 87D95234C004 for ; Fri, 11 Sep 2009 09:58:57 -0700 (PDT) Message-ID: <1260391225.1252688337542.JavaMail.jira@brutus> Date: Fri, 11 Sep 2009 09:58:57 -0700 (PDT) From: "Michelle Caisse (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Resolved: (JDO-635) tck2 does not compile with JDK 1.5 In-Reply-To: <3748122.1246822814879.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michelle Caisse resolved JDO-635. --------------------------------- Resolution: Fixed > tck2 does not compile with JDK 1.5 > ---------------------------------- > > Key: JDO-635 > URL: https://issues.apache.org/jira/browse/JDO-635 > Project: JDO > Issue Type: Bug > Components: tck2 > Affects Versions: JDO 2 maintenance release 2 > Reporter: Michael Bouschen > Assignee: Michelle Caisse > Fix For: JDO 2 maintenance release 3 > > > Recently the file projects.properties in tck2 was changed in order to turn OFF any post-compile enhancement with JDK1.6: > maven.compile.compilerargs= -proc:none > This leads to a javac error when using JDK 1.5 (I'm using build 1.5.0_15-b04): > java:compile: > [echo] Compiling to d:\projects\jdo\workspace\jdo\trunk\tck2/target/classes > [javac] Compiling 1 source file to D:\projects\jdo\workspace\jdo\trunk\tck2\target\classes > [javac] javac: invalid flag: -proc:none > [javac] Usage: javac > Unfortunately, maven1 does not support profiles (where maven 2 does support profiles) which allows environment specific property settings. > Eric proposed: > "Another way of disabling the enhancement on compile time is removing the enhancer jar from the compiler classpath." -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.