[jbosstools-issues] [JBoss JIRA] (JBIDE-10930) For EAR projects, Run As > Run on Server should open the 1st webapp using the context root in application.xml

Fred Bricon (JIRA) jira-events at lists.jboss.org
Thu Feb 16 05:00:38 EST 2012


Fred Bricon created JBIDE-10930:
-----------------------------------

             Summary: For EAR projects, Run As > Run on Server should open the 1st webapp using the context root in application.xml
                 Key: JBIDE-10930
                 URL: https://issues.jboss.org/browse/JBIDE-10930
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: JBossAS/Servers
    Affects Versions: 3.3.0.M5
            Reporter: Fred Bricon
            Assignee: Rob Stryker
         Attachments: non.default.context.root.zip

For EAR projects, Run As > Run on Server opens the webapp url using the context root defined on the webapp project, not the value of the context root in application.xml, which obviously leads to a 404 error page.

{quote}
(09:53:24) rawbdor: fbricon,  EarArtifactAdapter
(09:53:36) rawbdor: takes the first web project in the ear
(09:53:48) rawbdor: and simply returns whatever the web artifact adapter would do for that app
{quote}

When lauching, we could maybe use a IModuleArtifact decorator that provides the correct url to be opened in the browser?


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list