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.

Bug 233215

Summary: Wrong maven <netbeans.hint.deploy.server> property created by IDE for Java EE 7 projects (gfv3ee6 instead of gfv4ee7)
Product: serverplugins Reporter: Nabi
Component: GlassFishAssignee: Petr Hejl <phejl>
Status: RESOLVED INVALID    
Severity: normal CC: mjanicek, vkraemer
Priority: P3    
Version: 7.3.1   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Nabi 2013-07-22 20:21:52 UTC
Product Version = NetBeans IDE 7.3.1 (Build 201306052037)
Operating System = Mac OS X version 10.8.4 running on x86_64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01

When creating Java EE 7 maven projects then <netbeans.hint.deploy.server>gfv3ee6</netbeans.hint.deploy.server> is added to the pom instead of something like <netbeans.hint.deploy.server>gfv4ee7</netbeans.hint.deploy.server>

this is only what I can see on the surface, I have no clue what this means for code behind the scenes... Maybe this is nothing important at all.
Comment 1 Martin Janicek 2013-07-23 11:27:34 UTC
Thanks for the report. You are correct, it needs to be improved. I would say this constant is obtained from GF plugin, but not completely sure now. I'll take a look at it..
Comment 2 Martin Janicek 2013-07-23 11:39:38 UTC
Reassigning to GlassFish. This seems to be provided by GF module.. even server instance obtained by Deployment.getDefault().getServerInstanceIDs(..) contains something like this:

[/home/martin/Application/glassfish-4.0-b89/glassfish:/home/martin/Application/glassfish-4.0-b89/glassfish/domains/domain1]deployer:gfv3ee6wc:localhost:4848
Comment 3 TomasKraus 2013-07-23 12:29:20 UTC
This is something I can't change even for 7.4. It's too late.
Those strings like "gfv3ee6wc" are internal keys to access server instance objects in NetBeans and they are hard-coded on many places. I'm trying to get rid of them whenever I see them but complete removal means a lot of refactoring.

Targeting to next release where I would like to provide some better way to construct server URI and related things.
Comment 4 Petr Hejl 2015-05-18 15:27:59 UTC
This is just internal server type.