[nbusers] Run with the right context root

  • From: "jpieret" < >
  • To:
  • Subject: [nbusers] Run with the right context root
  • Date: Mon, 05 Nov 2012 05:29:15 -0500

Hello

I've got a little problem when I run a project from my Netbeans 7.2...

In fact I'm migrating existing projects from Ant to Maven, my pom.xml are 
finished and I've used the customisation of the context root as it's 
described here : 
http://maven.apache.org/plugins/maven-ear-plugin/examples/customizing-context-root.html
 but when I run the project from netbeans, it's deployed with the name of my 
.ear :
http://localhost:8080/MyApplicationEAR-0.1-SNAPSHOT ;
instead of
http://localhost:8080/MyApplicationName ;(which is referenced in 
<contextRoot>/MyApplicationName</contextRoot>)

If I write the correct URL in my browser it works fine but it's not really 
pleasant.

Is there a problem in Netbeans or I've forgot something?

Thanks in advance !






[nbusers] Run with the right context root

jpieret 11/05/2012

[nbusers] Re: Run with the right context root

Benno Markiewicz 11/06/2012

[nbusers] Run with the right context root

htmfilho 11/06/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close