JBoss Community

Exporting using a different context-root

created by Scott Stark in JBoss Tools - View the full discussion

Another issue related to 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/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://sales-sstark.dev.rhcloud.com/

 

rather than:

 

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

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

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community