Derby
  1. Derby
  2. DERBY-4694

Build breaks on Mac OS X due to JDK classpath issues

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.7.1.1
    • Fix Version/s: 10.6.2.1, 10.7.1.1
    • Component/s: Build tools
    • Labels:
      None
    • Environment:
      Mac OS X JDK 1.6

      Description

      The Derby build breaks on OS X, apparently trying to use JDK 1.5/1.6 compile classpath for JDK 1.4.

      A quick look indicates that PropertySetter is only using defaults when configuring the classpaths, and this fails when OS X creates symlinks 1.4 -> 1.6 and 1.5 -> 1.6.
      We should investigate whether the current JAR inspection logic works on OS X with Apple JDKs as well (it is currently used for Sun and IBM JDKs, as well as for other / unknown JDKs).

      Issue was reported on derby-dev (see http://db.markmail.org/thread/wqe73b27rknuezm7 ).
      See also this thread for a related issue that may affect OS X: http://markmail.org/thread/7w24qwmvgxfctndi

      1. derby-4694-2b-debugging_and_mac_fix.diff
        6 kB
        Kristian Waagan
      2. antwithlibset.txt
        13 kB
        Kathey Marsden
      3. 1.6.0dirStructure.txt
        1 kB
        Kathey Marsden
      4. 1.6.0allfiles.txt
        25 kB
        Kathey Marsden
      5. antPrintCompilerPropertiesVerbose.txt
        6 kB
        Kathey Marsden
      6. antwithpatch_diff.txt
        3 kB
        Kathey Marsden
      7. derby-4694-2a-debugging.diff
        5 kB
        Kristian Waagan
      8. derby-4694-1a.diff
        13 kB
        Kristian Waagan

        Activity

        Gavin made changes -
        Workflow jira [ 12512712 ] Default workflow, editable Closed status [ 12800239 ]
        Rick Hillegas made changes -
        Affects Version/s 10.7.1.1 [ 12315564 ]
        Affects Version/s 10.7.1.0 [ 12314971 ]
        Fix Version/s 10.7.1.1 [ 12315564 ]
        Fix Version/s 10.7.1.0 [ 12314971 ]
        Knut Anders Hatlen made changes -
        Fix Version/s 10.6.2.1 [ 12315343 ]
        Fix Version/s 10.6.2.0 [ 12315342 ]
        Kathey Marsden made changes -
        Fix Version/s 10.6.2.0 [ 12315342 ]
        Fix Version/s 10.6.1.1 [ 12314973 ]
        Kristian Waagan made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Fix Version/s 10.6.1.1 [ 12314973 ]
        Resolution Fixed [ 1 ]
        Kristian Waagan made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Kristian Waagan made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Kristian Waagan made changes -
        Kathey Marsden made changes -
        Attachment antwithlibset.txt [ 12448878 ]
        Kathey Marsden made changes -
        Attachment 1.6.0allfiles.txt [ 12448876 ]
        Attachment 1.6.0dirStructure.txt [ 12448877 ]
        Kathey Marsden made changes -
        Attachment antPrintCompilerPropertiesVerbose.txt [ 12448521 ]
        Kathey Marsden made changes -
        Attachment antwithpatch_diff.txt [ 12448513 ]
        Kristian Waagan made changes -
        Attachment derby-4694-2a-debugging.diff [ 12448383 ]
        Kristian Waagan made changes -
        Attachment derby-4694-2a-debugging.diff [ 12448398 ]
        Kathey Marsden made changes -
        Summary Build breaks on OS X due to JDK classpath issues Build breaks on Mac OS X due to JDK classpath issues
        Environment Mac OS X JDK 1.6
        Kristian Waagan made changes -
        Attachment derby-4694-2a-debugging.diff [ 12448383 ]
        Kristian Waagan made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Issue & fix info [Patch Available]
        Fix Version/s 10.7.0.0 [ 12314971 ]
        Resolution Fixed [ 1 ]
        Kristian Waagan made changes -
        Issue & fix info [Patch Available]
        Kristian Waagan made changes -
        Attachment derby-4694-1a.diff [ 12448054 ]
        Kristian Waagan made changes -
        Field Original Value New Value
        Assignee Kristian Waagan [ kristwaa ]
        Kristian Waagan created issue -

          People

          • Assignee:
            Kristian Waagan
            Reporter:
            Kristian Waagan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development