[OS-JIRA] Created: (CAY-313) Cayenne does not build with JDK 1.5

From: jira-norepl..bjectstyle.org
Date: Fri May 06 2005 - 09:14:29 EDT

  • Next message: Randy Leonard: "horizontal inheritance"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-313

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-313
        Summary: Cayenne does not build with JDK 1.5
           Type: Bug

         Status: Assigned
       Priority: Major

        Project: Cayenne
     Components:
                 Cayenne Core Library

       Assignee: Andrus Adamchik
       Reporter: Holger Hoffstätte

        Created: Fri, 6 May 2005 9:12 AM
        Updated: Fri, 6 May 2005 9:12 AM
    Environment: java version "1.5.0_03"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
    Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)

    Description:
    I tried to build cayenne from CVS via ant on JDK 1.5 (aka 5.0) and it does not compile, because it references org.apache.commons.enum and enum is a reserved keyword in Java 1.5+. Solution: add 'source="1.4"' to javac in the "compile" target in build-subproj.xml (around line 130).

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Fri May 06 2005 - 09:14:32 EDT