Alessandro Falappa created NETBEANS-2835:
--------------------------------------------
Summary: Assign context equal to project name in newly created
Gradle Web Application projects
Key: NETBEANS-2835
URL: https://issues.apache.org/jira/browse/NETBEANS-2835
Project: NetBeans
Issue Type: Improvement
Components: projects - Gradle Java EE
Affects Versions: 11.1
Reporter: Alessandro Falappa
Assignee: Laszlo Kishalmi
Newly created Gradle Web Application projects have by default an empty context
path inĀ {{src/main/webapp/WEB-INF/context.xml}}:
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<Context path=""/>
{code}
I think it would be better to use the project name prepended with a slash.
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/project-name"/>
{code}
This is more consistent with the analogous maven web application project and
moreover it is a saner default when multiple projects are deployed on the same
application server.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists