Hi all,
Thought I would get your input before I go any further on the
task of creating the separate builds for the different target
platforms.
In switching to RESTeasy as the jax-rs framework this causes
an issue
RESTEASY-586 when
we deploy to AS7 as RESTeasy is already bundled/provided in AS7.
So for all other platforms we need to include the resteasy-*.jar
and for as7 they need to be removed. This is pretty straight
forward.
However we also need to add or remove this section
<context-param>
<param-name>resteasy.injector.factory</param-name>
<param-value>org.jboss.resteasy.cdi.CdiInjectorFactory</param-value>
</context-param>
to guvnor-webapp-drools web.xml depending on the target
platform, this is were it becomes a little tricky.
What version should be checked in? Running in hosted mode
requires the section to exist, running Arquillian
integration-tests requires it to be removed, since
integration-tests are run on as7.
I'm leaning towards having the section included by default
and remove it in GuvnorIntegrationTest or having the build
process filter and create a new version per platform which can
then be copied into the WebArchive in GuvnorIntegrationTest.
What are your thoughts?
Kind Regards
Mikael Lönneberg (gwendo)
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev