JBoss JBPM SVN: r5878 - jbpm4/tags/jbpm-4.2.
by do-not-reply@jboss.org
Author: heiko.braun(a)jboss.com
Date: 2009-11-03 04:50:18 -0500 (Tue, 03 Nov 2009)
New Revision: 5878
Modified:
jbpm4/tags/jbpm-4.2/pom.xml
Log:
Update to console 1.2.0
Modified: jbpm4/tags/jbpm-4.2/pom.xml
===================================================================
--- jbpm4/tags/jbpm-4.2/pom.xml 2009-11-03 03:42:38 UTC (rev 5877)
+++ jbpm4/tags/jbpm-4.2/pom.xml 2009-11-03 09:50:18 UTC (rev 5878)
@@ -49,7 +49,7 @@
<cactus.version>1.8.1</cactus.version>
<aspectjrt.version>1.5.3</aspectjrt.version>
<freemarker.version>2.3.15</freemarker.version>
- <gwt.console.version>1.2.0-SNAPSHOT</gwt.console.version>
+ <gwt.console.version>1.2.0</gwt.console.version>
<jbpm.gpd.version>4.2</jbpm.gpd.version>
<hibernate.version>3.3.1.GA</hibernate.version>
<slf4j.version>1.5.2</slf4j.version>
14 years, 6 months
JBoss JBPM SVN: r5877 - jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-11-02 22:42:38 -0500 (Mon, 02 Nov 2009)
New Revision: 5877
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.properties.hsqldb.xml
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.properties.mysql.xml
jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.properties.oracle.xml
Log:
fix spacing in hibernate config
Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.properties.hsqldb.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.properties.hsqldb.xml 2009-11-02 20:56:55 UTC (rev 5876)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.properties.hsqldb.xml 2009-11-03 03:42:38 UTC (rev 5877)
@@ -12,3 +12,4 @@
<!-- Automatic schema creation (begin) -->
<property name="hibernate.hbm2ddl.auto">create</property>
<!-- Automatic schema creation (end) -->
+
Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.properties.mysql.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.properties.mysql.xml 2009-11-02 20:56:55 UTC (rev 5876)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.properties.mysql.xml 2009-11-03 03:42:38 UTC (rev 5877)
@@ -10,3 +10,4 @@
<property name="hibernate.connection.isolation">2</property>
<property name="hibernate.query.substitutions">true 1, false 0</property>
<!-- JDBC connection properties (end) -->
+
Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.properties.oracle.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.properties.oracle.xml 2009-11-02 20:56:55 UTC (rev 5876)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/main/resources/hibernate.properties.oracle.xml 2009-11-03 03:42:38 UTC (rev 5877)
@@ -8,3 +8,4 @@
<property name="hibernate.connection.username">${jdbc.oracle.username}</property>
<property name="hibernate.connection.password">${jdbc.oracle.password}</property>
<!-- JDBC connection properties (end) -->
+
14 years, 6 months
JBoss JBPM SVN: r5876 - in projects/bbq/projects: bbq-core/java/org/bbq/system and 6 other directories.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2009-11-02 15:56:55 -0500 (Mon, 02 Nov 2009)
New Revision: 5876
Added:
projects/bbq/projects/bbq-core/java/org/bbq/commands/Junit.java
projects/bbq/projects/bbq-core/java/org/bbq/system/Artifact.java
projects/bbq/projects/bbq-test-project/java/com/myproject/Add.java
projects/bbq/projects/bbq-test-project/test/
projects/bbq/projects/bbq-test-project/test/com/
projects/bbq/projects/bbq-test-project/test/com/myproject/
projects/bbq/projects/bbq-test-project/test/com/myproject/AddTest.java
Removed:
projects/bbq/projects/bbq-test-project/java/com/myproject/Tool.java
Modified:
projects/bbq/projects/bbq-core/java/org/bbq/commands/ClassPath.java
projects/bbq/projects/bbq-core/java/org/bbq/commands/Exec.java
projects/bbq/projects/bbq-core/java/org/bbq/commands/Java.java
projects/bbq/projects/bbq-core/java/org/bbq/commands/Javac.java
projects/bbq/projects/bbq-core/java/org/bbq/system/Path.java
projects/bbq/projects/bbq-core/java/org/bbq/system/Repository.java
projects/bbq/projects/bbq-test-project/.classpath
projects/bbq/projects/bbq-test-project/build/Build.java
Log:
Modified: projects/bbq/projects/bbq-core/java/org/bbq/commands/ClassPath.java
===================================================================
--- projects/bbq/projects/bbq-core/java/org/bbq/commands/ClassPath.java 2009-11-02 12:14:39 UTC (rev 5875)
+++ projects/bbq/projects/bbq-core/java/org/bbq/commands/ClassPath.java 2009-11-02 20:56:55 UTC (rev 5876)
@@ -25,7 +25,7 @@
import java.util.List;
import java.util.StringTokenizer;
-import org.bbq.system.Console;
+import org.bbq.system.Artifact;
import org.bbq.system.Repository;
@@ -35,9 +35,12 @@
public class ClassPath {
List<String> elements = new ArrayList<String>();
+ List<Artifact> artifacts = new ArrayList<Artifact>();
public ClassPath add(Repository repository, String path) {
- add(repository.getArtifactPath(path));
+ Artifact artifact = repository.getArtifact(path);
+ artifacts.add(artifact);
+ add(artifact.getLocalPath());
return this;
}
@@ -59,9 +62,13 @@
return elements.isEmpty();
}
- public String toString() {
+ public String resolve() {
+ for (Artifact artifact: artifacts) {
+ artifact.resolve();
+ }
return toString(";");
}
+
public String toString(String separator) {
StringBuilder stringBuilder = new StringBuilder();
for (int i=0; i<(elements.size()-1); i++) {
Modified: projects/bbq/projects/bbq-core/java/org/bbq/commands/Exec.java
===================================================================
--- projects/bbq/projects/bbq-core/java/org/bbq/commands/Exec.java 2009-11-02 12:14:39 UTC (rev 5875)
+++ projects/bbq/projects/bbq-core/java/org/bbq/commands/Exec.java 2009-11-02 20:56:55 UTC (rev 5876)
@@ -23,6 +23,7 @@
import java.io.BufferedReader;
import java.io.InputStreamReader;
+import java.util.ArrayList;
import java.util.List;
import org.bbq.BbqException;
@@ -34,13 +35,21 @@
*/
public class Exec {
- List<String> cmd;
+ List<String> cmd = new ArrayList<String>();
String description;
+ public Exec() {
+ }
+
public Exec(List<String> cmd) {
this.cmd = cmd;
}
+ public Exec add(String cmdElement) {
+ cmd.add(cmdElement);
+ return this;
+ }
+
public void execute() {
try {
String msg = description;
Modified: projects/bbq/projects/bbq-core/java/org/bbq/commands/Java.java
===================================================================
--- projects/bbq/projects/bbq-core/java/org/bbq/commands/Java.java 2009-11-02 12:14:39 UTC (rev 5875)
+++ projects/bbq/projects/bbq-core/java/org/bbq/commands/Java.java 2009-11-02 20:56:55 UTC (rev 5876)
@@ -32,7 +32,8 @@
*/
public class Java {
- static String JAVA_HOME = System.getenv("JAVA_HOME");
+ public static String JAVA_HOME = System.getenv("JAVA_HOME");
+ public static final String JAVA_EXECUTABLE = Java.JAVA_HOME+Os.FILE_SEPARATOR+"bin"+Os.FILE_SEPARATOR+"javac";
String classPath;
String className;
Modified: projects/bbq/projects/bbq-core/java/org/bbq/commands/Javac.java
===================================================================
--- projects/bbq/projects/bbq-core/java/org/bbq/commands/Javac.java 2009-11-02 12:14:39 UTC (rev 5875)
+++ projects/bbq/projects/bbq-core/java/org/bbq/commands/Javac.java 2009-11-02 20:56:55 UTC (rev 5876)
@@ -92,7 +92,7 @@
// build up the compile command
List<String> cmd = new ArrayList<String>();
- cmd.add(Java.JAVA_HOME+Os.FILE_SEPARATOR+"bin"+Os.FILE_SEPARATOR+"javac");
+ cmd.add(Java.JAVA_EXECUTABLE);
cmd.add("-d");
cmd.add(destDir);
String description = "javac -d "+destDir;
Added: projects/bbq/projects/bbq-core/java/org/bbq/commands/Junit.java
===================================================================
--- projects/bbq/projects/bbq-core/java/org/bbq/commands/Junit.java (rev 0)
+++ projects/bbq/projects/bbq-core/java/org/bbq/commands/Junit.java 2009-11-02 20:56:55 UTC (rev 5876)
@@ -0,0 +1,84 @@
+/*
+ * 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.bbq.commands;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.bbq.system.FileList;
+import org.bbq.system.FileScan;
+import org.junit.runner.JUnitCore;
+import org.junit.runner.Request;
+
+import junit.textui.TestRunner;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class Junit {
+
+ FileList sourceTestFiles = null;
+ ClassPath classPath = new ClassPath();
+ String name = "bbq test run";
+
+ public Junit tests(String srcDir, String suffix) {
+ FileList sourceTestFiles = new FileScan(srcDir)
+ .filterEnd(suffix)
+ .execute();
+
+ if (this.sourceTestFiles==null) {
+ this.sourceTestFiles = sourceTestFiles;
+ } else {
+ this.sourceTestFiles.add( sourceTestFiles );
+ }
+
+ return this;
+ }
+
+ public Junit classPath(ClassPath classPath) {
+ this.classPath.add(classPath);
+ return this;
+ }
+
+ public void execute() {
+ List<String> cmd = new ArrayList<String>();
+
+ new Java()
+ TODO...
+ .execute();
+ }
+
+ public static class Run {
+ public static void main(String[] args) {
+ JUnitCore junitCore = new JUnitCore();
+ for (String srcTestFile: sourceTestFiles.list()) {
+ String testClassName = srcTestFile
+ .substring(0, srcTestFile.length()-5)
+ .replace('/', '.');
+
+ Class< ? > testClass = null;
+ junitCore.run(testClass);
+ }
+ }
+ }
+}
Property changes on: projects/bbq/projects/bbq-core/java/org/bbq/commands/Junit.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: projects/bbq/projects/bbq-core/java/org/bbq/system/Artifact.java
===================================================================
--- projects/bbq/projects/bbq-core/java/org/bbq/system/Artifact.java (rev 0)
+++ projects/bbq/projects/bbq-core/java/org/bbq/system/Artifact.java 2009-11-02 20:56:55 UTC (rev 5876)
@@ -0,0 +1,119 @@
+/*
+ * 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.bbq.system;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.net.URL;
+
+import org.bbq.BbqException;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class Artifact {
+
+ String path;
+ String localPath;
+ String remoteUrl;
+ Repository repository;
+
+ public Artifact(Repository repository, String path) {
+ this.path = path;
+ this.localPath = repository.getLocalRepositoryPath()+"/"+path;
+ this.remoteUrl = repository.getRemoteUrl()+"/"+path;
+ this.repository = repository;
+ }
+
+ public void resolve() {
+ File artifactFile = new File(localPath);
+ if (!artifactFile.exists()) {
+ Console.log("downloading "+path+" from "+repository.getName());
+
+ // first make sure the directory exists
+ int index = localPath.lastIndexOf('/');
+ String artifactDirPath = localPath.substring(0, index);
+ File artifactDir = new File(artifactDirPath);
+ artifactDir.mkdirs();
+
+ // download the artifact
+ try {
+ FileOutputStream fileStream = new FileOutputStream(artifactFile);
+ URL artifactUrl = new URL(remoteUrl);
+ pump(artifactUrl, fileStream);
+ } catch (Exception e) {
+ throw new BbqException("couldn't fetch repo artifact "+path);
+ }
+ }
+ }
+
+ protected void pump(URL artifactUrl, OutputStream out) throws Exception {
+ int bufferSize = 1024*10; // 10K
+ int total = 0;
+ int dotCount = 0;
+ byte[] buffer = new byte[bufferSize];
+ InputStream in = null;
+ try {
+ in = artifactUrl.openStream();
+ int bytesRead = in.read( buffer );
+ while ( bytesRead != -1 ) {
+ if (dotCount<80) {
+ Console.print(".");
+ dotCount++;
+ } else {
+ dotCount = 0;
+ Console.log(" "+(total/1024)+" KBytes");
+ }
+ out.write( buffer, 0, bytesRead );
+ total += bytesRead;
+ bytesRead = in.read( buffer );
+ }
+ } finally {
+ Console.log("done");
+ if (in!=null) {
+ try {
+ in.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ }
+ }
+
+
+ public String getPath() {
+ return path;
+ }
+ public String getLocalPath() {
+ return localPath;
+ }
+ public String getRemoteUrl() {
+ return remoteUrl;
+ }
+ public Repository getRepository() {
+ return repository;
+ }
+}
Property changes on: projects/bbq/projects/bbq-core/java/org/bbq/system/Artifact.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: projects/bbq/projects/bbq-core/java/org/bbq/system/Path.java
===================================================================
--- projects/bbq/projects/bbq-core/java/org/bbq/system/Path.java 2009-11-02 12:14:39 UTC (rev 5875)
+++ projects/bbq/projects/bbq-core/java/org/bbq/system/Path.java 2009-11-02 20:56:55 UTC (rev 5876)
@@ -43,13 +43,4 @@
}
return absolutePath;
}
-
-// public static String toOsSpecific(String path) {
-// }
-//
-// public static String toGeneric(String path) {
-// }
-//
-// public static String toAbsolute(String path) {
-// }
}
Modified: projects/bbq/projects/bbq-core/java/org/bbq/system/Repository.java
===================================================================
--- projects/bbq/projects/bbq-core/java/org/bbq/system/Repository.java 2009-11-02 12:14:39 UTC (rev 5875)
+++ projects/bbq/projects/bbq-core/java/org/bbq/system/Repository.java 2009-11-02 20:56:55 UTC (rev 5876)
@@ -21,15 +21,7 @@
*/
package org.bbq.system;
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.net.URL;
-
import org.bbq.Bbq;
-import org.bbq.BbqException;
/**
@@ -47,62 +39,17 @@
this.localRepositoryPath = Bbq.properties.getProperty("local.repo.dir")+"/"+name;
}
- public String getArtifactPath(String path) {
- String absoluteArtifactPath = localRepositoryPath+"/"+path;
-
- File artifactFile = new File(absoluteArtifactPath);
- if (!artifactFile.exists()) {
- Console.log("downloading "+path+" from "+name);
-
- // first make sure the directory exists
- int index = absoluteArtifactPath.lastIndexOf('/');
- String artifactDirPath = absoluteArtifactPath.substring(0, index);
- File artifactDir = new File(artifactDirPath);
- artifactDir.mkdirs();
-
- // download the artifact
- try {
- FileOutputStream fileStream = new FileOutputStream(artifactFile);
- URL artifactUrl = new URL(remoteUrl+"/"+path);
- pump(artifactUrl, fileStream);
- } catch (Exception e) {
- throw new BbqException("couldn't fetch repo artifact "+path);
- }
- }
-
- return absoluteArtifactPath;
+ public Artifact getArtifact(String path) {
+ return new Artifact(this, path);
}
- protected void pump(URL artifactUrl, OutputStream out) throws Exception {
- int bufferSize = 1024*10; // 10K
- int total = 0;
- int dotCount = 0;
- byte[] buffer = new byte[bufferSize];
- InputStream in = null;
- try {
- in = artifactUrl.openStream();
- int bytesRead = in.read( buffer );
- while ( bytesRead != -1 ) {
- if (dotCount<80) {
- Console.print(".");
- dotCount++;
- } else {
- dotCount = 0;
- Console.log(" "+(total/1024)+" KBytes");
- }
- out.write( buffer, 0, bytesRead );
- total += bytesRead;
- bytesRead = in.read( buffer );
- }
- } finally {
- Console.log("done");
- if (in!=null) {
- try {
- in.close();
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
- }
+ public String getName() {
+ return name;
}
+ public String getRemoteUrl() {
+ return remoteUrl;
+ }
+ public String getLocalRepositoryPath() {
+ return localRepositoryPath;
+ }
}
Modified: projects/bbq/projects/bbq-test-project/.classpath
===================================================================
--- projects/bbq/projects/bbq-test-project/.classpath 2009-11-02 12:14:39 UTC (rev 5875)
+++ projects/bbq/projects/bbq-test-project/.classpath 2009-11-02 20:56:55 UTC (rev 5876)
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="java"/>
- <classpathentry kind="src" path="build"/>
+ <classpathentry kind="src" output="gen/test-classes" path="test"/>
+ <classpathentry kind="src" output="gen/build-classes" path="build"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry combineaccessrules="false" kind="src" path="/bbq-core"/>
+ <classpathentry kind="lib" path="C:/Documents and Settings/tom/.m2/repository/junit/junit/4.4/junit-4.4.jar"/>
<classpathentry kind="output" path="gen/classes"/>
</classpath>
Modified: projects/bbq/projects/bbq-test-project/build/Build.java
===================================================================
--- projects/bbq/projects/bbq-test-project/build/Build.java 2009-11-02 12:14:39 UTC (rev 5875)
+++ projects/bbq/projects/bbq-test-project/build/Build.java 2009-11-02 20:56:55 UTC (rev 5876)
@@ -1,5 +1,6 @@
import org.bbq.commands.ClassPath;
import org.bbq.commands.Javac;
+import org.bbq.commands.Junit;
import org.bbq.system.Repository;
@@ -30,22 +31,59 @@
*/
public class Build {
- static Repository jbossRepository = new Repository("jboss", "http://repository.jboss.com/maven2/");
+ Repository jbossRepository = new Repository("jboss", "http://repository.jboss.com/maven2/");
+
+ ClassPath compileClassPath = new ClassPath()
+ .add(jbossRepository, "org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.jar");
- public static void compile() {
- ClassPath classPath = new ClassPath()
- .add(jbossRepository, "org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.jar");
-
+ ClassPath testCompileClassPath = new ClassPath()
+ .add(getCompileClassPath())
+ .add(jbossRepository, "junit/junit/4.4/junit-4.4.jar");
+
+ ClassPath testRuntimeClassPath = testCompileClassPath;
+
+ public void compile() {
new Javac()
- .classPath(classPath)
+ .classPath(getCompileClassPath())
.execute();
}
- public static void publish() {
-
+ public void compileTest() {
+ compile();
+ new Javac()
+ .srcDir("test")
+ .destDir("gen/test-classes")
+ .classPath(getTestCompileClassPath())
+ .execute();
}
- public static void test() {
-
+ public void test() {
+ compileTest();
+
+ new Junit()
+ .execute();
}
+
+ public void publish() {
+ }
+
+
+ public ClassPath getCompileClassPath() {
+ if (compileClassPath==null) {
+
+ }
+ return compileClassPath;
+ }
+
+
+ public ClassPath getTestCompileClassPath() {
+ if (testCompileClassPath==null) {
+ }
+ return testCompileClassPath;
+ }
+
+
+ public ClassPath getTestRuntimeClassPath() {
+ return testRuntimeClassPath;
+ }
}
Copied: projects/bbq/projects/bbq-test-project/java/com/myproject/Add.java (from rev 5870, projects/bbq/projects/bbq-test-project/java/com/myproject/Tool.java)
===================================================================
--- projects/bbq/projects/bbq-test-project/java/com/myproject/Add.java (rev 0)
+++ projects/bbq/projects/bbq-test-project/java/com/myproject/Add.java 2009-11-02 20:56:55 UTC (rev 5876)
@@ -0,0 +1,33 @@
+/*
+ * 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 com.myproject;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class Add {
+
+ public int add(int a, int b) {
+ return a+b;
+ }
+}
Property changes on: projects/bbq/projects/bbq-test-project/java/com/myproject/Add.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: projects/bbq/projects/bbq-test-project/java/com/myproject/Tool.java
===================================================================
--- projects/bbq/projects/bbq-test-project/java/com/myproject/Tool.java 2009-11-02 12:14:39 UTC (rev 5875)
+++ projects/bbq/projects/bbq-test-project/java/com/myproject/Tool.java 2009-11-02 20:56:55 UTC (rev 5876)
@@ -1,30 +0,0 @@
-/*
- * 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 com.myproject;
-
-
-/**
- * @author Tom Baeyens
- */
-public class Tool {
-
-}
Added: projects/bbq/projects/bbq-test-project/test/com/myproject/AddTest.java
===================================================================
--- projects/bbq/projects/bbq-test-project/test/com/myproject/AddTest.java (rev 0)
+++ projects/bbq/projects/bbq-test-project/test/com/myproject/AddTest.java 2009-11-02 20:56:55 UTC (rev 5876)
@@ -0,0 +1,34 @@
+/*
+ * 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 com.myproject;
+
+
+/**
+ * @author Tom Baeyens
+ */
+public class AddTest {
+
+ public void testAddition() {
+ Add add = new Add();
+ assertEquals(5, add.add(2, 3));
+ }
+}
Property changes on: projects/bbq/projects/bbq-test-project/test/com/myproject/AddTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 6 months
JBoss JBPM SVN: r5875 - jbpm4/tags/jbpm-4.2/modules/integration/report/src/main/resources.
by do-not-reply@jboss.org
Author: heiko.braun(a)jboss.com
Date: 2009-11-02 07:14:39 -0500 (Mon, 02 Nov 2009)
New Revision: 5875
Modified:
jbpm4/tags/jbpm-4.2/modules/integration/report/src/main/resources/process_summary.rptdesign
jbpm4/tags/jbpm-4.2/modules/integration/report/src/main/resources/specific_system_overview.rptconfig
jbpm4/tags/jbpm-4.2/modules/integration/report/src/main/resources/specific_system_overview.rptdesign
Log:
Fix report template parameter descriptions
Modified: jbpm4/tags/jbpm-4.2/modules/integration/report/src/main/resources/process_summary.rptdesign
===================================================================
--- jbpm4/tags/jbpm-4.2/modules/integration/report/src/main/resources/process_summary.rptdesign 2009-11-02 12:13:39 UTC (rev 5874)
+++ jbpm4/tags/jbpm-4.2/modules/integration/report/src/main/resources/process_summary.rptdesign 2009-11-02 12:14:39 UTC (rev 5875)
@@ -9,10 +9,12 @@
<property name="bidiLayoutOrientation">ltr</property>
<parameters>
<scalar-parameter name="procId" id="42">
+ <text-property name="helpText">Please enter an process definition ID</text-property>
<property name="valueType">static</property>
<property name="dataType">string</property>
<property name="paramType">simple</property>
- <text-property name="promptText">Please enter an process definition ID</text-property>
+ <text-property name="promptText">Process Definition ID</text-property>
+ <property name="concealValue">false</property>
<property name="isRequired">true</property>
<property name="controlType">text-box</property>
<property name="distinct">true</property>
Modified: jbpm4/tags/jbpm-4.2/modules/integration/report/src/main/resources/specific_system_overview.rptconfig
===================================================================
--- jbpm4/tags/jbpm-4.2/modules/integration/report/src/main/resources/specific_system_overview.rptconfig 2009-11-02 12:13:39 UTC (rev 5874)
+++ jbpm4/tags/jbpm-4.2/modules/integration/report/src/main/resources/specific_system_overview.rptconfig 2009-11-02 12:14:39 UTC (rev 5875)
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
-<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.16" id="1">
+<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.17" id="1">
<list-property name="configVars">
<structure>
<property name="name">__isdisplay__startDate_321_0</property>
- <property name="value">2009-08-07</property>
+ <property name="value">2009-10-20</property>
</structure>
<structure>
<property name="name">__isdisplay__endDate_322_1</property>
- <property name="value">2009-09-09</property>
+ <property name="value">2009-10-20</property>
</structure>
<structure>
<property name="name">startDate_321_2</property>
- <property name="value">2009-08-07</property>
+ <property name="value">2009-10-20</property>
</structure>
<structure>
<property name="name">startDate_321_type_</property>
@@ -19,7 +19,7 @@
</structure>
<structure>
<property name="name">endDate_322_3</property>
- <property name="value">2009-09-09</property>
+ <property name="value">2009-10-20</property>
</structure>
<structure>
<property name="name">endDate_322_type_</property>
Modified: jbpm4/tags/jbpm-4.2/modules/integration/report/src/main/resources/specific_system_overview.rptdesign
===================================================================
--- jbpm4/tags/jbpm-4.2/modules/integration/report/src/main/resources/specific_system_overview.rptdesign 2009-11-02 12:13:39 UTC (rev 5874)
+++ jbpm4/tags/jbpm-4.2/modules/integration/report/src/main/resources/specific_system_overview.rptdesign 2009-11-02 12:14:39 UTC (rev 5875)
@@ -36,6 +36,7 @@
<property name="bidiLayoutOrientation">ltr</property>
<parameters>
<scalar-parameter name="startDate" id="321">
+ <text-property name="helpText">(format yyyy-MM-dd)</text-property>
<method name="validate"><![CDATA[importPackage(Packages.java.text);
df = new SimpleDateFormat("yyyy-MM-dd");
@@ -53,7 +54,7 @@
<property name="valueType">static</property>
<property name="dataType">date</property>
<property name="paramType">simple</property>
- <text-property name="promptText">Start date (format yyyy-MM-dd)</text-property>
+ <text-property name="promptText">Start date</text-property>
<property name="concealValue">false</property>
<property name="isRequired">true</property>
<property name="controlType">text-box</property>
@@ -64,6 +65,7 @@
</structure>
</scalar-parameter>
<scalar-parameter name="endDate" id="322">
+ <text-property name="helpText">(format yyyy-MM-dd)</text-property>
<method name="validate"><![CDATA[importPackage(Packages.java.text);
// validate format
@@ -91,7 +93,7 @@
<property name="valueType">static</property>
<property name="dataType">date</property>
<property name="paramType">simple</property>
- <text-property name="promptText">End date (format: yyyy-MM-dd)</text-property>
+ <text-property name="promptText">End Date</text-property>
<property name="isRequired">true</property>
<property name="controlType">text-box</property>
<property name="distinct">true</property>
@@ -102,11 +104,12 @@
</scalar-parameter>
</parameters>
<data-sources>
- <oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="HsqlDB on JBoss" id="248">
- <property name="odaDriverClass">org.hsqldb.jdbcDriver</property>
- <property name="odaURL">jdbc:hsqldb:hsql://localhost:1701</property>
- <property name="odaUser">sa</property>
- <property name="odaJndiName">java:/JbpmDS</property>
+ <oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="MySQL" id="248">
+ <property name="odaDriverClass">com.mysql.jdbc.Driver</property>
+ <property name="odaURL">jdbc:mysql://localhost:3306/jbpmdb</property>
+ <property name="odaUser">jbpm</property>
+ <encrypted-property name="odaPassword" encryptionID="base64">amJwbQ==</encrypted-property>
+ <property name="odaJndiName">java://JbpmDS</property>
</oda-data-source>
</data-sources>
<data-sets>
@@ -144,7 +147,7 @@
</structure>
</list-property>
</structure>
- <property name="dataSource">HsqlDB on JBoss</property>
+ <property name="dataSource">MySQL</property>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
@@ -451,7 +454,7 @@
</structure>
</list-property>
</structure>
- <property name="dataSource">HsqlDB on JBoss</property>
+ <property name="dataSource">MySQL</property>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
@@ -727,7 +730,7 @@
</structure>
</list-property>
</structure>
- <property name="dataSource">HsqlDB on JBoss</property>
+ <property name="dataSource">MySQL</property>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
@@ -835,7 +838,7 @@
</structure>
</list-property>
</structure>
- <property name="dataSource">HsqlDB on JBoss</property>
+ <property name="dataSource">MySQL</property>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
@@ -952,7 +955,7 @@
</structure>
</list-property>
</structure>
- <property name="dataSource">HsqlDB on JBoss</property>
+ <property name="dataSource">MySQL</property>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
14 years, 6 months
JBoss JBPM SVN: r5874 - jbpm4/trunk/modules/integration/report/src/main/resources.
by do-not-reply@jboss.org
Author: heiko.braun(a)jboss.com
Date: 2009-11-02 07:13:39 -0500 (Mon, 02 Nov 2009)
New Revision: 5874
Modified:
jbpm4/trunk/modules/integration/report/src/main/resources/process_summary.rptdesign
jbpm4/trunk/modules/integration/report/src/main/resources/specific_system_overview.rptconfig
jbpm4/trunk/modules/integration/report/src/main/resources/specific_system_overview.rptdesign
Log:
Fix report template parameter descriptions
Modified: jbpm4/trunk/modules/integration/report/src/main/resources/process_summary.rptdesign
===================================================================
--- jbpm4/trunk/modules/integration/report/src/main/resources/process_summary.rptdesign 2009-11-02 10:36:53 UTC (rev 5873)
+++ jbpm4/trunk/modules/integration/report/src/main/resources/process_summary.rptdesign 2009-11-02 12:13:39 UTC (rev 5874)
@@ -9,10 +9,12 @@
<property name="bidiLayoutOrientation">ltr</property>
<parameters>
<scalar-parameter name="procId" id="42">
+ <text-property name="helpText">Please enter an process definition ID</text-property>
<property name="valueType">static</property>
<property name="dataType">string</property>
<property name="paramType">simple</property>
- <text-property name="promptText">Please enter an process definition ID</text-property>
+ <text-property name="promptText">Process Definition ID</text-property>
+ <property name="concealValue">false</property>
<property name="isRequired">true</property>
<property name="controlType">text-box</property>
<property name="distinct">true</property>
Modified: jbpm4/trunk/modules/integration/report/src/main/resources/specific_system_overview.rptconfig
===================================================================
--- jbpm4/trunk/modules/integration/report/src/main/resources/specific_system_overview.rptconfig 2009-11-02 10:36:53 UTC (rev 5873)
+++ jbpm4/trunk/modules/integration/report/src/main/resources/specific_system_overview.rptconfig 2009-11-02 12:13:39 UTC (rev 5874)
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
-<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.16" id="1">
+<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.17" id="1">
<list-property name="configVars">
<structure>
<property name="name">__isdisplay__startDate_321_0</property>
- <property name="value">2009-08-07</property>
+ <property name="value">2009-10-20</property>
</structure>
<structure>
<property name="name">__isdisplay__endDate_322_1</property>
- <property name="value">2009-09-09</property>
+ <property name="value">2009-10-20</property>
</structure>
<structure>
<property name="name">startDate_321_2</property>
- <property name="value">2009-08-07</property>
+ <property name="value">2009-10-20</property>
</structure>
<structure>
<property name="name">startDate_321_type_</property>
@@ -19,7 +19,7 @@
</structure>
<structure>
<property name="name">endDate_322_3</property>
- <property name="value">2009-09-09</property>
+ <property name="value">2009-10-20</property>
</structure>
<structure>
<property name="name">endDate_322_type_</property>
Modified: jbpm4/trunk/modules/integration/report/src/main/resources/specific_system_overview.rptdesign
===================================================================
--- jbpm4/trunk/modules/integration/report/src/main/resources/specific_system_overview.rptdesign 2009-11-02 10:36:53 UTC (rev 5873)
+++ jbpm4/trunk/modules/integration/report/src/main/resources/specific_system_overview.rptdesign 2009-11-02 12:13:39 UTC (rev 5874)
@@ -36,6 +36,7 @@
<property name="bidiLayoutOrientation">ltr</property>
<parameters>
<scalar-parameter name="startDate" id="321">
+ <text-property name="helpText">(format yyyy-MM-dd)</text-property>
<method name="validate"><![CDATA[importPackage(Packages.java.text);
df = new SimpleDateFormat("yyyy-MM-dd");
@@ -53,7 +54,7 @@
<property name="valueType">static</property>
<property name="dataType">date</property>
<property name="paramType">simple</property>
- <text-property name="promptText">Start date (format yyyy-MM-dd)</text-property>
+ <text-property name="promptText">Start date</text-property>
<property name="concealValue">false</property>
<property name="isRequired">true</property>
<property name="controlType">text-box</property>
@@ -64,6 +65,7 @@
</structure>
</scalar-parameter>
<scalar-parameter name="endDate" id="322">
+ <text-property name="helpText">(format yyyy-MM-dd)</text-property>
<method name="validate"><![CDATA[importPackage(Packages.java.text);
// validate format
@@ -91,7 +93,7 @@
<property name="valueType">static</property>
<property name="dataType">date</property>
<property name="paramType">simple</property>
- <text-property name="promptText">End date (format: yyyy-MM-dd)</text-property>
+ <text-property name="promptText">End Date</text-property>
<property name="isRequired">true</property>
<property name="controlType">text-box</property>
<property name="distinct">true</property>
@@ -102,11 +104,12 @@
</scalar-parameter>
</parameters>
<data-sources>
- <oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="HsqlDB on JBoss" id="248">
- <property name="odaDriverClass">org.hsqldb.jdbcDriver</property>
- <property name="odaURL">jdbc:hsqldb:hsql://localhost:1701</property>
- <property name="odaUser">sa</property>
- <property name="odaJndiName">java:/JbpmDS</property>
+ <oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="MySQL" id="248">
+ <property name="odaDriverClass">com.mysql.jdbc.Driver</property>
+ <property name="odaURL">jdbc:mysql://localhost:3306/jbpmdb</property>
+ <property name="odaUser">jbpm</property>
+ <encrypted-property name="odaPassword" encryptionID="base64">amJwbQ==</encrypted-property>
+ <property name="odaJndiName">java://JbpmDS</property>
</oda-data-source>
</data-sources>
<data-sets>
@@ -144,7 +147,7 @@
</structure>
</list-property>
</structure>
- <property name="dataSource">HsqlDB on JBoss</property>
+ <property name="dataSource">MySQL</property>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
@@ -451,7 +454,7 @@
</structure>
</list-property>
</structure>
- <property name="dataSource">HsqlDB on JBoss</property>
+ <property name="dataSource">MySQL</property>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
@@ -727,7 +730,7 @@
</structure>
</list-property>
</structure>
- <property name="dataSource">HsqlDB on JBoss</property>
+ <property name="dataSource">MySQL</property>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
@@ -835,7 +838,7 @@
</structure>
</list-property>
</structure>
- <property name="dataSource">HsqlDB on JBoss</property>
+ <property name="dataSource">MySQL</property>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
@@ -952,7 +955,7 @@
</structure>
</list-property>
</structure>
- <property name="dataSource">HsqlDB on JBoss</property>
+ <property name="dataSource">MySQL</property>
<list-property name="parameters">
<structure>
<property name="name">param_1</property>
14 years, 6 months
JBoss JBPM SVN: r5873 - jbpm4/trunk/modules/distro/src/main/files.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2009-11-02 05:36:53 -0500 (Mon, 02 Nov 2009)
New Revision: 5873
Modified:
jbpm4/trunk/modules/distro/src/main/files/readme.html
Log:
removed JBPM-2559 from the release notes in the readme as that issue was resolved as duplicate
Modified: jbpm4/trunk/modules/distro/src/main/files/readme.html
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/readme.html 2009-10-31 20:17:53 UTC (rev 5872)
+++ jbpm4/trunk/modules/distro/src/main/files/readme.html 2009-11-02 10:36:53 UTC (rev 5873)
@@ -79,8 +79,6 @@
</li>
<li>[<a href='https://jira.jboss.org/jira/browse/JBPM-2554'>JBPM-2554</a>] - jPDL schema does not contain an attribute "description" for the element task
</li>
-<li>[<a href='https://jira.jboss.org/jira/browse/JBPM-2559'>JBPM-2559</a>] - Transitions with timers from a user activity lead to incompleteable and indeleteable tasks
-</li>
<li>[<a href='https://jira.jboss.org/jira/browse/JBPM-2593'>JBPM-2593</a>] - processDefinition.getDescription() does not return the process definition description as defined in the process definition XML file
</li>
<li>[<a href='https://jira.jboss.org/jira/browse/JBPM-2599'>JBPM-2599</a>] - Unable to start new process
14 years, 6 months