[jbpm-commits] JBoss JBPM SVN: r5564 - in jbpm4/trunk: modules/distro/src/main/files/install/src/cfg/jbpm and 9 other directories.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Aug 27 09:30:11 EDT 2009
Author: tom.baeyens at jboss.com
Date: 2009-08-27 09:30:10 -0400 (Thu, 27 Aug 2009)
New Revision: 5564
Added:
jbpm4/trunk/modules/distro/src/main/files/install/src/cfg/jbpm/remote.client.jbpm.cfg.xml
jbpm4/trunk/modules/distro/src/main/files/install/src/jboss/config.common/
jbpm4/trunk/modules/distro/src/main/files/install/src/jboss/config.jboss4/
jbpm4/trunk/modules/distro/src/main/files/install/src/jboss/config.jboss5/
jbpm4/trunk/modules/distro/src/main/files/install/src/jboss/datasources/
jbpm4/trunk/qa/cactus.webapp.cfg/
jbpm4/trunk/qa/jboss.jbpm.cfg/
jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.cfg.xml
jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.mail.properties
jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.mail.templates.examples.xml
Removed:
jbpm4/trunk/modules/distro/src/main/files/jboss/config.common/
jbpm4/trunk/modules/distro/src/main/files/jboss/config.jboss4/
jbpm4/trunk/modules/distro/src/main/files/jboss/config.jboss5/
jbpm4/trunk/modules/distro/src/main/files/jboss/datasources/
jbpm4/trunk/modules/distro/src/main/files/jboss/jbpm.cfg.remote.client/jbpm.cfg.xml
jbpm4/trunk/qa/cfg/
jbpm4/trunk/qa/jbpm.cfg.jboss.testsuite/
jbpm4/trunk/qa/jbpm.test.webapp/
Modified:
jbpm4/trunk/modules/distro/src/main/files/install/build.xml
jbpm4/trunk/modules/integration/spi/src/main/java/org/jbpm/integration/spi/JBPMService.java
jbpm4/trunk/modules/test-base/src/main/java/org/jbpm/test/JbpmTestCase.java
jbpm4/trunk/modules/test-cactus/src/main/java/org/jbpm/cactustool/CactusTestGenerator.java
jbpm4/trunk/modules/test-cactus/src/test/java/org/jbpm/test/AllIntegrationTests.java
jbpm4/trunk/qa/build.xml
jbpm4/trunk/qa/hudson-jbpm4-jboss.bat
Log:
refactored CI scripts to leverage the new install directory in the distribution for jboss test suite and change the jboss testsuite execution to use cactus instead of remote execution
Modified: jbpm4/trunk/modules/distro/src/main/files/install/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/install/build.xml 2009-08-27 12:43:00 UTC (rev 5563)
+++ jbpm4/trunk/modules/distro/src/main/files/install/build.xml 2009-08-27 13:30:10 UTC (rev 5564)
@@ -163,19 +163,19 @@
description="Installs jBPM into JBoss">
<!-- copy static configuration files -->
<copy todir="${jboss.server.config.dir}" overwrite="true">
- <fileset dir="${jbpm.home}/jboss/config.common" />
+ <fileset dir="${jbpm.home}/install/src/jboss/config.common" />
</copy>
<!-- copy the right hibernate configuration file -->
- <copy file="${jbpm.home}/jboss/hibernate.cfg/${database}.hibernate.cfg.xml"
+ <copy file="${jbpm.home}/install/src/cfg/hibernate/datasource/${database}.hibernate.cfg.xml"
tofile="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar/jbpm.hibernate.cfg.xml"
overwrite="true" />
<!-- copy the right datasource configuration file and replace the jdbc properties with
the values in the jdbc/${database}.properties file -->
<copy todir="${jboss.server.config.dir}/deploy/jbpm" overwrite="true">
- <filterset filtersfile="${jbpm.home}/db/jdbc/${database}.properties" />
- <fileset dir="${jbpm.home}/jboss/datasources">
+ <filterset filtersfile="${jdbc.properties.dir}/${database}.properties" />
+ <fileset dir="${jbpm.home}/install/src/jboss/datasources">
<include name="jbpm-${database}-ds.xml"/>
</fileset>
</copy>
@@ -210,7 +210,7 @@
<mkdir dir="${jboss.home}/docs/examples/jbpm" />
<copy todir="${jboss.home}/docs/examples/jbpm" overwrite="true">
- <fileset dir="${jbpm.home}/jboss/datasources" />
+ <fileset dir="${jbpm.home}/install/src/jboss/datasources" />
</copy>
<!-- reporting -->
@@ -221,7 +221,7 @@
<!-- copy static configuration files -->
<copy todir="${jboss.server.config.dir}" overwrite="true">
- <fileset dir="${jbpm.home}/jboss/config.jboss5" />
+ <fileset dir="${jbpm.home}/install/src/jboss/config.jboss5" />
</copy>
<copy todir="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" overwrite="true">
Copied: jbpm4/trunk/modules/distro/src/main/files/install/src/cfg/jbpm/remote.client.jbpm.cfg.xml (from rev 5559, jbpm4/trunk/modules/distro/src/main/files/jboss/jbpm.cfg.remote.client/jbpm.cfg.xml)
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/install/src/cfg/jbpm/remote.client.jbpm.cfg.xml (rev 0)
+++ jbpm4/trunk/modules/distro/src/main/files/install/src/cfg/jbpm/remote.client.jbpm.cfg.xml 2009-08-27 13:30:10 UTC (rev 5564)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jbpm-configuration>
+
+ <import resource="jbpm.jbossremote.cfg.xml" />
+
+</jbpm-configuration>
Property changes on: jbpm4/trunk/modules/distro/src/main/files/install/src/cfg/jbpm/remote.client.jbpm.cfg.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: jbpm4/trunk/modules/distro/src/main/files/install/src/jboss/config.common (from rev 5559, jbpm4/trunk/modules/distro/src/main/files/jboss/config.common)
Copied: jbpm4/trunk/modules/distro/src/main/files/install/src/jboss/config.jboss4 (from rev 5559, jbpm4/trunk/modules/distro/src/main/files/jboss/config.jboss4)
Copied: jbpm4/trunk/modules/distro/src/main/files/install/src/jboss/config.jboss5 (from rev 5559, jbpm4/trunk/modules/distro/src/main/files/jboss/config.jboss5)
Copied: jbpm4/trunk/modules/distro/src/main/files/install/src/jboss/datasources (from rev 5559, jbpm4/trunk/modules/distro/src/main/files/jboss/datasources)
Deleted: jbpm4/trunk/modules/distro/src/main/files/jboss/jbpm.cfg.remote.client/jbpm.cfg.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/jboss/jbpm.cfg.remote.client/jbpm.cfg.xml 2009-08-27 12:43:00 UTC (rev 5563)
+++ jbpm4/trunk/modules/distro/src/main/files/jboss/jbpm.cfg.remote.client/jbpm.cfg.xml 2009-08-27 13:30:10 UTC (rev 5564)
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<jbpm-configuration>
-
- <import resource="jbpm.jbossremote.cfg.xml" />
-
-</jbpm-configuration>
Modified: jbpm4/trunk/modules/integration/spi/src/main/java/org/jbpm/integration/spi/JBPMService.java
===================================================================
--- jbpm4/trunk/modules/integration/spi/src/main/java/org/jbpm/integration/spi/JBPMService.java 2009-08-27 12:43:00 UTC (rev 5563)
+++ jbpm4/trunk/modules/integration/spi/src/main/java/org/jbpm/integration/spi/JBPMService.java 2009-08-27 13:30:10 UTC (rev 5564)
@@ -47,7 +47,7 @@
public void start()
{
- this.processEngine = new Configuration().buildProcessEngine();
+ this.processEngine = Configuration.getProcessEngine();
try
{
Modified: jbpm4/trunk/modules/test-base/src/main/java/org/jbpm/test/JbpmTestCase.java
===================================================================
--- jbpm4/trunk/modules/test-base/src/main/java/org/jbpm/test/JbpmTestCase.java 2009-08-27 12:43:00 UTC (rev 5563)
+++ jbpm4/trunk/modules/test-base/src/main/java/org/jbpm/test/JbpmTestCase.java 2009-08-27 13:30:10 UTC (rev 5564)
@@ -92,19 +92,7 @@
protected synchronized void initialize(String jbpmTestCfgResource, String jbpmTestCfgType) {
if (processEngine==null) {
-
- if (log.isDebugEnabled()) {
- log.debug("building "+
- (jbpmTestCfgType!=null ? jbpmTestCfgType+" " : "")+
- "ProcessEngine "+
- (jbpmTestCfgResource!=null ? "from resource "+jbpmTestCfgResource : "from default resource jbpm.cfg.xml"));
- }
-
- Configuration configuration = new Configuration(jbpmTestCfgType);
- if (jbpmTestCfgResource!=null) {
- configuration.setResource(jbpmTestCfgResource);
- }
- processEngine = configuration.buildProcessEngine();
+ processEngine = Configuration.getProcessEngine();
repositoryService = processEngine.get(RepositoryService.class);
executionService = processEngine.getExecutionService();
Modified: jbpm4/trunk/modules/test-cactus/src/main/java/org/jbpm/cactustool/CactusTestGenerator.java
===================================================================
--- jbpm4/trunk/modules/test-cactus/src/main/java/org/jbpm/cactustool/CactusTestGenerator.java 2009-08-27 12:43:00 UTC (rev 5563)
+++ jbpm4/trunk/modules/test-cactus/src/main/java/org/jbpm/cactustool/CactusTestGenerator.java 2009-08-27 13:30:10 UTC (rev 5564)
@@ -80,7 +80,10 @@
if (dirContentFiles!=null) {
for (File file : dirContentFiles) {
String fileName = file.getName();
- if (file.isFile() && file.getName().endsWith("Test.java")) {
+ if ( file.isFile()
+ && fileName.endsWith("Test.java")
+ && ! fileName.endsWith("SQLStmtTest.java")
+ ) {
String className = packageName + "." + fileName.substring(0, fileName.length()-5)+".class";
log(" adding "+className);
out.println(" suite.addTestSuite(" + className + ");");
Modified: jbpm4/trunk/modules/test-cactus/src/test/java/org/jbpm/test/AllIntegrationTests.java
===================================================================
--- jbpm4/trunk/modules/test-cactus/src/test/java/org/jbpm/test/AllIntegrationTests.java 2009-08-27 12:43:00 UTC (rev 5563)
+++ jbpm4/trunk/modules/test-cactus/src/test/java/org/jbpm/test/AllIntegrationTests.java 2009-08-27 13:30:10 UTC (rev 5564)
@@ -92,7 +92,6 @@
suite.addTestSuite(org.jbpm.test.process.ProcessDefinitionQueryTest.class);
suite.addTestSuite(org.jbpm.test.process.ProcessDefinitionStartFormTest.class);
suite.addTestSuite(org.jbpm.test.process.RepositoryServiceTest.class);
- suite.addTestSuite(org.jbpm.test.reporting.SQLStmtTest.class);
suite.addTestSuite(org.jbpm.test.task.SubTaskTest.class);
suite.addTestSuite(org.jbpm.test.task.TaskCommentsTest.class);
suite.addTestSuite(org.jbpm.test.task.TaskCreateUpdateDeleteTest.class);
Modified: jbpm4/trunk/qa/build.xml
===================================================================
--- jbpm4/trunk/qa/build.xml 2009-08-27 12:43:00 UTC (rev 5563)
+++ jbpm4/trunk/qa/build.xml 2009-08-27 13:30:10 UTC (rev 5564)
@@ -38,28 +38,11 @@
<echo message="jbpm.distro.path.. ${jbpm.distro.path}" />
- <!-- REINSTALL JBPM -->
- <target name="reinstall.jbpm"
- description="deletes the jbpm installation and then reinstalls jbpm">
- <delete dir="${jbpm.home}" />
- <unzip src="${jbpm.distro.path}" dest="${jbpm.parent.dir}" />
-
- <!-- overwrite the default jdbc properties in the distro with those specified in the qa jdbc directory -->
- <copy file="jdbc/${database}.properties"
- todir="${jbpm.home}/install/src/jdbc"
- overwrite="true"
- failonerror="false" />
- <!-- overwrite the jdbc properties in the distro with those specified in the user specific properties -->
- <copy file="${user.home}/.jbpm4/jdbc/${database}.properties"
- todir="${jbpm.home}/install/src/jdbc"
- overwrite="true"
- failonerror="false" />
- <!-- copy the oracle jar as it is not allowed to be part of our distro -->
- <copy file="../modules/distro/target/libs/ojdbc14.jar"
- todir="${jbpm.home}/lib"/>
- </target>
-
- <!-- DB INTEGRATION TESTSUITE SETUP -->
+ <!-- ####################################### -->
+ <!-- ### MAIN SETUP AND TEARDOWN TARGETS ### -->
+ <!-- ####################################### -->
+
+ <!-- DB SETUP -->
<target name="testsuite.db.setup"
depends="reinstall.jbpm">
<ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema">
@@ -67,12 +50,12 @@
<ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
</target>
- <!-- DB INTEGRATION TESTSUITE TEARDOWN -->
+ <!-- DB TEARDOWN -->
<target name="testsuite.db.teardown">
<ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
</target>
- <!-- TOMCAT INTEGRATION TESTSUITE SETUP -->
+ <!-- TOMCAT SETUP -->
<target name="testsuite.tomcat.setup"
depends="reinstall.jbpm">
<ant antfile="${jbpm.home}/install/build.xml" target="reinstall.tomcat" />
@@ -86,7 +69,7 @@
<!-- customize the configuration for the jbpm-test-webapp -->
<copy todir="${tomcat.home}/webapps/jbpm-test-webapp" overwrite="true">
- <fileset dir="jbpm.test.webapp" />
+ <fileset dir="cactus.webapp.cfg" />
</copy>
<!-- add examples.jar -->
@@ -105,54 +88,104 @@
<ant antfile="${jbpm.home}/install/build.xml" target="start.tomcat" />
</target>
- <!-- TOMCAT INTEGRATION TESTSUITE TEARDOWN -->
+ <!-- TOMCAT TEARDOWN -->
<target name="testsuite.tomcat.teardown">
<!-- stop tomcat -->
<ant antfile="${jbpm.home}/install/build.xml" target="stop.tomcat" />
</target>
-
+ <!-- JBOSS SETUP -->
<target name="testsuite.jboss.setup"
depends="reinstall.jbpm"
description="reinstalls jbpm, reinstalls jboss, installs jbpm into jboss, starts jboss and then creates the jbpm schema">
- <ant antfile="${jbpm.home}/jboss/build.xml" target="reinstall.jboss" />
+ <ant antfile="${jbpm.home}/install/build.xml" target="reinstall.jboss" />
+ <ant antfile="${jbpm.home}/install/build.xml" target="install.jbpm.into.jboss" />
- <!-- initializing the schema into db -->
- <antcall target="drop.jbossidm.schema" />
- <antcall target="create.jbossidm.schema" />
+ <antcall target="internal.enable.jboss.debug" />
+ <ant antfile="${jbpm.home}/install/build.xml" target="create.user.webapp" />
- <ant antfile="${jbpm.home}/jboss/build.xml" target="install.jbpm.into.jboss" />
- <antcall target="internal.tweak.jbpm.installation.for.integration.testrun" />
- <antcall target="internal.enable.jboss.debug" />
- <ant antfile="${jbpm.home}/jboss/build.xml" target="start.jboss" />
- <ant antfile="${jbpm.home}/db/build.xml" target="drop.jbpm.schema" />
- <ant antfile="${jbpm.home}/db/build.xml" target="create.jbpm.schema" />
+ <ant antfile="${jbpm.home}/examples/build.xml" target="examples.jar" />
+ <mkdir dir="${jboss.server.config.dir}/deploy/jbpm/userlibs" />
+ <copy file="${jbpm.home}/examples/target/examples.jar"
+ todir="${jboss.server.config.dir}/deploy/jbpm/userlibs" />
+
+ <!-- to build the jbpm test webapp we start by copying the user webapp -->
+ <mkdir dir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war" />
+ <copy todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war">
+ <fileset dir="${jbpm.home}/install/generated/user-webapp"/>
+ </copy>
+
+ <!-- customize the jbpm configuration for the testsuite -->
+ <copy todir="${jboss.home}/server/default/deploy/jbpm/jbpm-service.sar" overwrite="true">
+ <fileset dir="jboss.jbpm.cfg" />
+ </copy>
+
+ <!-- customize the configuration for the jbpm-test-webapp -->
+ <copy todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war" overwrite="true">
+ <fileset dir="cactus.webapp.cfg" />
+ </copy>
+
+ <!-- delete the jbpm configuration files -->
+ <delete dir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/classes" />
+ <delete file="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib/jta.jar" />
+
+ <!-- add examples.jar -->
+ <ant antfile="${jbpm.home}/examples/build.xml" target="examples.jar" />
+ <copy file="${jbpm.home}/examples/target/examples.jar" todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib" />
+
+ <!-- add junit.jar -->
+ <copy file="${jbpm.home}/lib/junit.jar" todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib" />
+
+ <!-- add the cactus libs -->
+ <copy todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib">
+ <fileset dir="../modules/test-cactus/target/jbpm.test.webapp.libs" />
+ </copy>
+
+ <!-- start jboss -->
+ <ant antfile="${jbpm.home}/install/build.xml" target="start.jboss" />
+
+ <!-- create db schema -->
+ <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
</target>
+ <!-- JBOSS TEARDOWN -->
<target name="testsuite.jboss.teardown"
description="drops the jbpm schema and stops jboss">
- <ant antfile="${jbpm.home}/db/build.xml" target="drop.jbpm.schema" />
- <antcall target="drop.jbossidm.schema" />
- <ant antfile="${jbpm.home}/jboss/build.xml" target="stop.jboss" />
+ <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
+ <ant antfile="${jbpm.home}/install/build.xml" target="stop.jboss" />
</target>
+ <!-- ############################################ -->
+ <!-- ### REUSABLE TARGETS ### -->
+ <!-- ### These targets can be called directly ### -->
+ <!-- ############################################ -->
+ <!-- REINSTALL JBPM -->
+ <target name="reinstall.jbpm"
+ description="deletes the jbpm installation and then reinstalls jbpm">
+ <delete dir="${jbpm.home}" />
+ <unzip src="${jbpm.distro.path}" dest="${jbpm.parent.dir}" />
- <target name="internal.tweak.jbpm.installation.for.integration.testrun">
- <copy todir="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" overwrite="true">
- <fileset dir="jbpm.cfg.jboss.testsuite/jbpm.identity" />
- </copy>
- <antcall target="internal.install.idm.into.jboss.integrationtestspecifics" />
- <ant antfile="${jbpm.home}/examples/build.xml" target="examples.jar" />
- <mkdir dir="${jboss.server.config.dir}/deploy/jbpm/userlibs" />
- <copy file="${jbpm.home}/examples/target/examples.jar"
- todir="${jboss.server.config.dir}/deploy/jbpm/userlibs" />
- <copy file="../modules/test-db/target/jbpm-test-db-${jbpm.version}-tests.jar"
- todir="${jboss.server.config.dir}/deploy/jbpm/userlibs" />
- <copy file="../modules/distro/target/libs/junit.jar"
- todir="${jboss.server.config.dir}/deploy/jbpm/userlibs"/>
+ <!-- overwrite the default jdbc properties in the distro with those specified in the qa jdbc directory -->
+ <copy file="jdbc/${database}.properties"
+ todir="${jbpm.home}/install/src/jdbc"
+ overwrite="true"
+ failonerror="false" />
+ <!-- overwrite the jdbc properties in the distro with those specified in the user specific properties -->
+ <copy file="${user.home}/.jbpm4/jdbc/${database}.properties"
+ todir="${jbpm.home}/install/src/jdbc"
+ overwrite="true"
+ failonerror="false" />
+ <!-- copy the oracle jar as it is not allowed to be part of our distro -->
+ <copy file="../modules/distro/target/libs/ojdbc14.jar"
+ todir="${jbpm.home}/lib"/>
</target>
-
+
+ <!-- ################################################## -->
+ <!-- ### INTERNAL TARGETS ### -->
+ <!-- ### These targets can NOT be called separately ### -->
+ <!-- ################################################## -->
+
<target name="internal.install.idm.into.jboss.integrationtestspecifics" if="jbpm.identity.idm">
<copy todir="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" overwrite="true">
<fileset dir="jbpm.cfg.jboss.testsuite/jboss.idm" />
Copied: jbpm4/trunk/qa/cactus.webapp.cfg (from rev 5559, jbpm4/trunk/qa/jbpm.test.webapp)
Modified: jbpm4/trunk/qa/hudson-jbpm4-jboss.bat
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-jboss.bat 2009-08-27 12:43:00 UTC (rev 5563)
+++ jbpm4/trunk/qa/hudson-jbpm4-jboss.bat 2009-08-27 13:30:10 UTC (rev 5564)
@@ -1,9 +1,13 @@
set MAVEN_OPTS=-Xms1024M -Xmx1024M
-cmd /C mvn -U -Pdistro clean install
+cmd /C mvn -U -Pdistro,integration clean install
cmd /C ant -f qa/build.xml testsuite.jboss.setup
-cmd /C mvn -U -Djboss.bind.address=localhost -Ddatabase=hsqldb test
+
+cd modules\test-cactus
+cmd /C mvn -Pruntest test
+cd ..\..
+
cmd /C ant -f qa/build.xml testsuite.jboss.teardown
echo
Copied: jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.cfg.xml (from rev 5559, jbpm4/trunk/qa/jbpm.cfg.jboss.testsuite/jbpm.identity/jbpm.cfg.xml)
===================================================================
--- jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.cfg.xml (rev 0)
+++ jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.cfg.xml 2009-08-27 13:30:10 UTC (rev 5564)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jbpm-configuration>
+
+ <import resource="jbpm.default.cfg.xml" />
+ <import resource="jbpm.businesscalendar.cfg.xml" />
+ <import resource="jbpm.tx.jta.cfg.xml" />
+ <import resource="jbpm.jpdl.cfg.xml" />
+ <import resource="jbpm.identity.cfg.xml" />
+
+ <import resource="jbpm.mail.templates.examples.xml" />
+
+</jbpm-configuration>
Property changes on: jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.cfg.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.mail.properties (from rev 5559, jbpm4/trunk/qa/jbpm.cfg.jboss.testsuite/jbpm.identity/jbpm.mail.properties)
===================================================================
--- jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.mail.properties (rev 0)
+++ jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.mail.properties 2009-08-27 13:30:10 UTC (rev 5564)
@@ -0,0 +1,3 @@
+mail.smtp.host localhost
+mail.smtp.port 2525
+mail.from noreply at jbpm.org
\ No newline at end of file
Property changes on: jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.mail.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Copied: jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.mail.templates.examples.xml (from rev 5559, jbpm4/trunk/qa/jbpm.cfg.jboss.testsuite/jbpm.identity/jbpm.mail.templates.examples.xml)
===================================================================
--- jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.mail.templates.examples.xml (rev 0)
+++ jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.mail.templates.examples.xml 2009-08-27 13:30:10 UTC (rev 5564)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jbpm-configuration>
+
+ <process-engine-context>
+
+ <mail-template name="rectify-template">
+ <to addresses="${addressee}" />
+ <cc users="bb" groups="innerparty" />
+ <bcc groups="thinkpol" />
+ <subject>rectify ${newspaper}</subject>
+ <text>${newspaper} ${date} ${details}</text>
+ </mail-template>
+
+ </process-engine-context>
+
+</jbpm-configuration>
Property changes on: jbpm4/trunk/qa/jboss.jbpm.cfg/jbpm.mail.templates.examples.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
More information about the jbpm-commits
mailing list