Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.2.0.GA
-
Fix Version/s: EE-3.3.0.GA
-
Component/s: Samples
-
Labels:None
-
Environment:Poll
Description
Improve Poll build by introducing JBoss AS specific build(s) as there are different requirements for the jboss-web.xml's contents depending on the version of JBoss AS.
Next to the already existing -Dservlet="2.5" and -Dservlet="3.0", there's now a -Dapp-server="jboss-as-5" and -Dapp-server="jboss-as-6". When choosing the one of the latter two it ensures that the correct jboss-web.xml is included in the resulting poll.war, as well as ensuring the Servlet 2.5 web.xml is being used. In addition the web.xmls and jboss-web.xml have been moved into their own representative directories for ease of management and expansion. Please note that there is no -Dapp-server="jboss-as-7" yet, as -Dservlet="3.0" seems to suffice so far for JBoss AS 7. Marking this one as FIXED.