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 197423 - glassfish-web.xml should not be created on Windows
Summary: glassfish-web.xml should not be created on Windows
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 06:58 UTC by Jiri Skrivanek
Modified: 2011-08-19 09:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2011-04-05 06:58:58 UTC
glassfish-web.xml is not generated while creating a new web project on unix. It should not be created on windows as well. To reproduce:

- register GlassFish server to NetBeans
- open "File|New Project|Java Web|Web Application"
- go through the wizard with default values and click Finish
- new web project is created containing glassfish-web.xml on windows but not on unix

Product Version: NetBeans IDE Dev (Build 201104040400)
Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Comment 1 Quality Engineering 2011-04-21 04:55:52 UTC
Integrated into 'main-golden', will be available in build *201104210000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/fbb359c97341
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #197423 : unnecessary glassfish-web.xml created on windows
Comment 2 Vince Kraemer 2011-04-21 14:54:10 UTC
please verify or reopen
Comment 3 Jiri Skrivanek 2011-04-21 15:16:38 UTC
Verified in 201104210000.
Comment 4 arthurbuliva 2011-08-18 17:22:05 UTC
I am still not get the file generated on Linux. Is this a bug?
Comment 5 Vince Kraemer 2011-08-18 18:55:06 UTC
(In reply to comment #4)
> I am still not get the file generated on Linux. Is this a bug?

If you create a java ee 6 web app that targets GF 3.x, the glassfish-web.xml file should not be created at the time the project is created.

If you need to create a glassfish-web.xml use File->New File->Other... to open the File from template wizard.  Select the GlassFish category and GlassFish Deployment Descriptor file.