JBoss JBPM SVN: r5580 - jbpm4/trunk/qa.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2009-08-28 09:57:09 -0400 (Fri, 28 Aug 2009)
New Revision: 5580
Modified:
jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh
Log:
tomcat driver script: added properties to jbpm install build
Modified: jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh 2009-08-28 13:43:10 UTC (rev 5579)
+++ jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh 2009-08-28 13:57:09 UTC (rev 5580)
@@ -7,7 +7,7 @@
ANT_PROPERTIES="-Djbpm.parent.dir=$WORKSPACE -Djboss.distro.dir=$SOURCE_REPO/jboss -Dtomcat.distro.dir=tomcat.downloads"
mvn -U -Pdistro,integration clean install
-ant -f qa/build.xml reinstall.jbpm
+ant -f qa/build.xml $ANT_PROPERTIES reinstall.jbpm
ant -f qa/build.xml $ANT_PROPERTIES testsuite.tomcat.setup
cd modules/test-cactus
14 years, 8 months
JBoss JBPM SVN: r5577 - in jbpm4/trunk: qa and 1 other directory.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2009-08-28 08:50:53 -0400 (Fri, 28 Aug 2009)
New Revision: 5577
Modified:
jbpm4/trunk/modules/integration/tomcat/
jbpm4/trunk/qa/hudson-jbpm4-tomcat.bat
Log:
tomcat fixes
Property changes on: jbpm4/trunk/modules/integration/tomcat
___________________________________________________________________
Name: svn:ignore
+ target
Modified: jbpm4/trunk/qa/hudson-jbpm4-tomcat.bat
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-tomcat.bat 2009-08-28 12:44:48 UTC (rev 5576)
+++ jbpm4/trunk/qa/hudson-jbpm4-tomcat.bat 2009-08-28 12:50:53 UTC (rev 5577)
@@ -1,12 +1,13 @@
set MAVEN_OPTS=-Xms1024M -Xmx1024M
cmd /C mvn -U -Pdistro,integration clean install
-cmd /C ant -f qa/build.xml tomcat.integration.testsuite.setup
+cmd /C ant -f qa/build.xml reinstall.jbpm
+cmd /C ant -f qa/build.xml testsuite.tomcat.setup
cd modules\test-cactus
cmd /C mvn -Pruntest test
cd ..\..
-cmd /C ant -f qa/build.xml tomcat.integration.testsuite.teardown
+cmd /C ant -f qa/build.xml testsuite.tomcat.teardown
echo
14 years, 8 months
JBoss JBPM SVN: r5576 - jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/ant.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2009-08-28 08:44:48 -0400 (Fri, 28 Aug 2009)
New Revision: 5576
Modified:
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/ant/Launcher.java
jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/ant/StartTomcatTask.java
Log:
moved setting of the environment variable (in the StartTomcatTask) from the ant VM to the new process created in the launcher
Modified: jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/ant/Launcher.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/ant/Launcher.java 2009-08-28 09:37:16 UTC (rev 5575)
+++ jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/ant/Launcher.java 2009-08-28 12:44:48 UTC (rev 5576)
@@ -25,6 +25,8 @@
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
+import java.util.HashMap;
+import java.util.Map;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
@@ -35,6 +37,7 @@
String[] command;
String endMsg;
File dir;
+ Map<String, String> environmentVariables = new HashMap<String, String>();
public Launcher(Task task, String[] command, String endMsg, String dir) {
this.task = task;
@@ -50,10 +53,15 @@
}
try {
task.log("starting '" + logCommand + "'...");
- Process process = new ProcessBuilder(command)
+ ProcessBuilder processBuilder = new ProcessBuilder(command)
.redirectErrorStream(true)
- .directory(dir)
- .start();
+ .directory(dir);
+
+ if (!environmentVariables.isEmpty()) {
+ processBuilder.environment().putAll(environmentVariables);
+ }
+
+ Process process = processBuilder.start();
BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));
String line = "";
@@ -67,4 +75,10 @@
throw new BuildException("couldn't start '" + logCommand + "'", e);
}
}
+
+ public void setEnvironmentVariable(String variableName, String value) {
+ environmentVariables.put(variableName, value);
+ }
+
+
}
Modified: jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/ant/StartTomcatTask.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/ant/StartTomcatTask.java 2009-08-28 09:37:16 UTC (rev 5575)
+++ jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/ant/StartTomcatTask.java 2009-08-28 12:44:48 UTC (rev 5576)
@@ -51,11 +51,9 @@
throw new BuildException( "os '" + os + "' not supported in the start-tomcat task." );
}
- // CATALINA_HOME MUST BE SET for tomcat to boot
- System.setProperty("CATALINA_HOME", getTomcatHome());
-
// launch the command and wait till the END_MESSAGE appears
- Thread launcher = new Launcher(this, command, END_MESSAGE, null);
+ Launcher launcher = new Launcher(this, command, END_MESSAGE, null);
+ launcher.setEnvironmentVariable("CATALINA_HOME", getTomcatHome());
launcher.start();
launcher.join();
14 years, 8 months
JBoss JBPM SVN: r5575 - jbpm4/trunk/qa.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2009-08-28 05:37:16 -0400 (Fri, 28 Aug 2009)
New Revision: 5575
Modified:
jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh
Log:
fixed hudson job driver script for tomcat: added jbpm reinstallation between full build and setup
Modified: jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh 2009-08-28 08:56:01 UTC (rev 5574)
+++ jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh 2009-08-28 09:37:16 UTC (rev 5575)
@@ -7,6 +7,7 @@
ANT_PROPERTIES="-Djbpm.parent.dir=$WORKSPACE -Djboss.distro.dir=$SOURCE_REPO/jboss -Dtomcat.distro.dir=tomcat.downloads"
mvn -U -Pdistro,integration clean install
+ant -f qa/build.xml reinstall.jbpm
ant -f qa/build.xml $ANT_PROPERTIES testsuite.tomcat.setup
cd modules/test-cactus
14 years, 8 months
JBoss JBPM SVN: r5574 - jbpm4/trunk/qa.
by do-not-reply@jboss.org
Author: tom.baeyens(a)jboss.com
Date: 2009-08-28 04:56:01 -0400 (Fri, 28 Aug 2009)
New Revision: 5574
Modified:
jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh
Log:
fixing tomcat qa driver script
Modified: jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh 2009-08-27 23:00:46 UTC (rev 5573)
+++ jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh 2009-08-28 08:56:01 UTC (rev 5574)
@@ -7,10 +7,10 @@
ANT_PROPERTIES="-Djbpm.parent.dir=$WORKSPACE -Djboss.distro.dir=$SOURCE_REPO/jboss -Dtomcat.distro.dir=tomcat.downloads"
mvn -U -Pdistro,integration clean install
-ant -f qa/build.xml $ANT_PROPERTIES tomcat.integration.testsuite.setup
+ant -f qa/build.xml $ANT_PROPERTIES testsuite.tomcat.setup
cd modules/test-cactus
mvn -Pruntest test
cd ../..
-ant -f qa/build.xml $ANT_PROPERTIES tomcat.integration.testsuite.teardown
+ant -f qa/build.xml $ANT_PROPERTIES testsuite.tomcat.teardown
14 years, 8 months
JBoss JBPM SVN: r5573 - jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources.
by do-not-reply@jboss.org
Author: alex.guizar(a)jboss.com
Date: 2009-08-27 19:00:46 -0400 (Thu, 27 Aug 2009)
New Revision: 5573
Modified:
jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/log4j.xml
Log:
[JBPM-1365] Add QA for mssql
reenable SQL log category
Modified: jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/log4j.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/log4j.xml 2009-08-27 22:47:35 UTC (rev 5572)
+++ jbpm3/branches/jbpm-3.2-soa/modules/core/src/test/resources/log4j.xml 2009-08-27 23:00:46 UTC (rev 5573)
@@ -36,11 +36,11 @@
<priority value="INFO" />
</category>
- <!--
<category name="org.hibernate.SQL">
<priority value="DEBUG" />
</category>
+ <!--
<category name="org.hibernate.type">
<priority value="TRACE" />
</category>
14 years, 8 months
JBoss JBPM SVN: r5572 - jbpm4/trunk/modules/distro/src/main/files/examples.
by do-not-reply@jboss.org
Author: jbarrez
Date: 2009-08-27 18:47:35 -0400 (Thu, 27 Aug 2009)
New Revision: 5572
Modified:
jbpm4/trunk/modules/distro/src/main/files/examples/build.xml
Log:
Fix for JBPM-2316: removed the processes which failed in the console
Modified: jbpm4/trunk/modules/distro/src/main/files/examples/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/examples/build.xml 2009-08-27 22:28:33 UTC (rev 5571)
+++ jbpm4/trunk/modules/distro/src/main/files/examples/build.xml 2009-08-27 22:47:35 UTC (rev 5572)
@@ -66,7 +66,12 @@
<exclude name="org/jbpm/examples/eventlistener/process.jpdl.xml" />
<exclude name="org/jbpm/examples/timer/event/process.jpdl.xml" />
<exclude name="org/jbpm/examples/task/assignmenthandler/process.jpdl.xml" />
- <exclude name="org/jbpm/examples/java/JavaInstantiateTest.java" />
+ <exclude name="org/jbpm/examples/java/JavaInstantiateTest.java" />
+ <exclude name="org/jbpm/examples/decision/conditions/process.jpdl.xml" />
+ <exclude name="org/jbpm/examples/decision/expression/process.jpdl.xml" />
+ <exclude name="org/jbpm/examples/java/process.jpdl.xml" />
+ <exclude name="org/jbpm/examples/task/notification process.jpdl.xml" />
+ <exclude name="org/jbpm/examples/task/reminder process.jpdl.xml" />
</fileset>
</jar>
<taskdef name="jbpm-deploy" classname="org.jbpm.pvm.internal.ant.JbpmDeployTask" classpathref="jbpm.libs.incl.dependencies" />
14 years, 8 months
JBoss JBPM SVN: r5571 - in jbpm4/trunk: modules/distro and 2 other directories.
by do-not-reply@jboss.org
Author: jbarrez
Date: 2009-08-27 18:28:33 -0400 (Thu, 27 Aug 2009)
New Revision: 5571
Modified:
jbpm4/trunk/modules/distro/pom.xml
jbpm4/trunk/modules/distro/scripts/assembly-distro.xml
jbpm4/trunk/modules/distro/src/main/files/install/build.xml
jbpm4/trunk/pom.xml
Log:
* Integrated Signavio into jBPM distribution (JBPM-2479)
* Enhanced demo setup on Tomcat
* Fixed bug (JpdlProcessDefinition cannot be cast to List) -> due to examples.jar missing on the classpath.
Modified: jbpm4/trunk/modules/distro/pom.xml
===================================================================
--- jbpm4/trunk/modules/distro/pom.xml 2009-08-27 22:13:23 UTC (rev 5570)
+++ jbpm4/trunk/modules/distro/pom.xml 2009-08-27 22:28:33 UTC (rev 5571)
@@ -144,7 +144,16 @@
<groupId>org.jboss.identity.idm</groupId>
<artifactId>idm-hibernate</artifactId>
</dependency>
+
+ <!-- Signavio -->
+ <dependency>
+ <groupId>org.jbpm.jbpm4.dependencies.signavio</groupId>
+ <artifactId>jbpmeditor</artifactId>
+ <type>war</type>
+ <version>1.0</version>
+ </dependency>
+
<!-- Please sort by groupid -->
<dependency>
<groupId>org.apache.ant</groupId>
Modified: jbpm4/trunk/modules/distro/scripts/assembly-distro.xml
===================================================================
--- jbpm4/trunk/modules/distro/scripts/assembly-distro.xml 2009-08-27 22:13:23 UTC (rev 5570)
+++ jbpm4/trunk/modules/distro/scripts/assembly-distro.xml 2009-08-27 22:28:33 UTC (rev 5571)
@@ -36,7 +36,7 @@
<exclude>org.jbpm.jbpm4:jbpm-distro:jar</exclude>
<exclude>org.jbpm.jbpm4:jbpm-examples:jar</exclude>
<exclude>org.jbpm.jbpm4:jbpm-gpd:zip</exclude>
- <exclude>org.jbpm.jbpm4.dependencies.signavio:signavio:war</exclude>
+ <exclude>org.jbpm.jbpm4.dependencies.signavio:jbpmeditor:war</exclude>
<exclude>org.jbpm.jbpm4:jbpm-test-db:jar</exclude>
</excludes>
<outputDirectory>lib</outputDirectory>
@@ -50,9 +50,9 @@
</dependencySet>
<dependencySet>
<includes>
- <include>org.jbpm.jbpm4.dependencies.signavio:signavio:war</include>
+ <include>org.jbpm.jbpm4.dependencies.signavio:jbpmeditor:war</include>
</includes>
- <outputFileNameMapping>signavio.war</outputFileNameMapping>
+ <outputFileNameMapping>jbpmeditor.war</outputFileNameMapping>
<outputDirectory>install/src/signavio</outputDirectory>
</dependencySet>
</dependencySets>
Modified: jbpm4/trunk/modules/distro/src/main/files/install/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/install/build.xml 2009-08-27 22:13:23 UTC (rev 5570)
+++ jbpm4/trunk/modules/distro/src/main/files/install/build.xml 2009-08-27 22:28:33 UTC (rev 5571)
@@ -24,6 +24,8 @@
<property name="jdbc.properties.dir" value="${install.src.dir}/jdbc" />
<property name="mail.cfg" value="default" />
<property file="${jbpm.home}/install/src/jdbc/${database}.properties" />
+
+ <property name="examples.file" value="${jbpm.home}/examples/target/examples.jar"/>
<property name="tomcat.version" value="6.0.20" />
<property name="tomcat.parent.dir" value="${jbpm.home}" />
@@ -32,6 +34,8 @@
<property name="tomcat.distro.dir" value="downloads" />
<property name="tomcat.distro.url" value="http://www.apache.org/dist/tomcat/tomcat-6/v${tomcat.version}/bin/${tomca..." />
<property name="tomcat.distro.path" value="${tomcat.distro.dir}/${tomcat.filename}" />
+ <property name="tomcat.lib.dir" value="${tomcat.home}/lib" />
+ <property name="tomcat.webapps.dir" value="${tomcat.home}/webapps" />
<property name="hsqldb.server.install.dir" value="${jbpm.home}/hsqldb-server"/>
<property name="hsqldb.server.source.dir" value="${jbpm.home}/install/src/hsqldb-server" />
@@ -46,8 +50,17 @@
<property name="jboss.server.configuration" value="default" />
<property name="jboss.server.config.dir" value="${jboss.home}/server/${jboss.server.configuration}" />
<property name="jboss.server.data.dir" value="${jboss.home}/server/${jboss.server.configuration}/data" />
+ <property name="jboss.server.deploy.dir" value="${jboss.home}/server/${jboss.server.configuration}/deploy" />
- <!-- GENERAL CONDITIONS -->
+ <property name="signavio.war.file.name" value="jbpmeditor.war" />
+ <property name="signavio.src.dir" value="${jbpm.home}/install/src/signavio" />
+ <property name="signavio.repo.dir.name" value="signavio-repository" />
+ <property name="signavio.repo.dir" value="${jbpm.home}/${signavio.repo.dir.name}"/>
+
+ <dirname property="current.dir" file="../jbpm.jar" />
+ <echo message="current dir = ${current.dir}" />
+
+ <!-- GENERAL CONDITIONS -->
<condition property="is.jboss.distro.available">
<available file="${jboss.distro.path}" />
</condition>
@@ -119,18 +132,18 @@
depends="install.jboss, install.jbpm.into.jboss, start.jboss"
description="installs jboss, installs jbpm into jboss, starts jboss, creates the jBPM DB schema, deploys examples, loads example identities, installs and starts eclipse">
<antcall target="create.jbpm.schema" />
- <ant antfile="${jbpm.home}/examples/build.xml" target="create.and.deploy.examples" />
+ <antcall target="install.examples.into.jboss" />
<antcall target="load.example.identities" />
<antcall target="install.eclipse" />
<antcall target="start.eclipse" />
</target>
- <target name="demo.teardown"
+ <target name="demo.teardown.jboss"
description="drops the jbpm db schema and stops jboss">
<ant antfile="${jbpm.home}/db/build.xml" target="drop.jbpm.schema" />
<antcall target="stop.jboss" />
</target>
-
+
<!-- ### CLEAN CONFIGURATION DIR ########################################### -->
<target name="clean.cfg.dir" description="Deletes the ${cfg.dest.dir}">
<delete dir="${cfg.dest.dir}" />
@@ -271,6 +284,9 @@
<include name="gwt-console-rpc.jar" />
</fileset>
</copy>
+
+ <!-- Copy Signavio war into /webapps -->
+ <antcall target="install.signavio.into.jboss" />
<copy todir="${jboss.server.config.dir}/deploy/jbpm" overwrite="true">
<fileset dir="${jbpm.home}/lib">
@@ -327,6 +343,15 @@
<property name="container.lib.dir" value="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" />
<antcall target="internal.copy.database.driver" />
</target>
+
+ <!-- ### INSTALL EXAMPLES INTO JBOSS ################################################ -->
+ <target name="install.examples.into.jboss">
+ <ant antfile="${jbpm.home}/examples/build.xml" target="create.and.deploy.examples" />
+ <mkdir dir="${jboss.server.config.dir}/deploy/jbpm/userlibs" />
+ <copy file="${examples.file}"
+ todir="${jboss.server.config.dir}/deploy/jbpm/userlibs"
+ overwrite="true" />
+ </target>
<!-- ### START JBOSS ################################################### -->
<target name="start.jboss"
@@ -352,6 +377,23 @@
<arg line="-S"/>
</exec>
</target>
+
+ <!-- ### TOMCAT DEMO SETUP ################################################ -->
+ <target name="demo.setup.tomcat"
+ depends="delete.tomcat, install.tomcat, install.jbpm.into.tomcat"
+ description="installs tomcat, installs jbpm into tomcat, starts tomcat, creates the jBPM DB schema, deploys examples, loads example identities, installs and starts eclipse">
+
+ <condition property="hsqldb.needed">
+ <equals arg1="${database}" arg2="hsqldb" />
+ </condition>
+ <antcall target="internal.install.and.start.hqsldb.if.needed" />
+ <antcall target="create.jbpm.schema" />
+ <antcall target="install.examples.into.tomcat" />
+ <antcall target="install.example.identities.into.tomcat" />
+ <antcall target="start.tomcat" />
+ <antcall target="install.eclipse" />
+ <antcall target="start.eclipse" />
+ </target>
<!-- ### REINSTALL TOMCAT ################################################ -->
<target name="reinstall.tomcat"
@@ -395,7 +437,7 @@
<!-- ### INSTALL JBPM INTO TOMCAT ####################################### -->
<target name="install.jbpm.into.tomcat"
depends="create.cfg"
- description="Installs jBPM into tomcat">
+ description="Installs jBPM into tomcat">
<property name="is.tomcat" value="true" />
@@ -446,6 +488,9 @@
</fileset>
</copy>
+ <!-- Copy Signavio war into /webapps -->
+ <antcall target="install.signavio.into.tomcat" />
+
<!-- Rename wars (the context root is configured by WEB-INF/jboss-web.xml,
which is neglected by Tomcat -->
<move file="${tomcat.home}/webapps/gwt-console-jbpm.war" tofile="${tomcat.home}/webapps/jbpm-console.war" />
@@ -463,23 +508,14 @@
</target>
- <!-- ### TOMCAT DEMO SETUP ################################################ -->
- <target name="demo.setup.tomcat"
- depends="install.tomcat, install.jbpm.into.tomcat"
- description="installs tomcat, installs jbpm into tomcat, starts tomcat, creates the jBPM DB schema, deploys examples, loads example identities, installs and starts eclipse">
-
- <condition property="hsqldb.needed">
- <equals arg1="${database}" arg2="hsqldb" />
- </condition>
- <antcall target="internal.install.and.start.hqsldb.if.needed" />
-
- <antcall target="create.jbpm.schema" />
- <ant antfile="${jbpm.home}/examples/build.xml" target="deploy.examples.into.tomcat" />
- <antcall target="install.example.identities.into.tomcat" />
- <antcall target="start.tomcat" />
- <ant antfile="${jbpm.home}/gpd/build.xml" target="install.eclipse" />
- <ant antfile="${jbpm.home}/gpd/build.xml" target="start.eclipse" />
- </target>
+ <!-- ### INSTALL EXAMPLES INTO TOMCAT ################################################ -->
+ <target name="install.examples.into.tomcat"
+ description="deploys all the example processes">
+ <ant antfile="${jbpm.home}/examples/build.xml" target="create.and.deploy.examples" />
+ <copy file="${examples.file}"
+ todir="${tomcat.home}/lib"
+ overwrite="true" />
+ </target>
<!-- ### INSTALL HSQLDB SERVER ################################################ -->
<target name="install.hsqldb.server">
@@ -647,7 +683,7 @@
tofile="${tomcat.home}/conf/server.xml"
overwrite="true">
<filterset filtersfile="${jdbc.properties.dir}/${database}.properties" />
- </copy>
+ </copy>
</target>
<!-- ### START HSQLDB DATABASE MGR ##################################### -->
@@ -669,6 +705,38 @@
<echo message="Copying database driver ${database.driver} to ${database.driver.destination.dir}" />
<copy file="${jbpm.home}/lib/${database.driver}" todir="${database.driver.destination.dir}" />
</target>
+
+ <!-- ### INSTALL SIGNAVIO INTO JBOSS ##################################### -->
+ <target name="install.signavio.into.jboss" depends="internal.set.signavio.repo.dir">
+ <!-- Current version of Signavio needs to be unpacked in /deploy to work correctly -->
+ <unzip src="${signavio.src.dir}/${signavio.war.file.name}" dest="${jboss.server.deploy.dir}/${signavio.war.file.name}" />
+ </target>
+
+ <!-- ### INSTALL SIGNAVIO INTO TOMCAT ##################################### -->
+ <target name="install.signavio.into.tomcat" depends="internal.set.signavio.repo.dir">
+ <copy file="${signavio.src.dir}/${signavio.war.file.name}" todir="${tomcat.webapps.dir}"/>
+ </target>
+
+ <!-- ### SET SIGNAVIO REPO DIR ##################################### -->
+ <target name="internal.set.signavio.repo.dir">
+ <mkdir dir="${jbpm.home}/signavio-repository" />
+
+ <!-- unzip the signavio war -->
+ <property name="temp.signavio.unzip" value="${jbpm.home}/temp-signavio-unzip" />
+ <delete dir="${temp.signavio.unzip}" />
+ <mkdir dir="${temp.signavio.unzip}" />
+ <unzip src="${jbpm.home}/install/src/signavio/${signavio.war.file.name}" dest="${temp.signavio.unzip}" />
+
+ <!-- replace the repo dir in he unzipped WEB-INF/web.xml -->
+ <replaceregexp file="${temp.signavio.unzip}/WEB-INF/web.xml" flags="s"
+ match="<param-name>fileSystemRootDirectory</param-name>.*?<param-value>.*?</param-value>"
+ replace="<param-name>fileSystemRootDirectory</param-name><param-value>${current.dir}/${signavio.repo.dir.name}</param-value>"/>
+
+ <!-- zip it up again and copy it back to /lib-->
+ <zip destfile="${temp.signavio.unzip}/${signavio.war.file.name}" basedir="${temp.signavio.unzip}" />
+ <copy file="${temp.signavio.unzip}/${signavio.war.file.name}" todir="${signavio.src.dir}" overwrite="true"/>
+ <delete dir="${temp.signavio.unzip}" />
+ </target>
<!-- ### INSTALL ECLIPSE ################################################ -->
<target name="install.eclipse"
Modified: jbpm4/trunk/pom.xml
===================================================================
--- jbpm4/trunk/pom.xml 2009-08-27 22:13:23 UTC (rev 5570)
+++ jbpm4/trunk/pom.xml 2009-08-27 22:28:33 UTC (rev 5571)
@@ -65,6 +65,7 @@
<mail.version>1.4.1</mail.version>
<report.engine.version>2.3.2</report.engine.version>
<servlet-api.version>2.5</servlet-api.version>
+ <signavio.jbpmeditor.version>1.0</signavio.jbpmeditor.version>
<spring.version>2.0.8</spring.version>
<stax.api.version>1.0.1</stax.api.version>
<wiser.version>1.2</wiser.version>
@@ -176,21 +177,20 @@
<version>${version}</version>
</dependency>
-
<!-- GWT console -->
<dependency>
<groupId>org.jboss.bpm</groupId>
<artifactId>gwt-console</artifactId>
<version>${gwt.console.version}</version>
<classifier>jbpm</classifier>
- <type>war</type>
+ <type>war</type>
</dependency>
<dependency>
<groupId>org.jboss.bpm</groupId>
<artifactId>gwt-console-server</artifactId>
<version>${gwt.console.version}</version>
<classifier>jbpm</classifier>
- <type>war</type>
+ <type>war</type>
</dependency>
<dependency>
<groupId>org.jboss.bpm</groupId>
@@ -212,6 +212,14 @@
<version>${jbpm.gpd.version}</version>
</dependency>
+ <!-- Signavio editor -->
+ <dependency>
+ <groupId>org.jbpm.jbpm4.dependencies.signavio</groupId>
+ <artifactId>jbpmeditor</artifactId>
+ <type>war</type>
+ <version>${signavio.jbpmeditor.version}</version>
+ </dependency>
+
<!-- External dependencies -->
<!-- Please sort by groupid -->
<dependency>
14 years, 8 months