Bug 233215 - Wrong maven <netbeans.hint.deploy.server> property created by IDE for Java EE 7 projects (gfv3ee6 instead of gfv4ee7)
Wrong maven <netbeans.hint.deploy.server> property created by IDE for Java EE...
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: GlassFish
7.3.1
Macintosh Mac OS X
: P3 (vote)
: 8.0
Assigned To: TomasKraus
issues@serverplugins
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-22 20:21 UTC by Nabi
Modified: 2013-07-23 12:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo