[ 
http://jira.codehaus.org/browse/MECLIPSE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

fabrizio giustina updated MECLIPSE-652:
---------------------------------------

    Fix Version/s: 2.9
         Assignee: fabrizio giustina

> Ability to map a webapp to the root context
> -------------------------------------------
>
>                 Key: MECLIPSE-652
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-652
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Improvement
>          Components: WTP support
>    Affects Versions: 2.8
>            Reporter: fabrizio giustina
>            Assignee: fabrizio giustina
>            Priority: Trivial
>             Fix For: 2.9
>
>
> There is no way at the moment to map a webapp to the root context.
> A root context is configured in the org.eclipse.wst.common.component file 
> using:
> {code}
> <property name="context-root" value=""/>
> {code}
> However, setting an empty wtpContextName in pom.xml makes the eclipse plugin 
> default to the artifact id for the context root, giving no way to set it to 
> an empty value.
> In order to make it configurable without breaking the old behavior we could 
> use the magic word "ROOT" to map the webapp to the root context, just like 
> tomcat commonly does (in order to map a webapp to the root context a common 
> option in tomcat is to name it "ROOT")
>  
> {code}
>       <plugin>
>         <artifactId>maven-eclipse-plugin</artifactId>
>         <configuration>
>           <wtpContextName>ROOT</wtpContextName>
>         </configuration>
>       </plugin>
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to