[jboss-svn-commits] JBL Code SVN: r19541 - labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Apr 14 00:52:49 EDT 2008
Author: michael.neale at jboss.com
Date: 2008-04-14 00:52:49 -0400 (Mon, 14 Apr 2008)
New Revision: 19541
Added:
labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance/README.txt
Removed:
labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance/redeploy_appserver.sh
Modified:
labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance/pom.xml
Log:
updating insurance example
Added: labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance/README.txt
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance/README.txt (rev 0)
+++ labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance/README.txt 2008-04-14 04:52:49 UTC (rev 19541)
@@ -0,0 +1,28 @@
+-- The Drools BRMS Insurance example --
+
+This example aims to show how you could integrate the BRMS with your application.
+
+There are 2 main components:
+
+1) Sample repository (repository_export.xml)
+2) Sample end user application
+
+The sample application is NOT the BRMS, it is just a very simple one screen application which consumes rules, using the rule agent. The BRMS manages the rules.
+
+To use:
+
+1) Download JBoss Application server (4.2 is recommended)
+2) Download and install maven 2 from maven.apache.com (if you haven't already)
+3) Open the pom.xml in this directory
+ - note the depdency section, there is a dependency on drools-core - when using the agent, this is generally the only drools specific dependency used.
+ - set the dependency to the appropriate version of drools.
+4) Deploy the BRMS war (separate download) to the Application Server (from step 1)
+5) Run "mvn package" in this directory - this will build and generate a war for the insurance sample application.
+6) Deploy the insurance sample war to the Application Server (from step 1).
+
+This will have both BRMS and Sample application running in the one application server, but of course it does not have to be this way (you can adjust settings as appropriate).
+
+
+
+
+
Property changes on: labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance/README.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance/pom.xml 2008-04-13 21:29:01 UTC (rev 19540)
+++ labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance/pom.xml 2008-04-14 04:52:49 UTC (rev 19541)
@@ -263,6 +263,7 @@
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-core</artifactId>
+ <!-- set appropriate version here -->
<version>4.0.2.SNAPSHOT</version>
</dependency>
Deleted: labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance/redeploy_appserver.sh
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance/redeploy_appserver.sh 2008-04-13 21:29:01 UTC (rev 19540)
+++ labs/jbossrules/branches/4.0.x/drools-examples/drools-insurance/redeploy_appserver.sh 2008-04-14 04:52:49 UTC (rev 19541)
@@ -1,4 +0,0 @@
-mvn -o package -Dmaven.test.skip
-cp ./target/*.war /usr/local/share/jetty-6.1.0/webapps
-
-
More information about the jboss-svn-commits
mailing list