Tom Baeyens | 1 Jun 2007 10:37

[jbpm-cvs] jbpm.3/jpdl/jar/src/test/java/org/jbpm/jpdl/exe ...

  User: tbaeyens
  Date: 07/06/01 04:37:00

  Modified:    jpdl/jar/src/test/java/org/jbpm/jpdl/exe  
                        JpdlExeDbTests.java
  Added:       jpdl/jar/src/test/java/org/jbpm/jpdl/exe  
                        AvailableTransitionsDbTest.java
  Log:
  added test for getAvailableTransition super state support: JBPM-953

  Revision  Changes    Path
  1.2       +1 -0      jbpm.3/jpdl/jar/src/test/java/org/jbpm/jpdl/exe/JpdlExeDbTests.java

  (In the diff below, changes in quantity of whitespace are not shown.)

  Index: JpdlExeDbTests.java
  ===================================================================
  RCS file: /cvsroot/jbpm/jbpm.3/jpdl/jar/src/test/java/org/jbpm/jpdl/exe/JpdlExeDbTests.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- JpdlExeDbTests.java	28 Apr 2006 15:09:22 -0000	1.1
  +++ JpdlExeDbTests.java	1 Jun 2007 08:37:00 -0000	1.2
   <at>  <at>  -30,6 +30,7  <at>  <at> 
     public static Test suite() {
       TestSuite suite = new TestSuite("org.jbpm.jpdl.exe");
       //$JUnit-BEGIN$
  +    suite.addTestSuite(AvailableTransitionsDbTest.class);
       suite.addTestSuite(JoinDbTest.class);
       //$JUnit-END$
(Continue reading)

Tom Baeyens | 1 Jun 2007 10:37

[jbpm-cvs] jbpm.3/build ...

  User: tbaeyens
  Date: 07/06/01 04:37:26

  Modified:    build    build.xml build.properties base.project.build.xml
  Log:
  fixed console build jakarta io dependency

  Revision  Changes    Path
  1.48      +3 -3      jbpm.3/build/build.xml

  (In the diff below, changes in quantity of whitespace are not shown.)

  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jbpm/jbpm.3/build/build.xml,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -b -r1.47 -r1.48
  --- build.xml	31 May 2007 09:35:56 -0000	1.47
  +++ build.xml	1 Jun 2007 08:37:26 -0000	1.48
   <at>  <at>  -161,9 +161,9  <at>  <at> 
       <get src="${lib.jackrabbit.remote}" dest="${lib.jackrabbit.local}" usetimestamp="true"
ignoreerrors="true" />
       <get src="${remote.license.dir}/${lib.jackrabbit.license}.txt"
dest="${lib.jackrabbit.local}.license.txt" usetimestamp="true" ignoreerrors="true" />

  -    <mkdir dir="${local.repository}/${lib.jakarta-io.dir}" />
  -    <get src="${lib.jakarta-io.remote}" dest="${lib.jakarta-io.local}" usetimestamp="true"
ignoreerrors="true" />
  -    <get src="${remote.license.dir}/${lib.jakarta-io.license}.txt"
(Continue reading)

Tom Baeyens | 1 Jun 2007 10:37

[jbpm-cvs] jbpm.3/console ...

  User: tbaeyens
  Date: 07/06/01 04:37:26

  Modified:    console  build.xml
  Log:
  fixed console build jakarta io dependency

  Revision  Changes    Path
  1.30      +2 -0      jbpm.3/console/build.xml

  (In the diff below, changes in quantity of whitespace are not shown.)

  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jbpm/jbpm.3/console/build.xml,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -b -r1.29 -r1.30
  --- build.xml	31 May 2007 12:49:13 -0000	1.29
  +++ build.xml	1 Jun 2007 08:37:26 -0000	1.30
   <at>  <at>  -86,6 +86,7  <at>  <at> 
               <lib file="${lib.jbpm.identity.jar.local}"/>
               <lib file="${lib.facelets.local}"/>
               <lib file="${lib.commons.fileupload.local}"/>
  +            <lib file="${lib.jakarta.io.local}"/>
           </war>
       </target>

   <at>  <at>  -136,6 +137,7  <at>  <at> 
               <lib file="${lib.el.api.local}"/>
(Continue reading)

Tom Baeyens | 1 Jun 2007 12:25

[jbpm-cvs] jbpm.3/jpdl/db ...

  User: tbaeyens
  Date: 07/06/01 06:25:50

  Modified:    jpdl/db  build.xml
  Log:
  added identity schema to the db scripts: JBPM-926

  Revision  Changes    Path
  1.15      +14 -2     jbpm.3/jpdl/db/build.xml

  (In the diff below, changes in quantity of whitespace are not shown.)

  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jbpm/jbpm.3/jpdl/db/build.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- build.xml	30 May 2007 13:10:16 -0000	1.14
  +++ build.xml	1 Jun 2007 10:25:50 -0000	1.15
   <at>  <at>  -67,12 +67,24  <at>  <at> 
             unless="jpdl.db.scripts.are.uptodate">
       <mkdir dir="target/classes" />
       <!-- define the jbpm ant tasks from the properties file -->
  -    <echo message="${lib.jbpm.jpdl.config.local}" />
  +    <mkdir dir="target/config" />
  +    <unzip src="${lib.jbpm.jpdl.config.local}" dest="target/config" />
  +    <!-- remove the job executor servlet from the web.xml -->
  +    <replace file="target/config/hibernate.cfg.xml">
  +      <replacetoken><![CDATA[<!-- identity mappings (begin) ===]]></replacetoken>
(Continue reading)

Koen Aers | 1 Jun 2007 12:31

[jbpm-cvs] jbpm.3/jpdl/jar/src/test/java/org/jbpm/persistence/db ...

  User: kaers   
  Date: 07/06/01 06:31:31

  Modified:    jpdl/jar/src/test/java/org/jbpm/persistence/db 
                        MockConnection.java
  Log:
  http://jira.jboss.com/jira/browse/JBPM-956

  Revision  Changes    Path
  1.2       +73 -0     jbpm.3/jpdl/jar/src/test/java/org/jbpm/persistence/db/MockConnection.java

  (In the diff below, changes in quantity of whitespace are not shown.)

  Index: MockConnection.java
  ===================================================================
  RCS file: /cvsroot/jbpm/jbpm.3/jpdl/jar/src/test/java/org/jbpm/persistence/db/MockConnection.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- MockConnection.java	28 Apr 2006 15:09:22 -0000	1.1
  +++ MockConnection.java	1 Jun 2007 10:31:31 -0000	1.2
   <at>  <at>  -1,14 +1,22  <at>  <at> 
   package org.jbpm.persistence.db;

  +import java.sql.Array;
  +import java.sql.Blob;
   import java.sql.CallableStatement;
  +import java.sql.Clob;
   import java.sql.Connection;
   import java.sql.DatabaseMetaData;
(Continue reading)

Tom Baeyens | 1 Jun 2007 13:00

[jbpm-cvs] jbpm.3/jpdl/jar/src/test/java/org/jbpm/graph/exe ...

  User: tbaeyens
  Date: 07/06/01 07:00:48

  Modified:    jpdl/jar/src/test/java/org/jbpm/graph/exe 
                        EventPropagationTest.java
  Log:
  fixed event propagation: JBPM-957

  Revision  Changes    Path
  1.2       +76 -0     jbpm.3/jpdl/jar/src/test/java/org/jbpm/graph/exe/EventPropagationTest.java

  (In the diff below, changes in quantity of whitespace are not shown.)

  Index: EventPropagationTest.java
  ===================================================================
  RCS file: /cvsroot/jbpm/jbpm.3/jpdl/jar/src/test/java/org/jbpm/graph/exe/EventPropagationTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- EventPropagationTest.java	28 Apr 2006 15:09:22 -0000	1.1
  +++ EventPropagationTest.java	1 Jun 2007 11:00:47 -0000	1.2
   <at>  <at>  -259,4 +259,80  <at>  <at> 

       assertEquals(1, executedActions.size());
     }
  +  
  +  // let's count the number of messages printed.
  +  // that way we have something to assert at the end of the test.
  +  static int nbrOfMessagesPrinted = 0; 
  +
(Continue reading)

Tom Baeyens | 1 Jun 2007 13:00

[jbpm-cvs] jbpm.3/jpdl/jar/src/main/java/org/jbpm/graph/def ...

  User: tbaeyens
  Date: 07/06/01 07:00:53

  Modified:    jpdl/jar/src/main/java/org/jbpm/graph/def  GraphElement.java
  Log:
  fixed event propagation: JBPM-957

  Revision  Changes    Path
  1.10      +1 -2      jbpm.3/jpdl/jar/src/main/java/org/jbpm/graph/def/GraphElement.java

  (In the diff below, changes in quantity of whitespace are not shown.)

  Index: GraphElement.java
  ===================================================================
  RCS file: /cvsroot/jbpm/jbpm.3/jpdl/jar/src/main/java/org/jbpm/graph/def/GraphElement.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- GraphElement.java	2 Jan 2007 10:55:04 -0000	1.9
  +++ GraphElement.java	1 Jun 2007 11:00:53 -0000	1.10
   <at>  <at>  -37,7 +37,6  <at>  <at> 
   import org.jbpm.graph.exe.Token;
   import org.jbpm.graph.log.ActionLog;
   import org.jbpm.job.ExecuteActionJob;
  -import org.jbpm.job.ExecuteNodeJob;
   import org.jbpm.msg.MessageService;
   import org.jbpm.svc.Services;
   import org.jbpm.util.EqualsUtil;
   <at>  <at>  -174,7 +173,7  <at>  <at> 

