views:

4575

answers:

5

Question as stated in the title: how to install the GlassFish Server Adapter on Eclipse Helios 3.6?

+8  A: 

Eclipse Helios 3.6 M6

With the Eclipse 3.6 M6 Java EE bundle, if you try to install the GlassFish v3 server adapter via the New Server dialog and then click on the Download Additional server adapters, Eclipse contacts remote sites but fail at showing any adapter:

alt text

This issue is actually captured by Bug 305636. Using the Update Site instead of the New Server Wizard allows to workaround the issue:

  1. Install a new Eclipse Helios M6 (get the Eclipse IDE for Java EE Developers package).
  2. Install the latest GlassFish server adapter, today that is 1.0.52:
    1. Open Help > Install New Software
    2. Add the GlassFish update site URL: https://ajax.dev.java.net/eclipse
    3. Install the GlassFish Java EE 5, Java EE 6 plugin
    4. Restart when prompted
  3. Open the New > Server wizard and add your GlassFish v3 Java EE 6 server.
Pascal Thivent
@Pascal: thank you, seems much easier that way. +1 all around.
VonC
I've updated the question to be more generic and cover all versions of Eclipse 3.6. Now that the final release of Eclipse Helios 3.6 is there, I'm unmarking this question as accepted.
Pascal Thivent
+2  A: 

I get the following when I try this:

Cannot complete the install because one or more required items could not be found. Software being installed: GlassFish Java EE 5, Java EE 6 1.0.54 (com.sun.enterprise.jst.server.sunappsrv.feature.feature.group 1.0.54) Missing requirement: GlassFish Java EE 5, Java EE 6 1.0.54 (com.sun.enterprise.jst.server.sunappsrv.feature.feature.group 1.0.54) requires 'org.eclipse.platform.feature.group [3.5.0,3.6.0)' but it could not be found

John
+2  A: 

Eclipse Helios already have the correct source to download the glassfish plugin but, the site is not available yet. The site will be available at the end of july according to this https://bugs.eclipse.org/bugs/show_bug.cgi?id=312912

You can use a development update site to install a rc version of the glassfish plugin for helios witch is:

http://download.java.net/glassfish/eclipse/helios

Add this to your update sites and then uncheck the option "Group items by category" and you will see and be able to install the Glassfish Plugin in Helios

cool2k
A: 

The above URL did not work for me (I am using final release of Helios).

I had to do

help -> eclipse market place -> [then select glassfish plugin from the 'search' tab]

surajz
+2  A: 
Pascal Thivent
Good summary. +1. I had done the information update on the [other question](http://stackoverflow.com/questions/3330770/where-to-download-glass-fish-plugins-for-eclipse-3-6-helios/3330942#3330942) before reading your own update. I have voted to close that other question as duplicate, hoping for a merge.
VonC
@VonC: Thanks. I have actually requested a merge, trying to centralize things (inspired by your awesome eclipse.ini answers).
Pascal Thivent