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 202964 - Wrong default context root set for maven web project
Summary: Wrong default context root set for maven web project
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-03 08:29 UTC by Jiri Skrivanek
Modified: 2011-10-17 14:56 UTC (History)
0 users

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-10-03 08:29:40 UTC
If you set server in project properties, context path is set to /mavenproject1-1.0-SNAPSHOT instead of /mavenproject1. Might be related to bug 202760. The bug 199482 is similar but only for GlassFish when changing context path.

To reproduce:
- register GlassFish or Tomcat server to IDE
- create maven web project
- open project properties
- select Run category
- choose GlassFish server and context path is changed to /mavenproject1-1.0-SNAPSHOT but it should be /mavenproject1

Product Version: NetBeans IDE Dev (Build 201110020601)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Comment 1 Martin Janicek 2011-10-12 14:29:15 UTC
Fixed in: http://hg.netbeans.org/web-main/rev/94087645e55b
Comment 2 Quality Engineering 2011-10-14 15:07:56 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/94087645e55b
User: Martin Janicek <mjanicek@netbeans.org>
Log: #202964 - Wrong default context root set for maven web project