Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4694

Build breaks on Mac OS X due to JDK classpath issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.7.1.1
    • 10.6.2.1, 10.7.1.1
    • Build tools
    • None
    • 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

      Attachments

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

        Activity

          People

            kristwaa Kristian Waagan
            kristwaa Kristian Waagan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: