Issues

Select view

Select search mode

 

Allow webapp context root to be overridden with property in standalone.xml

Description

Our config management roles currently use a template copy of jboss-web.xml, just so that they can add the XML element <context-root>$ROOT_CONTEXT</context-root>. This is a maintenance problem because every change in Zanata's jboss-web.xml has to be added to the template.

We should be able to use "descriptor-based property replacement" to fill in this value (not just the ROOT_CONTEXT, the whole element) from a variable instead (after adding a variable reference to jboss-web.xml in Zanata's source code).

It's important that users who don't specify a value for the new variable get the same behaviour as before: if deploying as zanata.war, the default context is /zanata. If deploying as ROOT.war, the default context is /. It's possible that an empty <context-root></context-root> would achieve this too, and it would be neater, but this would need to be confirmed.

Refs:

cc:

Details

Assignee

Reporter

Labels

Tested Version/s

Components

Priority

More fields

Created 1 December 2016 at 04:41
Updated 22 March 2018 at 03:58

Activity

Show:
Loading...