<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
My thoughts (HTH):<br>
<br>
guvnor-webapp-drools's web.xml should contain the context parameter
(and jars), since it's the "generic, portable war"<br>
that runs on gwt hosted, tomcat, jetty, ...<br>
<br>
Long term, we need an issue in resteasy or jboss AS that the
existence of context parameter shouldn't blow up AS.<br>
<br>
Short term, in the jboss AS specific war assembly, we can exclude
the jars and hopefully remove the context parameter by maybe using
some sort of unpack option filtering:<br>
<a class="moz-txt-link-freetext" href="http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_unpackOptions">http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_unpackOptions</a><br>
If we can replace "resteasy.injector.factory" by
"disabled.resteasy.injector.factory" it' should be ok.<br>
Problem is it it only filters build properties, so try asking on the
maven user list if this is somehow possible? <br>
<br>
Alternatively, duplicating the web.xml for the jboss war is not
maintainable.<br>
<br>
Op 21-06-12 00:04, Mikael Lönneberg schreef:
<blockquote
cite="mid:CAOnUFFNXrb+33PLZ0XxooJrA-Zr8wYkGVSXBjVm0dcKdZBtZAg@mail.gmail.com"
type="cite">Hi all,
<div><br>
</div>
<div>Thought I would get your input before I go any further on the
task of creating the separate builds for the different target
platforms.</div>
<div>In switching to RESTeasy as the jax-rs framework this causes
an issue <a moz-do-not-send="true"
href="https://issues.jboss.org/browse/RESTEASY-586"
class="link-title" style="color: rgb(51, 102, 153);
font-family: Arial,FreeSans,Helvetica,sans-serif; font-size:
13px; line-height: 17px; white-space: nowrap;
background-color: rgb(240, 240, 240);">RESTEASY-586</a> 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.</div>
<div>However we also need to add or remove this section</div>
<div><br>
</div>
<div>
<div><context-param></div>
<div>
<param-name>resteasy.injector.factory</param-name></div>
<div>
<param-value>org.jboss.resteasy.cdi.CdiInjectorFactory</param-value></div>
<div> </context-param></div>
</div>
<div><br>
</div>
<div> to guvnor-webapp-drools web.xml depending on the target
platform, this is were it becomes a little tricky.</div>
<div>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.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>What are your thoughts?</div>
<div><br>
</div>
<div>Kind Regards</div>
<div><br>
</div>
<div>Mikael Lönneberg (gwendo)</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
With kind regards,
Geoffrey De Smet</pre>
</body>
</html>