[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-473) JBoss AS ignores context root property of dynamic web project

Rob Stryker (JIRA) jira-events at lists.jboss.org
Fri Jun 17 03:49:24 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Stryker updated JBIDE-473:
------------------------------

    Fix Version/s: LATER
                       (was: 3.3.0.M3)


This bug will remain untargeted until someone suggests actual behaviour they want the tooling to perform when the context root is changed. As I've said years ago, all I can do is change the name of the deployment jar, but we now have many ways to perform that exact behaviour via the server editor, and so this would be redundant, and would actually be confusing to users who set a context root and then set a different name in the deployment tab. 


> JBoss AS ignores context root property of dynamic web project
> -------------------------------------------------------------
>
>                 Key: JBIDE-473
>                 URL: https://issues.jboss.org/browse/JBIDE-473
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: JBossAS
>            Reporter: Viacheslav Kabanovich
>            Assignee: Rob Stryker
>             Fix For: LATER
>
>
> Open editor for Tomcat Server (double click Tomcat node in Servers view). The editor has two tabs - Overview and Modules. In Modules tab, it is possible to select a registered web project and call dialog for changing path (context root) property by Edit button. Then, for example, if project's name is MyProject but path is set to /OurProject, in order to access the application running on Tomcat server one has to type in browser an address like http://localhost:8080/OurProject rather than http://localhost:8080/MyProject.
> Red Hat studio defines menu action 'Register Web Context in Server', which invokes dialog that allows to set context root property. That works fine with Tomcat server, but fails with JBoss AS, because it seems that its implementation ignores this property of web project when deploying it. Hence, the request is to develop this functionality of JBoss AS to the level of Tomcat server.
> Context root property is accessible through class org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities with methods
> public static void setServerContextRoot(IProject project, String contextRoot)
> public static String getServerContextRoot(IProject project)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list