[
https://issues.jboss.org/browse/JBIDE-12988?page=com.atlassian.jira.plugi...
]
Rob Stryker reassigned JBIDE-12988:
-----------------------------------
Assignee: Burr Sutter (was: Rob Stryker)
Burr:
You did not provide any clear steps to reproduce, so after consulting with max, I
basically did the following:
1) Create the html5 app
2) Create a second web-app of a different but similar name
3) Create an eap server
4) Modify the html5 app's eclipse preferences to have a context root SIMILAR TO the
second web-app, but NOT modify the ACTUAL app's context root in the jboss descriptor
file
5) Run as - Run on Server the html5 app.
Of course, since I modified the html5 app's eclipse "context root"
preference to some new value, without modifying the appropriate jboss descriptor file, it
did open the URL, however, this is 100% expected.
The "run as" url is generated entirely from the eclipse preferences and has no
relation to what is stored in the jboss descriptor. If you modify the eclipse preference,
without updating the descriptor by hand, any attempt to run the app on a server will
result in a 404.
You also may not have noticed in your screencast that the two apps were named
"mobile" and "jboss-html5-webapp-comm", while the url when published
is only "jboss-html5-webapp". This means it is NOT using a url intended for the
OTHER project, and it is NOT confusing the two projects together.
Again, without having access to your two projects, I can't guarantee there is no bug.
My attempts to replicate did not involve openshift at all, because your description was
not clear on how openshift should be used to replicate the bug.
What I'm really trying to say is that you should either attach sample projects, or
revise your steps to replicate starting with a clean workspace. Otherwise, I can only
attempt to replicate based on what little I have available to me in the screencast.
What I see in the screencast doesn't guarantee no bugs, but, Max has directed me to
replicate using the simplest interpretation of it, and in that situation, I see no bug and
am unable to replicate anything like this.
Run-As on Server opens browser with wrong project selected
----------------------------------------------------------
Key: JBIDE-12988
URL:
https://issues.jboss.org/browse/JBIDE-12988
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS/Servers
Reporter: Burr Sutter
Assignee: Burr Sutter
Fix For: 4.0.x
http://screencast.com/t/2gkZvqXNV
The mobile project was git cloned from OpenShift.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira