glassfishplugins
  1. glassfishplugins
  2. GLASSFISHPLUGINS-325

Run/Debug classpath not set correctly when run from Eclipse .launch files

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: None
    • Component/s: eclipse
    • Labels:
      None
    • Environment:

      Eclipse Helios, Glassfish 3.1, Oracle Glassfish Server Tools 1.7.0

      Description

      Classpath entries set using the Eclipse Run Configuration Classpath tab do not appear to take effect when the run configuration (aka .launch file) is run. Specifically, we use the "Add Projects..." feature of the .launch configuration editor (Run Configuration) to add dependent projects from the same Eclipse workspace to the runtime classpath. This feature works for other app servers (i.e. JBoss) but not for Glassfish. The .launch files created by the Glassfish plugin have the classpath entries in the .launch file, but don't appear to make it to the runtime classpath of Glassfish.

        Activity

        Hide
        ludo added a comment -

        Yes, configure the server is not done via Eclipse, but via the unified domain.xml or cli commands or admin gui in the server jvm options area.
        On the JDK can be picked using std Eclipse UI.
        Please use the admin facilities of the server to configure it.
        Tying Eclipse ui features to the runtime configuration would be too much work and could potentially create a non working config on the backend

        Show
        ludo added a comment - Yes, configure the server is not done via Eclipse, but via the unified domain.xml or cli commands or admin gui in the server jvm options area. On the JDK can be picked using std Eclipse UI. Please use the admin facilities of the server to configure it. Tying Eclipse ui features to the runtime configuration would be too much work and could potentially create a non working config on the backend
        Hide
        aolsen added a comment -

        I guess this is why there is an option for "Internal GlassFish..." in Eclipse?

        Brings me back to the question about what the distincstion between the various GF servers in Eclipse really are. Here is an obviuos example: The internal GF in Eclipse needs to allow for tampering in any way (or?).

        Just my workspace...

        Show
        aolsen added a comment - I guess this is why there is an option for "Internal GlassFish..." in Eclipse? Brings me back to the question about what the distincstion between the various GF servers in Eclipse really are. Here is an obviuos example: The internal GF in Eclipse needs to allow for tampering in any way (or?). Just my workspace...
        Hide
        aolsen added a comment -

        If so: Please put a "Reset to factory settings" button in there.

        Show
        aolsen added a comment - If so: Please put a "Reset to factory settings" button in there.

          People

          • Assignee:
            Unassigned
            Reporter:
            slehman
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: