1. Derby
  2. DERBY-3196

UI plugin won't assign correct path when installed outside the 'plugins' directory, (in another extension location directory).


    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s:
    • Fix Version/s: None
    • Component/s: Eclipse Plug-in
    • Environment:
      Windows 2000, Eclipse, Derby Plugin
    • Urgency:
    • Issue & fix info:
      Repro attached, Workaround attached


      When installing the plugins in a directory other than the "plugins" directory, and setting the Derby nature to a project, the UI plugin will ignore that fact, and modify the classpath or the project as if the jar files were in the "plugins" directory.

      How to reproduce:
      Download and install both Derby plugins in a extension location, different from the plugins directory. To set up an alternative extension location, follow the instructions in:

      Start Eclipse, select a project and select the "Apache Derby->Add Apache Derby Nature" context menu option.
      The project builds now with errors, as the system cannot find the derby jar files in the "ECLIPSE_HOME/plugins" directory.
      Opening the classpath of the project, the jar files are added with the ECLIPSE_HOME/plugins path, even if they aren't there.

      The "Add Apache Derby Nature" should take into account the actual position of the plugins when changing the plugin.

      Manually modify the Classpath. Add a new classpath variable called DERBY_HOME with the real directory where the derby jar files are located. Extend that variable with the jar files.


        Gavin made changes -
        Workflow jira [ 12416910 ] Default workflow, editable Closed status [ 12799494 ]
        Kathey Marsden made changes -
        Labels derby_triage10_5_2
        Kathey Marsden made changes -
        Field Original Value New Value
        Urgency Normal
        Issue & fix info [Repro attached, Workaround attached]
        Julen Parra created issue -


          • Assignee:
            Julen Parra
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created: