Hi,<br><br>I tried building a WAR for Guvnor and found a couple of hick-ups (although it was with my local copy of master taken a few months ago).<br><br>I mention them here in case they are unknown issues (feel free to beat me up if I simply need to resync with master; which will happen as part of my dtable commit...)<br>
<br>1) In \drools-guvnor<br><br>mvn package -DskipTests=true -PfullProfile<br><br>Didn't build dependant drools-ide-common, as I'd expect and I had to "mvn install" this first.<br><br>2) In \drools-guvnor<br>
<br>mvn package -DskipTests=true -PfullProfile<br><br>Built the WAR however the test classes are also included, leading to a Seam error when deploying:-<br><br>SEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener<br>
java.lang.IllegalStateException: Two components with the same name and precedence - component name: org.drools.guvnor.server.security.RoleBasedPermissionStore, component classes: org.drools.guvnor.server.security.MockRoleBasedPermissionStore, org.drools.guvnor.server.security.RoleBasedPermissionStore<br>
at org.jboss.seam.init.Initialization.addComponentDescriptor(Initialization.java:586)<br> at org.jboss.seam.init.Initialization.installScannedComponentAndRoles(Initialization.java:927)<br> at org.jboss.seam.init.Initialization.scanForComponents(Initialization.java:874)<br>
at org.jboss.seam.init.Initialization.init(Initialization.java:687)<br><br>This traced back to "MockRoleBasedPermissionStore" in the test classes and "RoleBasedPermissionStore" in the non-test classes.<br>
<br>Tomcat 6.x.<br>
<br>
3) Alot of Guvnor tests failed, however I assume Toni Rikkola could have fixed recently with his work in this area.<br><br>Cheers,<br><br>Mike<br>