Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1931 Derby JAR files should be grouped as a single library in Package Explorer
  3. DERBY-2376

Patch available to make .classpath entries portable - relative to ECLIPSE_HOME

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.2.2.0
    • Fix Version/s: 10.2.2.1, 10.3.1.4
    • Component/s: Eclipse Plug-in
    • Labels:
      None
    • Environment:
      any with eclipse
    • Urgency:
      Normal

      Description

      This patch modifies the DerbyUtils class to add variable entries relative to ECLIPSE_HOME as described in the comments below, so that eclipse projects with Derby Nature can be committed to an SCM without causing build path errors. I did not think any of the derby functional tests were applicable to this ui action, so I manually tested the code by trying the following:
      1) Adding Derby Nature to a java project
      2) Starting and stopping a database with the derby nature
      3) Removing the Derby Nature from a java project

      The code modification is only required on the add and not on the remove since the current remove looks for any entry that ends with the correct JAR names.

        Attachments

        1. completed_javaapp.GIF
          51 kB
          Aaron Tarter
        2. completed_javaapp.GIF
          51 kB
          Aaron Tarter
        3. create_restaurant.GIF
          38 kB
          Aaron Tarter
        4. create_restaurant.GIF
          38 kB
          Aaron Tarter
        5. DERBY-2376.diff
          7 kB
          Aaron Tarter
        6. DerbyUtils.diff
          3 kB
          Aaron Tarter
        7. DerbyUtils.diff
          3 kB
          Aaron Tarter
        8. restaurant_editor.GIF
          45 kB
          Aaron Tarter
        9. restaurant_editor.GIF
          45 kB
          Aaron Tarter
        10. restaurant_script.GIF
          47 kB
          Aaron Tarter
        11. restaurant_script.GIF
          47 kB
          Aaron Tarter
        12. run_javaapp.GIF
          52 kB
          Aaron Tarter
        13. run_javaapp.GIF
          52 kB
          Aaron Tarter

          Activity

            People

            • Assignee:
              ajtarter Aaron Tarter
              Reporter:
              ajtarter Aaron Tarter
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: