users@glassfish.java.net

Re: Eclipse Plugin doesn't support GlassFish V2

From: vince kraemer <Vince.Kraemer_at_Sun.COM>
Date: Thu, 14 Dec 2006 17:21:58 -0800

> I am not able to use the GlassFish plugin for Eclipse with V2. It
> complains about missing appserver-ws.jar. This issue was posted by
> somebody else on forums:
> http://forums.java.net/jive/thread.jspa?threadID=20954&tstart=0 - but
> hasn't got a response.
>
> Anybody know a workaround? Or can we easily patch the Eclipse plugin
> to support V2?
>

I'll be honest... I am not an Eclipse user, so I haven't been able to
really test this work-around as much as you might like...

My environment:

win xp
jdk 5_7
ibm's j2ee distro based on 3.2.1
the gf plugin 0.3
GF V2 B28

installed the distro then the plugin then GF.

started eclipse.

started a new dynamic web project.

Tried to create a new GlassFish java EE 5 server runtime, based on the
V2 installation...

Saw a message about the missing file.

went into the lib directory and named a copy of webservices-rt.jar as
appserv-ws.jar

Obviously, this is flaky for doing web services... but I could not
figure out how to do a JAX-WS servive in eclipse, to see "how flaky is
it"....

This is a lousy first answer.

It looks like the work to create a new server definition isn't too bad.

I will need to figure out how to build an update for the plugin...

vbk