(Continue reading)

Koen Aers | 1 Jun 2007 14:09

[jbpm-cvs] jbpm.3/designer/jpdl/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/ui/editor ...

  User: kaers   
  Date: 07/06/01 08:09:59

  Modified:    designer/jpdl/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/ui/editor  
                        JpdlEditor.java JpdlDeploymentEditorPage.java
  Log:
  http://jira.jboss.com/jira/browse/GPD-83

  Revision  Changes    Path
  1.5       +4 -1      jbpm.3/designer/jpdl/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/ui/editor/JpdlEditor.java

  (In the diff below, changes in quantity of whitespace are not shown.)

  Index: JpdlEditor.java
  ===================================================================
  RCS file: /cvsroot/jbpm/jbpm.3/designer/jpdl/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/ui/editor/JpdlEditor.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- JpdlEditor.java	7 May 2007 21:05:01 -0000	1.4
  +++ JpdlEditor.java	1 Jun 2007 12:09:59 -0000	1.5
   <at>  <at>  -44,6 +44,8  <at>  <at> 
   import org.eclipse.jface.action.MenuManager;
   import org.eclipse.jface.action.Separator;
   import org.eclipse.jface.viewers.ISelection;
  +import org.eclipse.jface.viewers.ISelectionProvider;
  +import org.eclipse.jface.viewers.SelectionChangedEvent;
   import org.eclipse.swt.widgets.Control;
   import org.eclipse.swt.widgets.Menu;
   import org.eclipse.ui.IEditorInput;
(Continue reading)

Koen Aers | 1 Jun 2007 14:09

[jbpm-cvs] jbpm.3/designer/jpdl/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/ui/deployment ...

  User: kaers   
  Date: 07/06/01 08:09:59

  Modified:    designer/jpdl/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/ui/deployment 
                        DeploymentForm.java
  Log:
  http://jira.jboss.com/jira/browse/GPD-83

  Revision  Changes    Path
  1.2       +16 -0     jbpm.3/designer/jpdl/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/ui/deployment/DeploymentForm.java

  (In the diff below, changes in quantity of whitespace are not shown.)

  Index: DeploymentForm.java
  ===================================================================
  RCS file: /cvsroot/jbpm/jbpm.3/designer/jpdl/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/ui/deployment/DeploymentForm.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- DeploymentForm.java	20 Mar 2007 09:58:47 -0000	1.1
  +++ DeploymentForm.java	1 Jun 2007 12:09:59 -0000	1.2
   <at>  <at>  -625,4 +625,20  <at>  <at> 
   		return getWorkBenchWindow().getActivePage().getActiveEditor();
   	}
   	
  +	public void refresh() {
  +		final IJavaProject project = JavaCore.create(processFolder.getProject());
  +		includeClassesTreeViewer.refresh();
  +		composite.getDisplay().asyncExec(new Runnable() {
  +			public void run() {
(Continue reading)

Tom Baeyens | 1 Jun 2007 14:13

[jbpm-cvs] jbpm.3/jpdl/jar/src/main/java/org/jbpm/bytes ...

  User: tbaeyens
  Date: 07/06/01 08:13:21

  Modified:    jpdl/jar/src/main/java/org/jbpm/bytes  ByteArray.java
  Log:
  fixed nullpointer in empty byte array variable: JBPM-964

  Revision  Changes    Path
  1.2       +4 -1      jbpm.3/jpdl/jar/src/main/java/org/jbpm/bytes/ByteArray.java

  (In the diff below, changes in quantity of whitespace are not shown.)

  Index: ByteArray.java
  ===================================================================
  RCS file: /cvsroot/jbpm/jbpm.3/jpdl/jar/src/main/java/org/jbpm/bytes/ByteArray.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- ByteArray.java	28 Apr 2006 15:09:22 -0000	1.1
  +++ ByteArray.java	1 Jun 2007 12:13:21 -0000	1.2
   <at>  <at>  -57,7 +57,10  <at>  <at> 
     }

     public ByteArray(ByteArray other) {
  -    this.byteBlocks = new ArrayList(other.getByteBlocks());
  +    List otherByteBlocks = other.getByteBlocks();
  +    if (otherByteBlocks!=null) {
  +      this.byteBlocks = new ArrayList(otherByteBlocks);
  +    }
       this.name = other.name;
(Continue reading)


Gmane