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 188353

Summary: Server not copied with Project
Product: javaee Reporter: bht <bht>
Component: Web ProjectAssignee: David Konecny <dkonecny>
Status: RESOLVED WONTFIX    
Severity: normal CC: phejl, vkraemer
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:

Description bht 2010-07-04 05:55:16 UTC
How to reproduce

File|New Project|Java Web|Web Application|Next
Server: GlassFish V3 1
Java EE Version: Java EE 6 Web
Next|Finish

Projects Window|Select project|Right click|Copy

Select the new copied project|Right click|Properties|Run 

Expected behavior:

GlassFish Server 3 1


Actual behavior: 

GlassFish Server 3
Comment 1 David Konecny 2010-07-07 20:33:40 UTC
I think what happens (cannot verify right now) is that reference to a deployment server is stored in nbproject/private/private.properties file which is (intentionally) not copied to new location and when project is opened IDE matches it with any server which is EE6 compatible which in your case is GF3 instead of GF3.1.
Comment 2 bht 2010-07-08 07:25:14 UTC
I agree. It does not bother me. I just reported it in case there could be other issues with it.
Comment 3 Martin Balin 2016-07-07 08:55:15 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss