I've got a little problem when I run a project from my Netbeans 7.2 (I also use a Glassfish 3.1.2 Server) ...
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 :
localhost:8080/MyApplicationEAR-0.1-SNAPSHOT
instead of
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?
EDIT : The application.xml is auto generated by Maven and the context-root is well formed but it seems that Netbeans doesn't matter with this...