This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
i have glassfish 3.1b37 and gfv3.1 instances; also have glassfish V2.x -- gfv2ur2, gfv211 instances. also have glassfish v3.0.1 gfv301 instance; all registered with netbeans ide 7.0 some of my projects require jersey 1.5 version -- which is part of gfv3.1x, and not part of glassfish v3.01; I usually like to build my projects against gfv3.01 -- but when i choose a library to add to my web project -- for example restlib_gfv3ee6, or Javae-EE-Glassfish-V3 -- the location of the jar files is not related to the app-server version chosen for my project -- currently netbeans is always using my gfv31b37 instance location jarfiles -- that instance appears last in my server instance list in netbeans. apparantly i will have to use the default jar file list for these 2 libraries as a template to build "custom" libraries associated with different glassfish version install instances. also -- if i remove or add a new gfv3.x server -- its unpredictable what netbeans will then use for the 2 library names mentioned in this report.
(In reply to comment #0) > some of my projects require jersey 1.5 version -- which is part of gfv3.1x, > and not part of glassfish v3.01; What do you think about this issue Vince? My opinion is that if content of restlib_gfv3ee6 or Javae-EE-Glassfish-V3 library is different in different versions of GlassFish then two (or more) different libraries should be setup by GlassFish. Overriding content of single library by latest version of GF(?) or by latest installed version of GF(?) is quite unpredictable.
dkonecny: been there (create multiple libraries). done that. told "don't do that" (reverted to a single library). This reads similar to issue 196127... I am waiting to hear what the plan is for issue 196466 and how that will affect the serverplugins.
restlib library issue will be resolve by issue 196127. I'm not sure about second library.
I believe David meant issue #196468 and issue #196469. So the REST jars now are added based on library registered by GF or as a list of jars ( not in the library ) if library doesn't match. The problem actually is pretty much the same as I've reported here : issue #196127. But I agree with Vince : restlib_gfv3ee6 library will go away when we resolve the issue #196466. Current issue will just disappear .
*** Bug 198029 has been marked as a duplicate of this bug. ***
Currently library name contains GlassFish server display name as part of it's own display name so it's possible to use more Jersey libraries from more GlassFish servers. I'm closing this issue because it was already resolved in NetBeans 7.3.1