JBoss JBPM SVN: r5792 - in jbpm4/tags/jbpm-4.0/modules/test-upgrade: .settings and 2 other directories.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2009-10-26 05:38:32 -0400 (Mon, 26 Oct 2009)
New Revision: 5792
Added:
jbpm4/tags/jbpm-4.0/modules/test-upgrade/.classpath
jbpm4/tags/jbpm-4.0/modules/test-upgrade/.project
jbpm4/tags/jbpm-4.0/modules/test-upgrade/.settings/org.eclipse.jdt.core.prefs
jbpm4/tags/jbpm-4.0/modules/test-upgrade/.settings/org.maven.ide.eclipse.prefs
jbpm4/tags/jbpm-4.0/modules/test-upgrade/pom.xml
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/java/org/jbpm/upgrade/BeforeUpgrade.java
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/jbpm.cfg.xml
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/jbpm.hibernate.cfg.xml
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/logging.properties
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess1.jpdl.xml
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess2.jpdl.xml
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess3.jpdl.xml
Log:
added test-upgrade module
Added: jbpm4/tags/jbpm-4.0/modules/test-upgrade/.classpath
===================================================================
--- jbpm4/tags/jbpm-4.0/modules/test-upgrade/.classpath (rev 0)
+++ jbpm4/tags/jbpm-4.0/modules/test-upgrade/.classpath 2009-10-26 09:38:32 UTC (rev 5792)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+ <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Property changes on: jbpm4/tags/jbpm-4.0/modules/test-upgrade/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/tags/jbpm-4.0/modules/test-upgrade/.project
===================================================================
--- jbpm4/tags/jbpm-4.0/modules/test-upgrade/.project (rev 0)
+++ jbpm4/tags/jbpm-4.0/modules/test-upgrade/.project 2009-10-26 09:38:32 UTC (rev 5792)
@@ -0,0 +1,23 @@
+<projectDescription>
+ <name>jbpm-test-upgrade</name>
+ <comment/>
+ <projects>
+ <project>api</project>
+ <project>jpdl</project>
+ <project>log</project>
+ <project>pvm</project>
+ <project>test-base</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
\ No newline at end of file
Property changes on: jbpm4/tags/jbpm-4.0/modules/test-upgrade/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/tags/jbpm-4.0/modules/test-upgrade/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- jbpm4/tags/jbpm-4.0/modules/test-upgrade/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ jbpm4/tags/jbpm-4.0/modules/test-upgrade/.settings/org.eclipse.jdt.core.prefs 2009-10-26 09:38:32 UTC (rev 5792)
@@ -0,0 +1,5 @@
+#Wed Oct 21 23:47:50 CEST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on: jbpm4/tags/jbpm-4.0/modules/test-upgrade/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/tags/jbpm-4.0/modules/test-upgrade/.settings/org.maven.ide.eclipse.prefs
===================================================================
--- jbpm4/tags/jbpm-4.0/modules/test-upgrade/.settings/org.maven.ide.eclipse.prefs (rev 0)
+++ jbpm4/tags/jbpm-4.0/modules/test-upgrade/.settings/org.maven.ide.eclipse.prefs 2009-10-26 09:38:32 UTC (rev 5792)
@@ -0,0 +1,9 @@
+#Wed Oct 21 23:32:38 CEST 2009
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1
Property changes on: jbpm4/tags/jbpm-4.0/modules/test-upgrade/.settings/org.maven.ide.eclipse.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/tags/jbpm-4.0/modules/test-upgrade/pom.xml
===================================================================
--- jbpm4/tags/jbpm-4.0/modules/test-upgrade/pom.xml (rev 0)
+++ jbpm4/tags/jbpm-4.0/modules/test-upgrade/pom.xml 2009-10-26 09:38:32 UTC (rev 5792)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at http://www.gnu.org. -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<!-- $Id: pom.xml 3010 2008-11-20 08:30:16Z tom.baeyens(a)jboss.com $ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <!-- Module Info -->
+ <modelVersion>4.0.0</modelVersion>
+ <name>jBPM 4 - TEST-UPGRADE</name>
+ <groupId>org.jbpm.jbpm4</groupId>
+ <artifactId>jbpm-test-upgrade</artifactId>
+ <packaging>jar</packaging>
+
+ <!-- Parent -->
+ <parent>
+ <groupId>org.jbpm.jbpm4</groupId>
+ <artifactId>jbpm</artifactId>
+ <version>4.0</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jbpm.jbpm4</groupId>
+ <artifactId>jbpm-jpdl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>${hsqldb.version}</version>
+ </dependency>
+ </dependencies>
+
+</project>
Property changes on: jbpm4/tags/jbpm-4.0/modules/test-upgrade/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/java/org/jbpm/upgrade/BeforeUpgrade.java
===================================================================
--- jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/java/org/jbpm/upgrade/BeforeUpgrade.java (rev 0)
+++ jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/java/org/jbpm/upgrade/BeforeUpgrade.java 2009-10-26 09:38:32 UTC (rev 5792)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.upgrade;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.jbpm.api.Configuration;
+import org.jbpm.api.Execution;
+import org.jbpm.api.ExecutionService;
+import org.jbpm.api.ManagementService;
+import org.jbpm.api.NewDeployment;
+import org.jbpm.api.ProcessEngine;
+import org.jbpm.api.RepositoryService;
+import org.jbpm.api.job.Job;
+
+/**
+ * Class to be executed during the upgrade test, before the actual schema
+ * upgrade is applied. This class will populate the 'old' DB schema with
+ * process, variables, history, ... data, that will be verified by the
+ * {@link AfterUpgrade} class.
+ *
+ * @author jbarrez
+ */
+public class BeforeUpgrade {
+
+ private ProcessEngine processEngine;
+
+ private RepositoryService repositoryService;
+
+ private ExecutionService executionService;
+
+ private ManagementService managementService;
+
+ private static final String TEST_PROCESS_1 = "testprocess1.jpdl.xml";
+
+ private static final String TEST_PROCESS_2 = "testprocess2.jpdl.xml";
+
+ private static final String TEST_PROCESS_3 = "testprocess3.jpdl.xml";
+
+ public static void main(String[] args) {
+ BeforeUpgrade beforeUpgrade = new BeforeUpgrade();
+ beforeUpgrade.generateProcess1Data();
+ beforeUpgrade.generateProcess2Data();
+ beforeUpgrade.generateProcess3Data();
+ }
+
+ public BeforeUpgrade() {
+ this.processEngine = new Configuration().buildProcessEngine();
+ this.repositoryService = processEngine.getRepositoryService();
+ this.executionService = processEngine.getExecutionService();
+ this.managementService = processEngine.getManagementService();
+ }
+
+
+ private void deploy(String processFile) {
+ NewDeployment deployment = repositoryService.createDeployment();
+ deployment.addResourceFromClasspath(processFile);
+ deployment.deploy();
+ }
+
+ /**
+ * Process 1 is a simple process using fork/join and states
+ */
+ private void generateProcess1Data() {
+
+ // Deploy test processes
+ deploy(TEST_PROCESS_1);
+
+ // Start 5 instances of process1
+ List<String> ids = new ArrayList<String>();
+ for (int i = 0; i < 5; i++) {
+ String procDefKey = TEST_PROCESS_1.replace(".jpdl.xml", "");
+ String procInstKey = procDefKey + "-" + i;
+ ids.add(executionService.startProcessInstanceByKey(procDefKey, procInstKey).getId());
+ }
+
+ // Put these instances in various states
+
+ // First one: only in state 'print documents'
+ String execId = executionService.findProcessInstanceById(ids.get(0)).findActiveExecutionIn("send invoice").getId();
+ executionService.signalExecutionById(execId);
+
+ execId = executionService.findProcessInstanceById(ids.get(0)).findActiveExecutionIn("load truck").getId();
+ executionService.signalExecutionById(execId);
+
+ // Second one: put in state 'load truck' and 'send invoice'
+ execId = executionService.findProcessInstanceById(ids.get(1)).findActiveExecutionIn("print documents").getId();
+ executionService.signalExecutionById(execId);
+
+ // third one: finished
+ executionService.endProcessInstance(ids.get(2), Execution.STATE_ENDED);
+
+ }
+
+ /**
+ * Process 2 is a process using variables and a decision
+ */
+ private void generateProcess2Data() {
+
+ // Deploy test process
+ deploy(TEST_PROCESS_2);
+
+ // Start 6 instances, of which 3 will be ended
+ List<String> ids = new ArrayList<String>();
+ for (int i = 0; i < 7; i++) {
+
+ String procDefKey = TEST_PROCESS_2.replace(".jpdl.xml", "");
+ String procInstKey = procDefKey + "-" + i;
+
+ Map<String, Object> vars = new HashMap<String, Object>();
+ vars.put("var", i * 2); // we store as var: 0, 2, 4, 6, 8, 10, 12
+ ids.add(executionService.startProcessInstanceByKey(procDefKey, vars, procInstKey).getId());
+ }
+
+
+ }
+
+ /**
+ * Process 3 is a basic process containing a human task and a timer
+ */
+ private void generateProcess3Data() {
+
+ // Deploy test process
+ deploy(TEST_PROCESS_3);
+
+ // Start 2 instances, 1 will have timer fired
+ List<String> ids = new ArrayList<String>();
+ for (int i = 0; i < 2; i++) {
+
+ String procDefKey = TEST_PROCESS_3.replace(".jpdl.xml", "");
+ String procInstKey = procDefKey + "-" + i;
+ ids.add(executionService.startProcessInstanceByKey(procDefKey, procInstKey).getId());
+ }
+
+ Job timer = managementService.createJobQuery()
+ .processInstanceId(ids.get(0)).uniqueResult();
+ managementService.executeJob(timer.getId());
+
+ }
+
+}
Property changes on: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/java/org/jbpm/upgrade/BeforeUpgrade.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/jbpm.cfg.xml
===================================================================
--- jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/jbpm.cfg.xml (rev 0)
+++ jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/jbpm.cfg.xml 2009-10-26 09:38:32 UTC (rev 5792)
@@ -0,0 +1,11 @@
+<?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.hibernate.cfg.xml" />
+ <import resource="jbpm.jpdl.cfg.xml" />
+ <import resource="jbpm.identity.cfg.xml" />
+
+</jbpm-configuration>
Property changes on: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/jbpm.cfg.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/jbpm.hibernate.cfg.xml
===================================================================
--- jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/jbpm.hibernate.cfg.xml (rev 0)
+++ jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/jbpm.hibernate.cfg.xml 2009-10-26 09:38:32 UTC (rev 5792)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!DOCTYPE hibernate-configuration PUBLIC
+ "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
+ "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+
+<hibernate-configuration>
+ <session-factory>
+
+ <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
+ <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
+ <property name="hibernate.connection.url">jdbc:hsqldb:mem:.</property>
+ <property name="hibernate.connection.username">sa</property>
+ <property name="hibernate.connection.password"></property>
+ <property name="hibernate.hbm2ddl.auto">create-drop</property>
+ <property name="hibernate.format_sql">true</property>
+
+ <mapping resource="jbpm.repository.hbm.xml" />
+ <mapping resource="jbpm.execution.hbm.xml" />
+ <mapping resource="jbpm.history.hbm.xml" />
+ <mapping resource="jbpm.task.hbm.xml" />
+ <mapping resource="jbpm.identity.hbm.xml" />
+
+ </session-factory>
+</hibernate-configuration>
Property changes on: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/jbpm.hibernate.cfg.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/logging.properties
===================================================================
--- jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/logging.properties (rev 0)
+++ jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/logging.properties 2009-10-26 09:38:32 UTC (rev 5792)
@@ -0,0 +1,18 @@
+handlers= java.util.logging.ConsoleHandler
+redirect.commons.logging = enabled
+
+java.util.logging.ConsoleHandler.level = FINEST
+java.util.logging.ConsoleHandler.formatter = org.jbpm.internal.log.LogFormatter
+
+org.jbpm.level=FINE
+# org.jbpm.pvm.internal.tx.level=FINE
+# org.jbpm.pvm.internal.wire.level=FINE
+# org.jbpm.pvm.internal.util.level=FINE
+
+org.hibernate.level=INFO
+org.hibernate.cfg.SettingsFactory.level=SEVERE
+org.hibernate.cfg.HbmBinder.level=SEVERE
+# org.hibernate.SQL.level=FINEST
+# org.hibernate.type.level=FINEST
+# org.hibernate.tool.hbm2ddl.SchemaExport.level=FINEST
+# org.hibernate.transaction.level=FINEST
\ No newline at end of file
Property changes on: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/logging.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess1.jpdl.xml
===================================================================
--- jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess1.jpdl.xml (rev 0)
+++ jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess1.jpdl.xml 2009-10-26 09:38:32 UTC (rev 5792)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+ <process name="testprocess1">
+
+ <start>
+ <transition to="theFork"/>
+ </start>
+
+ <fork name="theFork">
+ <transition to="send invoice"/>
+ <transition to="load truck"/>
+ <transition to="print documents"/>
+ </fork>
+
+ <state name="send invoice">
+ <transition to="theJoin"/>
+ </state>
+
+ <state name="load truck">
+ <transition to="shipping join"/>
+ </state>
+
+ <state name="print documents">
+ <transition to="shipping join"/>
+ </state>
+
+ <join name="shipping join">
+ <transition to="drive truck"/>
+ </join>
+
+ <state name="drive truck">
+ <transition to="theJoin"/>
+ </state>
+
+ <join name="theJoin">
+ <transition to="end"/>
+ </join>
+
+ <end name="end"/>
+
+ </process>
\ No newline at end of file
Property changes on: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess1.jpdl.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess2.jpdl.xml
===================================================================
--- jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess2.jpdl.xml (rev 0)
+++ jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess2.jpdl.xml 2009-10-26 09:38:32 UTC (rev 5792)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process name="testprocess2">
+
+ <start>
+ <transition to="testVariable" />
+ </start>
+
+ <decision name="testVariable">
+ <transition to="end">
+ <condition expr="#{var < 6}" />
+ </transition>
+ <transition to="more than 5">
+ <condition expr="#{var > 5}" />
+ </transition>
+ </decision>
+
+ <state name="more than 5">
+ <transition to="testVariable" />
+ </state>
+
+ <end name="end" />
+
+</process>
\ No newline at end of file
Property changes on: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess2.jpdl.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess3.jpdl.xml
===================================================================
--- jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess3.jpdl.xml (rev 0)
+++ jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess3.jpdl.xml 2009-10-26 09:38:32 UTC (rev 5792)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<process name="testprocess3">
+
+ <start>
+ <transition to="do something important" />
+ </start>
+
+ <task name="do something important" assignee="johnDoe">
+ <transition name="timeout" to="timed out">
+ <timer duedate="3 days" />
+ </transition>
+ <transition name="done" to="end" />
+ </task>
+
+ <state name="timed out">
+ <transition to="end" />
+ </state>
+
+ <end name="end" />
+
+</process>
\ No newline at end of file
Property changes on: jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/testprocess3.jpdl.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
16 years, 6 months
JBoss JBPM SVN: r5791 - in jbpm4/tags/jbpm-4.0/modules: test-upgrade and 10 other directories.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2009-10-26 05:36:09 -0400 (Mon, 26 Oct 2009)
New Revision: 5791
Added:
jbpm4/tags/jbpm-4.0/modules/test-upgrade/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/.settings/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/java/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/java/org/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/java/org/jbpm/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/java/org/jbpm/upgrade/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/main/resources/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/test/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/test/java/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/test/java/org/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/test/java/org/jbpm/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/test/java/org/jbpm/test/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/
jbpm4/tags/jbpm-4.0/modules/test-upgrade/src/test/resources/
Log:
added test-upgrade module
16 years, 6 months
JBoss JBPM SVN: r5790 - in jbpm4/trunk/modules/test-upgrade/src: main/resources and 1 other directories.
by do-not-reply@jboss.org
Author: jbarrez
Date: 2009-10-26 05:18:12 -0400 (Mon, 26 Oct 2009)
New Revision: 5790
Modified:
jbpm4/trunk/modules/test-upgrade/src/main/java/org/jbpm/upgrade/BeforeUpgrade.java
jbpm4/trunk/modules/test-upgrade/src/main/resources/hibernate.properties
jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/AfterUpgradeJbpmTestCase.java
Log:
Updates to test-upgrade AfterUpgrade tests
Modified: jbpm4/trunk/modules/test-upgrade/src/main/java/org/jbpm/upgrade/BeforeUpgrade.java
===================================================================
--- jbpm4/trunk/modules/test-upgrade/src/main/java/org/jbpm/upgrade/BeforeUpgrade.java 2009-10-26 09:05:41 UTC (rev 5789)
+++ jbpm4/trunk/modules/test-upgrade/src/main/java/org/jbpm/upgrade/BeforeUpgrade.java 2009-10-26 09:18:12 UTC (rev 5790)
@@ -26,8 +26,6 @@
import java.util.List;
import java.util.Map;
-import org.hibernate.SessionFactory;
-import org.hibernate.tool.hbm2ddl.SchemaExport;
import org.jbpm.api.Configuration;
import org.jbpm.api.Execution;
import org.jbpm.api.ExecutionService;
Modified: jbpm4/trunk/modules/test-upgrade/src/main/resources/hibernate.properties
===================================================================
--- jbpm4/trunk/modules/test-upgrade/src/main/resources/hibernate.properties 2009-10-26 09:05:41 UTC (rev 5789)
+++ jbpm4/trunk/modules/test-upgrade/src/main/resources/hibernate.properties 2009-10-26 09:18:12 UTC (rev 5790)
@@ -6,6 +6,5 @@
hibernate.connection.url=jdbc:hsqldb:hsql://localhost:1701
hibernate.connection.username=sa
hibernate.connection.password=
-hibernate.hbm2ddl.auto=update
hibernate.format_sql=true
hibernate.jdbc.batch_size=0
\ No newline at end of file
Modified: jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/AfterUpgradeJbpmTestCase.java
===================================================================
--- jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/AfterUpgradeJbpmTestCase.java 2009-10-26 09:05:41 UTC (rev 5789)
+++ jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/AfterUpgradeJbpmTestCase.java 2009-10-26 09:18:12 UTC (rev 5790)
@@ -7,7 +7,6 @@
import org.jbpm.api.ProcessInstance;
import org.jbpm.api.history.HistoryProcessInstance;
import org.jbpm.test.JbpmTestCase;
-import org.jbpm.upgrade.BeforeUpgrade;
/**
* We cannot use the {@link JbpmTestCase} directly, since it will check if the
@@ -24,17 +23,6 @@
// Do nothing -> the super.tearDown() will check the database to be
// clean, which now isn't happening due to the override.
}
-
- public static boolean DONE = false;
-
- /*@Override
- protected void setUp() throws Exception {
- super.setUp();
- if (!DONE) {
- BeforeUpgrade.main(new String[] {}); // For testing locally
- DONE = true;
- }
- }*/
/**
* Implementations must test here if the data that was produced before
16 years, 6 months
JBoss JBPM SVN: r5789 - in jbpm4/trunk/modules/test-upgrade/src: main/resources and 1 other directories.
by do-not-reply@jboss.org
Author: jbarrez
Date: 2009-10-26 05:05:41 -0400 (Mon, 26 Oct 2009)
New Revision: 5789
Modified:
jbpm4/trunk/modules/test-upgrade/src/main/java/org/jbpm/upgrade/BeforeUpgrade.java
jbpm4/trunk/modules/test-upgrade/src/main/resources/hibernate.properties
jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/AfterUpgradeJbpmTestCase.java
jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/Process1AfterUpgradeTest.java
jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/Process2AfterUpgradeTest.java
jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/Process3AfterUpgradeTest.java
Log:
Updates to test-upgrade AfterUpgrade tests
Modified: jbpm4/trunk/modules/test-upgrade/src/main/java/org/jbpm/upgrade/BeforeUpgrade.java
===================================================================
--- jbpm4/trunk/modules/test-upgrade/src/main/java/org/jbpm/upgrade/BeforeUpgrade.java 2009-10-24 21:50:36 UTC (rev 5788)
+++ jbpm4/trunk/modules/test-upgrade/src/main/java/org/jbpm/upgrade/BeforeUpgrade.java 2009-10-26 09:05:41 UTC (rev 5789)
@@ -26,6 +26,8 @@
import java.util.List;
import java.util.Map;
+import org.hibernate.SessionFactory;
+import org.hibernate.tool.hbm2ddl.SchemaExport;
import org.jbpm.api.Configuration;
import org.jbpm.api.Execution;
import org.jbpm.api.ExecutionService;
Modified: jbpm4/trunk/modules/test-upgrade/src/main/resources/hibernate.properties
===================================================================
--- jbpm4/trunk/modules/test-upgrade/src/main/resources/hibernate.properties 2009-10-24 21:50:36 UTC (rev 5788)
+++ jbpm4/trunk/modules/test-upgrade/src/main/resources/hibernate.properties 2009-10-26 09:05:41 UTC (rev 5789)
@@ -6,5 +6,6 @@
hibernate.connection.url=jdbc:hsqldb:hsql://localhost:1701
hibernate.connection.username=sa
hibernate.connection.password=
-hibernate.hbm2ddl.auto=create-drop
-hibernate.format_sql=true
\ No newline at end of file
+hibernate.hbm2ddl.auto=update
+hibernate.format_sql=true
+hibernate.jdbc.batch_size=0
\ No newline at end of file
Modified: jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/AfterUpgradeJbpmTestCase.java
===================================================================
--- jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/AfterUpgradeJbpmTestCase.java 2009-10-24 21:50:36 UTC (rev 5788)
+++ jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/AfterUpgradeJbpmTestCase.java 2009-10-26 09:05:41 UTC (rev 5789)
@@ -25,13 +25,34 @@
// clean, which now isn't happening due to the override.
}
- @Override
+ public static boolean DONE = false;
+
+ /*@Override
protected void setUp() throws Exception {
super.setUp();
- //BeforeUpgrade.main(new String[] {}); // For testing locally
- }
+ if (!DONE) {
+ BeforeUpgrade.main(new String[] {}); // For testing locally
+ DONE = true;
+ }
+ }*/
+ /**
+ * Implementations must test here if the data that was produced before
+ * the upgrade still is valid after the upgrade. *
+ */
public abstract void testDataValid();
+
+ /**
+ * Implementations must test here if process instances that were in a given
+ * state before the upgrade, still can be continued/finished after the upgrade.
+ */
+ public abstract void testContinueExistingInstance();
+
+ /**
+ * Implementations must test here if new process instances can be created
+ * starting from a deployment done before the upgrade.
+ */
+ public abstract void testStartFreshProcessInstance();
/*
* -------------- HELPER METHODS --------------
Modified: jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/Process1AfterUpgradeTest.java
===================================================================
--- jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/Process1AfterUpgradeTest.java 2009-10-24 21:50:36 UTC (rev 5788)
+++ jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/Process1AfterUpgradeTest.java 2009-10-26 09:05:41 UTC (rev 5789)
@@ -1,9 +1,9 @@
package org.jbpm.test.upgrade;
-import java.util.Arrays;
import java.util.List;
import java.util.Set;
+import org.jbpm.api.Execution;
import org.jbpm.api.ProcessDefinition;
import org.jbpm.api.ProcessInstance;
import org.jbpm.api.history.HistoryProcessInstance;
@@ -11,14 +11,15 @@
public class Process1AfterUpgradeTest extends AfterUpgradeJbpmTestCase {
private static final String PROCESS_1_KEY = "testprocess1";
-
+
public void testDataValid() {
// Check process1 deployment
List<ProcessDefinition> procDefs = findProcessDefinitionsByKey(PROCESS_1_KEY);
assertEquals(1, procDefs.size());
- List<ProcessInstance> procInstances = findProcessInstancesByProcessDefinition(procDefs.get(0).getId());
+ List<ProcessInstance> procInstances =
+ findProcessInstancesByProcessDefinition(procDefs.get(0).getId());
assertEquals(4, procInstances.size());
// process instance 1 is in the 'print documents' state
@@ -40,4 +41,54 @@
}
+ public void testContinueExistingInstance() {
+ continueProcessInstance1();
+ continueProcessInstance4();
+ }
+
+ /* Process instance 1 is waiting in the state 'print documents' */
+ private void continueProcessInstance1() {
+
+ ProcessInstance pi = findProcessInstanceByKey(PROCESS_1_KEY + "-0");
+ String activeState = "print documents";
+ Execution execution = pi.findActiveExecutionIn(activeState);
+
+ // Signalling it will cause the process instance to go to 'drive truck'
+ executionService.signalExecutionById(execution.getId());
+
+ pi = findProcessInstanceByKey(PROCESS_1_KEY + "-0");
+ activeState = "drive truck";
+ assertActivityActive(pi.getId(), activeState);
+
+ // Signalling the process instance will now cause it to end
+ execution = pi.findActiveExecutionIn(activeState);
+ executionService.signalExecutionById(execution.getId());
+ assertProcessInstanceEnded(pi.getId());
+ }
+
+ /* Process instance 4 is waiting in all the states */
+ private void continueProcessInstance4() {
+
+ ProcessInstance pi = findProcessInstanceByKey(PROCESS_1_KEY + "-3");
+ Set<String> activeActivities = pi.findActiveActivityNames();
+ assertTrue(activeActivities.contains("send invoice"));
+ assertTrue(activeActivities.contains("load truck"));
+ assertTrue(activeActivities.contains("print documents"));
+
+ // Signalling these states will cause the process instance to go to 'drive truck'
+ for (String activeActivity : pi.findActiveActivityNames()) {
+ Execution execution = pi.findActiveExecutionIn(activeActivity);
+ executionService.signalExecutionById(execution.getId());
+ pi = findProcessInstanceByKey(PROCESS_1_KEY + "-3");
+ }
+
+ assertEquals(1, pi.findActiveActivityNames().size());
+ assertEquals("drive truck", pi.findActiveActivityNames().iterator().next());
+ }
+
+ public void testStartFreshProcessInstance() {
+ ProcessInstance processInstance = executionService.startProcessInstanceByKey(PROCESS_1_KEY);
+ assertActivitiesActive(processInstance.getId(), "load truck", "send invoice", "print documents");
+ }
+
}
Modified: jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/Process2AfterUpgradeTest.java
===================================================================
--- jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/Process2AfterUpgradeTest.java 2009-10-24 21:50:36 UTC (rev 5788)
+++ jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/Process2AfterUpgradeTest.java 2009-10-26 09:05:41 UTC (rev 5789)
@@ -30,5 +30,13 @@
assertEquals(3, histProcInsts.size());
}
+
+ @Override
+ public void testContinueExistingInstance() {
+ }
+
+ @Override
+ public void testStartFreshProcessInstance() {
+ }
}
Modified: jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/Process3AfterUpgradeTest.java
===================================================================
--- jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/Process3AfterUpgradeTest.java 2009-10-24 21:50:36 UTC (rev 5788)
+++ jbpm4/trunk/modules/test-upgrade/src/test/java/org/jbpm/test/upgrade/Process3AfterUpgradeTest.java 2009-10-26 09:05:41 UTC (rev 5789)
@@ -32,5 +32,13 @@
assertEquals(PROCESS_3_KEY + "-1", jobs.get(0).getProcessInstance().getKey());
}
+
+ @Override
+ public void testContinueExistingInstance() {
+ }
+
+ @Override
+ public void testStartFreshProcessInstance() {
+ }
}
16 years, 6 months
JBoss JBPM SVN: r5788 - in jbpm3/branches/bpel-1.2: bpel/container/jboss420 and 5 other directories.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-10-24 17:50:36 -0400 (Sat, 24 Oct 2009)
New Revision: 5788
Added:
jbpm3/branches/bpel-1.2/jboss/configuration/4.2.3.GA/
Modified:
jbpm3/branches/bpel-1.2/bamconsole/build.xml
jbpm3/branches/bpel-1.2/bpel/container/jboss420/.classpath
jbpm3/branches/bpel-1.2/build/build.properties
jbpm3/branches/bpel-1.2/build/profiles/jboss403.profile.properties
jbpm3/branches/bpel-1.2/jboss/configuration/4.2.2.GA/build.xml
jbpm3/branches/bpel-1.2/jboss/configuration/4.2.3.GA/build.xml
Log:
[BPEL-313] bring back bpel build
Modified: jbpm3/branches/bpel-1.2/bamconsole/build.xml
===================================================================
--- jbpm3/branches/bpel-1.2/bamconsole/build.xml 2009-10-24 11:43:47 UTC (rev 5787)
+++ jbpm3/branches/bpel-1.2/bamconsole/build.xml 2009-10-24 21:50:36 UTC (rev 5788)
@@ -17,8 +17,8 @@
<!-- Give user a chance to override without editing this file or typing -D -->
<property file="${basedir}/build.properties" />
- <property name="profile" value="dev" />
- <property file="build-${profile}.properties" />
+ <property name="bam.profile" value="dev" />
+ <property file="build-${bam.profile}.properties" />
<!-- set global properties for this build -->
<property name="project.name" value="bamconsole" />
@@ -137,8 +137,8 @@
<include name="ejb-jar.xml" />
</fileset>
</copy>
- <copy tofile="${jar.dir}/META-INF/persistence.xml" file="${basedir}/resources/META-INF/persistence-${profile}.xml" overwrite="true" />
- <copy tofile="${jar.dir}/import.sql" file="${basedir}/resources/import-${profile}.sql" overwrite="true" />
+ <copy tofile="${jar.dir}/META-INF/persistence.xml" file="${basedir}/resources/META-INF/persistence-${bam.profile}.xml" overwrite="true" />
+ <copy tofile="${jar.dir}/import.sql" file="${basedir}/resources/import-${bam.profile}.sql" overwrite="true" />
</target>
<target name="war" depends="compile" description="Build the distribution .war file">
@@ -235,7 +235,7 @@
<fail unless="jboss.home">jboss.home not set</fail>
<copy todir="${deploy.dir}">
<fileset dir="${basedir}/resources">
- <include name="${project.name}-${profile}-ds.xml" />
+ <include name="${project.name}-${bam.profile}-ds.xml" />
</fileset>
</copy>
</target>
@@ -263,7 +263,7 @@
<exclude name="**/*.jar" />
</fileset>
</delete>
- <delete file="${deploy.dir}/${project.name}-${profile}-ds.xml" failonerror="no" />
+ <delete file="${deploy.dir}/${project.name}-${bam.profile}-ds.xml" failonerror="no" />
<delete dir="${ear.deploy.dir}" failonerror="no" />
</target>
@@ -503,7 +503,7 @@
</target>
<target name="install" depends="package" description="Copy the ear and the datasource to the local repository">
- <copy tofile="${dist.dir}/${project.name}-ds.xml" file="${basedir}/resources/${project.name}-${profile}-ds.xml" />
+ <copy tofile="${dist.dir}/${project.name}-ds.xml" file="${basedir}/resources/${project.name}-${bam.profile}-ds.xml" />
<copy tofile="${lib.jbpm.bamconsole.local}" file="${dist.dir}/${project.name}.ear" />
<copy tofile="${lib.jbpm.bamconsole.datasource.local}" file="${dist.dir}/${project.name}-ds.xml" />
</target>
Modified: jbpm3/branches/bpel-1.2/bpel/container/jboss420/.classpath
===================================================================
--- jbpm3/branches/bpel-1.2/bpel/container/jboss420/.classpath 2009-10-24 11:43:47 UTC (rev 5787)
+++ jbpm3/branches/bpel-1.2/bpel/container/jboss420/.classpath 2009-10-24 21:50:36 UTC (rev 5788)
@@ -3,6 +3,6 @@
<classpathentry kind="src" path="src/main/java"/>
<classpathentry combineaccessrules="false" kind="src" path="/bpel"/>
<classpathentry kind="var" path="JBPM_REPO/jbossws/2.0.1.SP2/lib/jbossws-client.jar"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: jbpm3/branches/bpel-1.2/build/build.properties
===================================================================
--- jbpm3/branches/bpel-1.2/build/build.properties 2009-10-24 11:43:47 UTC (rev 5787)
+++ jbpm3/branches/bpel-1.2/build/build.properties 2009-10-24 21:50:36 UTC (rev 5788)
@@ -28,18 +28,18 @@
# jwsdp.home is used for generating web service artifacts
# wscompile is an alternative to the wstools included in jboss as 4.0.4+
-jwsdp.home=${software.installation.dir}/jwsdp-1.6
+jwsdp.version=1.6
+jwsdp.home=${software.installation.dir}/jwsdp-${jwsdp.version}
# REPOSITORY LOCATION PROPERTIES
local.repository=${user.home}/jbpm/repository
remote.repository=http://repository.jboss.org
-remote.jboss.repository=http://superb-east.dl.sourceforge.net/sourceforge/jboss
docbook.support.dir=${local.repository}
# BROWSER PROPERTIES
windows.browser=C:/Program Files/Internet Explorer/IEXPLORE.EXE
macos.browser=/usr/bin/open
-linux.browser=mozilla
+linux.browser=gnome-open
# The remainder section of this configuration file should
# typically not be customized.
@@ -730,7 +730,7 @@
lib.jboss.as.name=jboss.zip
lib.jboss.as.dir=jbossas/${lib.jboss.version}/lib
lib.jboss.as.local=${local.repository}/${lib.jboss.as.dir}/${lib.jboss.as.name}
-lib.jboss.as.remote=${remote.jboss.repository}/jboss-${jboss.version}.zip
+lib.jboss.as.remote=http://downloads.sourceforge.net/project/jboss/JBoss/JBoss-${jboss.version}/jboss-${jboss.version}.zip
lib.jboss.backport-concurrent.version=2.1.0.GA
lib.jboss.backport-concurrent.license=public-domain
@@ -862,7 +862,7 @@
lib.oscache.local=${local.repository}/${lib.oscache.path}
lib.oscache.remote=${remote.repository}/${lib.oscache.path}
-lib.servlet.version=2.5
+lib.servlet.version=2.4
lib.servlet.license=apache-2.0
lib.servlet.name=servlet-api.jar
lib.servlet.dir=sun-servlet/${lib.servlet.version}/lib
@@ -870,7 +870,7 @@
lib.servlet.local=${local.repository}/${lib.servlet.path}
lib.servlet.remote=${remote.repository}/${lib.servlet.path}
-lib.servlet-jsp.version=2.5
+lib.servlet-jsp.version=${lib.servlet.version}
lib.servlet-jsp.license=apache-2.0
lib.servlet-jsp.name=jsp-api.jar
lib.servlet-jsp.dir=sun-servlet/${lib.servlet-jsp.version}/lib
Modified: jbpm3/branches/bpel-1.2/build/profiles/jboss403.profile.properties
===================================================================
--- jbpm3/branches/bpel-1.2/build/profiles/jboss403.profile.properties 2009-10-24 11:43:47 UTC (rev 5787)
+++ jbpm3/branches/bpel-1.2/build/profiles/jboss403.profile.properties 2009-10-24 21:50:36 UTC (rev 5788)
@@ -1,6 +1,7 @@
jboss.version=4.0.3.SP1
+lib.jboss.as.remote=http://downloads.sourceforge.net/project/jboss/JBoss/JBoss-4.0.3SP1/jboss-4.0.3SP1.zip
lib.jboss.saaj.version=${jboss.version}
lib.jboss.saaj.dir=jboss-ws4ee/${lib.jboss.saaj.version}/lib
-lib.jbpm.bpel.container.jar.file=jbpm-bpel-jboss403.jar
\ No newline at end of file
+lib.jbpm.bpel.container.jar.file=jbpm-bpel-jboss403.jar
Modified: jbpm3/branches/bpel-1.2/jboss/configuration/4.2.2.GA/build.xml
===================================================================
--- jbpm3/branches/bpel-1.2/jboss/configuration/4.2.2.GA/build.xml 2009-10-24 11:43:47 UTC (rev 5787)
+++ jbpm3/branches/bpel-1.2/jboss/configuration/4.2.2.GA/build.xml 2009-10-24 21:50:36 UTC (rev 5788)
@@ -1,4 +1,4 @@
-<project name="jbpm.jboss.configuration.4.0.4.GA" basedir="." default="package">
+<project name="jbpm.jboss.configuration.4.2.2.GA" basedir="." default="package">
<!-- project specific properties -->
<property name="jbpm.root" value="../../.." />
Copied: jbpm3/branches/bpel-1.2/jboss/configuration/4.2.3.GA (from rev 5787, jbpm3/branches/bpel-1.2/jboss/configuration/4.2.2.GA)
Property changes on: jbpm3/branches/bpel-1.2/jboss/configuration/4.2.3.GA
___________________________________________________________________
Name: svn:mergeinfo
+
Modified: jbpm3/branches/bpel-1.2/jboss/configuration/4.2.3.GA/build.xml
===================================================================
--- jbpm3/branches/bpel-1.2/jboss/configuration/4.2.2.GA/build.xml 2009-10-24 11:43:47 UTC (rev 5787)
+++ jbpm3/branches/bpel-1.2/jboss/configuration/4.2.3.GA/build.xml 2009-10-24 21:50:36 UTC (rev 5788)
@@ -1,4 +1,4 @@
-<project name="jbpm.jboss.configuration.4.0.4.GA" basedir="." default="package">
+<project name="jbpm.jboss.configuration.4.2.3.GA" basedir="." default="package">
<!-- project specific properties -->
<property name="jbpm.root" value="../../.." />
16 years, 6 months
JBoss JBPM SVN: r5787 - in jbpm3: tags and 1 other directory.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-10-24 07:43:47 -0400 (Sat, 24 Oct 2009)
New Revision: 5787
Added:
jbpm3/branches/bpel-1.2/
Removed:
jbpm3/tags/bpel-1.2/
Log:
move bpel-1.2 to branches
Copied: jbpm3/branches/bpel-1.2 (from rev 5786, jbpm3/tags/bpel-1.2)
16 years, 6 months
JBoss JBPM SVN: r5786 - jbpm3/tags.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-10-24 07:41:37 -0400 (Sat, 24 Oct 2009)
New Revision: 5786
Added:
jbpm3/tags/bpel-1.2/
Log:
[BPEL-313] create bpel-1.2 branch to allow Aleksander Adamowski to incorporate his work
Copied: jbpm3/tags/bpel-1.2 (from rev 5785, jbpm3/tags/bpel-1.1.1.GA)
16 years, 6 months
JBoss JBPM SVN: r5785 - in jbpm3: tags and 1 other directory.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-10-24 07:29:03 -0400 (Sat, 24 Oct 2009)
New Revision: 5785
Added:
jbpm3/tags/jpdl-3.2.3.CP/
Removed:
jbpm3/branches/jpdl-3.2.3.CP/
Log:
move jpdl-3.2.3.CP from branches to tags, no work is being done on that branch
Copied: jbpm3/tags/jpdl-3.2.3.CP (from rev 5784, jbpm3/branches/jpdl-3.2.3.CP)
16 years, 6 months
JBoss JBPM SVN: r5784 - jbpm4/trunk/qa.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-10-24 06:06:28 -0400 (Sat, 24 Oct 2009)
New Revision: 5784
Modified:
jbpm4/trunk/qa/demo.setup.jboss.sh
jbpm4/trunk/qa/demo.setup.tomcat.sh
Log:
[JBPM-2509] add headers to shell scripts
Modified: jbpm4/trunk/qa/demo.setup.jboss.sh
===================================================================
--- jbpm4/trunk/qa/demo.setup.jboss.sh 2009-10-24 09:07:26 UTC (rev 5783)
+++ jbpm4/trunk/qa/demo.setup.jboss.sh 2009-10-24 10:06:28 UTC (rev 5784)
@@ -1,3 +1,5 @@
+#!/bin/sh
+
set MAVEN_OPTS=-Xms1024M -Xmx1024M
mvn -U -Pdistro clean install
ant -f qa/build.xml manual.testrun.setup
Modified: jbpm4/trunk/qa/demo.setup.tomcat.sh
===================================================================
--- jbpm4/trunk/qa/demo.setup.tomcat.sh 2009-10-24 09:07:26 UTC (rev 5783)
+++ jbpm4/trunk/qa/demo.setup.tomcat.sh 2009-10-24 10:06:28 UTC (rev 5784)
@@ -1,3 +1,5 @@
+#!/bin/sh
+
set MAVEN_OPTS=-Xms1024M -Xmx1024M
mvn -U -Pdistro clean install
ant -f qa/build.xml reinstall.jbpm
16 years, 6 months
JBoss JBPM SVN: r5783 - jbpm4/trunk/modules/test-upgrade.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-10-24 05:07:26 -0400 (Sat, 24 Oct 2009)
New Revision: 5783
Removed:
jbpm4/trunk/modules/test-upgrade/target/
Modified:
jbpm4/trunk/modules/test-upgrade/
Log:
ignore test-upgrade target dir
Property changes on: jbpm4/trunk/modules/test-upgrade
___________________________________________________________________
Name: svn:ignore
+ target
16 years, 6 months