[jbpm-commits] JBoss JBPM SVN: r3804 - in jbpm3/branches/jbpm-3.2.5.SP/modules/core: scripts and 1 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Feb 9 06:12:45 EST 2009


Author: thomas.diesler at jboss.com
Date: 2009-02-09 06:12:45 -0500 (Mon, 09 Feb 2009)
New Revision: 3804

Modified:
   jbpm3/branches/jbpm-3.2.5.SP/modules/core/pom.xml
   jbpm3/branches/jbpm-3.2.5.SP/modules/core/scripts/antrun-jbpm-config.xml
   jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/default.jbpm.cfg.xml
Log:
[JBPM-1450] Disable jBPM logging in SOA profile

Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/pom.xml	2009-02-09 10:44:08 UTC (rev 3803)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/pom.xml	2009-02-09 11:12:45 UTC (rev 3804)
@@ -207,6 +207,34 @@
   <profiles>
 
     <!-- 
+    Name:  soa
+    Descr: Customizations for the SOA build   
+    -->
+    <profile>
+      <id>soa</id>
+      <build>
+        <plugins>
+            <plugin>
+              <artifactId>maven-antrun-plugin</artifactId>
+              <executions>
+                <execution>
+                  <phase>process-resources</phase>
+                  <goals>
+                    <goal>run</goal>
+                  </goals>
+                  <configuration>
+                    <tasks>
+                      <ant antfile="scripts/antrun-jbpm-config.xml" target="jbpm-cfg-xml-soa" />
+                    </tasks>
+                  </configuration>
+                </execution>
+              </executions>
+            </plugin>          
+        </plugins>
+      </build>
+    </profile>
+    
+    <!-- 
     Name:  no-database
     Descr: Setup the default database   
     -->

Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/scripts/antrun-jbpm-config.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/scripts/antrun-jbpm-config.xml	2009-02-09 10:44:08 UTC (rev 3803)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/scripts/antrun-jbpm-config.xml	2009-02-09 11:12:45 UTC (rev 3804)
@@ -79,6 +79,7 @@
     </sequential>
   </macrodef>
 
+  <!-- Concatenates the hibernate config scripts -->	
   <target name="concat" >
     <macro-database-cfg database="db2" />
     <macro-database-cfg database="derby" />
@@ -101,7 +102,12 @@
   	<loadfile property="hibernate.properties.xml" srcFile="${build.resources.directory}/hibernate.properties.${database}.xml"/>
     <echo message="${hibernate.properties.xml}"/>
     <echo/>
-
   </target>
-  
+ 
+  <!-- Generate the custom jbpm.cfg.xml for the SOA platform -->	
+  <target name="jbpm-cfg-xml-soa" >
+    <echo message="Generate the custom jbpm.cfg.xml for the SOA platform" />
+    <macro-disable section="Logging Service" file="${project.build.directory}/classes/org/jbpm/default.jbpm.cfg.xml"/>
+  </target>
+	
 </project>
\ No newline at end of file

Modified: jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/default.jbpm.cfg.xml
===================================================================
--- jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/default.jbpm.cfg.xml	2009-02-09 10:44:08 UTC (rev 3803)
+++ jbpm3/branches/jbpm-3.2.5.SP/modules/core/src/main/resources/org/jbpm/default.jbpm.cfg.xml	2009-02-09 11:12:45 UTC (rev 3804)
@@ -10,7 +10,9 @@
   
   <jbpm-context>
     <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" />
+    <!-- Logging Service (begin) -->
     <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
+    <!-- Logging Service (end) -->
     <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory" />
     <service name="persistence" factory="org.jbpm.persistence.db.DbPersistenceServiceFactory" />
     <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />




More information about the jbpm-commits mailing list