users@glassfish.java.net

GlassFish V3 SNAPSHOT Server Plugin for Eclipse 3.4 jar problems with TP2

From: <glassfish_at_javadesktop.org>
Date: Wed, 10 Sep 2008 13:07:21 PDT

Hi,
   There is no compatible Eclipse Server plugin for the latest V3 TP2 server (exe) install. The closest match is the GlassFish V3 SNAPSHOT. Has anyone been able to create a server plugin within Eclipse 3.4 to a V3TP2 server?

References:
https://glassfishplugins.dev.java.net/
https://glassfishplugins.dev.java.net/eclipse33/index.html


    When creating a new server in Eclipse 3.4 I downloaded the latest version Sept 8 2008 using Eclipse and I still have only 5 types of server.
GlassFish V1 Java EE 5
GlassFish V2 Java EE 5
GlassFish V3 Prelude
GlassFish V3 SNAPSHOT <--- latest
Sailfin V1

   The problem is that the jars in the modules directory are postfixed with *-10.0-tp-2-SNAPSHOT.jar. The SNAPSHOT plugin expects the unnumbered format *-10.0-SNAPSHOT.jar.

For example, the installation provides us a...
jsf-connector-10.0-tp-2-SNAPSHOT.jar
But the latest pluggin is looking for an older version...
jsf-connector-10.0-SNAPSHOT.jar


   See the following error dialog for an example when creating a server plugin instance.

http://wiki.eclipse.org/EclipseLink/Examples/JPA/GlassFishV3_Web_Tutorial#Install_GlassFish

  Workaround:
   Rename the jars and create stubs for the missing ones to get past the creation errors and then rename them back once we have a server instance.

  Here is a list of the missing(most in javax.javaee)/renamed jars.

V3
MISSING
javax.jms-10.0-SNAPSHOT.jar
javax.xml.soap-10.0-SNAPSHOT.jar
javax.persistence-10.0-SNAPSHOT.jar
javax.xml.ws-10.0-SNAPSHOT.jar
javax.resource-10.0-SNAPSHOT.jar
javax.xml.rpc-10.0-SNAPSHOT.jar
javax.servlet-10.0-SNAPSHOT.jar
javax.security.jacc-10.0-SNAPSHOT.jar
javax.ejb-10.0-SNAPSHOT.jar
javax.xml.stream-10.0-SNAPSHOT.jar
javax.activation-10.0-SNAPSHOT.jar
javax.jws-10.0-SNAPSHOT.jar
javax.servlet.jsp.jstl-10.0-SNAPSHOT.jar
javax.security.auth.message-10.0-SNAPSHOT.jar
javax.servlet.jsp-10.0-SNAPSHOT.jar
javax.transaction-10.0-SNAPSHOT.jar
javax.management.j2ee-10.0-SNAPSHOT.jar
javax.enterprise.deploy-10.0-SNAPSHOT.jar
javax.mail-10.0-SNAPSHOT.jar
javax.annotation-10.0-SNAPSHOT.jar
javax.xml.bind-10.0-SNAPSHOT.jar

rename
jsf-connector-10.0-tp-2-SNAPSHOT.jar
to
jsf-connector-10.0-SNAPSHOT.jar

glassfish-10.0-tp-2-SNAPSHOT.jar
to
glassfish-10.0-SNAPSHOT.jar
[Message sent by forum member 'mobrien' (mobrien)]

http://forums.java.net/jive/thread.jspa?messageID=298440