[jboss-user] [JBoss Tools] - Exporting using a different context-root

Scott Stark do-not-reply at jboss.com
Tue Sep 20 21:14:48 EDT 2011

Scott Stark [http://community.jboss.org/people/starksm64] created the discussion

"Exporting using a different context-root"

To view the discussion, visit: http://community.jboss.org/message/627649#627649

Another issue related to  http://community.jboss.org/thread/172586 http://community.jboss.org/thread/172586 is how to change the context-root of the exported war. Let's say I have the following two web projects that I run locally with war deployments sales.war and employee.war:

 http://localhost:8080/sales http://localhost:8080/sales
 http://localhost:8080/employee http://localhost:8080/employee

Now when I export these wars for use in openshift, I have unique dns names for each one as each war is a unique openshift express application, so I would like to have the context root for each war be set to / so that I have the following wep app urls:

 http://employee-sstark.dev.rhcloud.com/ http://employee-sstark.dev.rhcloud.com/
 http://sales-sstark.dev.rhcloud.com/ http://sales-sstark.dev.rhcloud.com/

rather than:

 http://employee-sstark.dev.rhcloud.com/employee http://employee-sstark.dev.rhcloud.com/employee
 http://sales-sstark.dev.rhcloud.com/sales http://sales-sstark.dev.rhcloud.com/sales

I'm hacking this in after the fact with a little ant script right now. Is is possible to configure this differently for export?

This is slightly related to the following issue I suppose:
 https://issues.jboss.org/browse/JBIDE-473 https://issues.jboss.org/browse/JBIDE-473

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110920/1e132eed/attachment-0001.html 

More information about the jboss-user mailing list