[jbpm-commits] JBoss JBPM SVN: r3752 - in jbpm4/trunk/hudson: apache-tomcat and 60 other directories.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Feb 3 11:39:36 EST 2009
Author: heiko.braun at jboss.com
Date: 2009-02-03 11:39:36 -0500 (Tue, 03 Feb 2009)
New Revision: 3752
Added:
jbpm4/trunk/hudson/ant.properties.example
jbpm4/trunk/hudson/apache-tomcat/
jbpm4/trunk/hudson/apache-tomcat/conf/
jbpm4/trunk/hudson/apache-tomcat/conf/server.xml
jbpm4/trunk/hudson/apache-tomcat/conf/tomcat-users.xml
jbpm4/trunk/hudson/build.xml
jbpm4/trunk/hudson/hudson-home/
jbpm4/trunk/hudson/hudson-home/command.sh
jbpm4/trunk/hudson/hudson-home/config.xml
jbpm4/trunk/hudson/hudson-home/hudson.tasks.Mailer.xml
jbpm4/trunk/hudson/hudson-home/hudson.tasks.Maven.xml
jbpm4/trunk/hudson/hudson-home/jobs/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/hsqldb/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/hsqldb/axis-jdk/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/hsqldb/axis-jdk/jdk1.5/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/hsqldb/axis-jdk/jdk1.6/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/mysql/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/mysql/axis-jdk/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/mysql/axis-jdk/jdk1.5/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/mysql/axis-jdk/jdk1.5/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/mysql/axis-jdk/jdk1.6/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/mysql/axis-jdk/jdk1.6/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/hsqldb/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/hsqldb/axis-jdk/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/hsqldb/axis-jdk/jdk1.5/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/hsqldb/axis-jdk/jdk1.6/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/mysql/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/mysql/axis-jdk/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/mysql/axis-jdk/jdk1.5/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/mysql/axis-jdk/jdk1.5/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/mysql/axis-jdk/jdk1.6/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/mysql/axis-jdk/jdk1.6/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.5/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/mysql/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.5/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.5/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.6/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.6/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.5/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/mysql/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.5/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.5/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.6/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.6/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.5/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.5/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.5/nextBuildNumber
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.5/svnexternals.txt
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/config.xml
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/configurations/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/configurations/axis-container/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/configurations/axis-container/jboss500/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/configurations/axis-container/jboss500/axis-database/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/configurations/axis-container/jboss500/axis-database/hsqldb/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/
jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml
jbpm4/trunk/hudson/jboss/
jbpm4/trunk/hudson/jboss/bin/
jbpm4/trunk/hudson/jboss/bin/http-spider.sh
jbpm4/trunk/hudson/jboss/bin/jboss.sh
jbpm4/trunk/hudson/jboss/bin/runjboss.sh
jbpm4/trunk/hudson/profiles.xml.local.qa
Log:
Begin work on database matrix for QA environment
Added: jbpm4/trunk/hudson/ant.properties.example
===================================================================
--- jbpm4/trunk/hudson/ant.properties.example (rev 0)
+++ jbpm4/trunk/hudson/ant.properties.example 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,40 @@
+#
+# A sample ant properties file
+#
+# $Id: ant.properties.example 3995 2007-07-26 08:52:45Z thomas.diesler at jboss.com $
+
+# JBoss remote repository
+jboss.repository=http://repository.jboss.org
+
+# The JBoss settings
+jboss.server.instance=default
+jboss.bind.address=127.0.0.1
+
+# JDK settings
+java.home.jdk15=/usr/java/jdk1.5.0_15
+java.home.jdk16=/usr/java/jdk1.6.0_06
+
+# Hudson QA Environment
+hudson.username=changeme
+hudson.password=changeme
+
+hudson.maven.path=/usr/java/apache-maven-2.0.9
+
+hudson.root=/home/hudson/workspace
+
+hudson.maven.profile=$JBPMDIR/hudson/profiles.xml.local.qa
+
+hudson.host=jbpm.dyndns.org
+hudson.admin.port=8150
+hudson.http.port=8180
+
+#hudson.jboss422.zip=file:///home/hudson/download/java/jboss/jboss-4.2.2.GA.zip
+#hudson.jboss423.zip=file:///home/hudson/download/java/jboss/jboss-4.2.3.GA.zip
+#hudson.jboss500.zip=file:///home/hudson/download/java/jboss/jboss-5.0.0.GA.zip
+
+hudson.mail.recipients=
+hudson.smtp.host=localhost
+
+# Hudson (1.270)
+apache-tomcat=5.5.20
+sun-hudson=2402/122511
Added: jbpm4/trunk/hudson/apache-tomcat/conf/server.xml
===================================================================
--- jbpm4/trunk/hudson/apache-tomcat/conf/server.xml (rev 0)
+++ jbpm4/trunk/hudson/apache-tomcat/conf/server.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,57 @@
+
+<Server port="@hudson.admin.port@" shutdown="SHUTDOWN">
+
+ <!-- Comment these entries out to disable JMX MBeans support used for the
+ administration web application -->
+ <Listener className="org.apache.catalina.core.AprLifecycleListener"/>
+ <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
+ <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
+ <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
+
+ <!-- Global JNDI resources -->
+ <GlobalNamingResources>
+
+ <!-- Test entry for demonstration purposes -->
+ <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
+
+ <!-- Editable user database that can also be used by
+ UserDatabaseRealm to authenticate users -->
+ <Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved"
+ factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml"/>
+
+ </GlobalNamingResources>
+
+ <!-- Define the Tomcat Stand-Alone Service -->
+ <Service name="Catalina">
+
+ <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
+ <Connector port="@hudson.http.port@" maxHttpHeaderSize="8192" maxThreads="150"
+ minSpareThreads="25" maxSpareThreads="75"
+ enableLookups="false" redirectPort="8443" acceptCount="100"
+ connectionTimeout="20000" disableUploadTimeout="true"/>
+
+ <!-- Define the top level container in our container hierarchy -->
+ <Engine name="Catalina" defaultHost="localhost">
+
+ <!-- This Realm uses the UserDatabase configured in the global JNDI
+ resources under the key "UserDatabase". Any edits
+ that are performed against this UserDatabase are immediately
+ available for use by the Realm. -->
+ <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/>
+
+ <!-- Define the default virtual host
+ Note: XML Schema validation will not work with Xerces 2.2.
+ -->
+ <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
+
+ <Context path="/hudson">
+ <Environment description="" name="HUDSON_HOME" type="java.lang.String" value="@hudson.home@"/>
+ </Context>
+
+ </Host>
+
+ </Engine>
+
+ </Service>
+
+</Server>
\ No newline at end of file
Added: jbpm4/trunk/hudson/apache-tomcat/conf/tomcat-users.xml
===================================================================
--- jbpm4/trunk/hudson/apache-tomcat/conf/tomcat-users.xml (rev 0)
+++ jbpm4/trunk/hudson/apache-tomcat/conf/tomcat-users.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,5 @@
+<?xml version='1.0' encoding='utf-8'?>
+<tomcat-users>
+ <role rolename="admin"/>
+ <user username="@hudson.username@" password="@hudson.password@" roles="admin"/>
+</tomcat-users>
Added: jbpm4/trunk/hudson/build.xml
===================================================================
--- jbpm4/trunk/hudson/build.xml (rev 0)
+++ jbpm4/trunk/hudson/build.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,208 @@
+<?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: build.xml 3259 2008-12-08 08:42:06Z thomas.diesler at jboss.com $ -->
+
+<project>
+
+ <property name="hudson.dir" value="${basedir}"/>
+ <property name="hudson.target.dir" value="${hudson.dir}/target"/>
+
+ <!-- ================================================================== -->
+ <!-- Initialization -->
+ <!-- ================================================================== -->
+
+ <target name="init">
+ <!-- Check if ant.properties is available -->
+ <available property="ant.properties.available" file="${basedir}/ant.properties"/>
+ <fail message="Cannot find ant.properties. Did you copy/edit ant.properties.example?" unless="ant.properties.available"/>
+
+ <property file="${basedir}/ant.properties"/>
+
+ <xmlproperty file="${basedir}/../pom.xml"/>
+ <property name="version.id" value="${project.version}"/>
+ <property name="repository.id" value="${project.version}"/>
+
+ <echo message="version.id=${version.id}"/>
+ <echo message="repository.id=${repository.id}"/>
+ </target>
+
+ <target name="init-hudson" depends="init">
+ <property name="hudson.base" value="${hudson.root}/jbpm-hudson-${version.id}"/>
+ <property name="hudson.tomcat" value="${hudson.base}/apache-tomcat"/>
+ <property name="hudson.home" value="${hudson.base}/hudson-home"/>
+ <property name="hudson.jboss" value="${hudson.base}/jboss"/>
+
+ <echo/>
+ <echo message="hudson.root = ${hudson.root}"/>
+ <echo message="hudson.home = ${hudson.home}"/>
+ <echo/>
+
+ <available file="${hudson.root}" property="hudson.root.available"/>
+ <available file="${hudson.tomcat}" property="hudson.tomcat.available"/>
+ <fail message="Hudson root not available" unless="hudson.root.available"/>
+
+ <property name="hudson.username.${hudson.username}" value="true"/>
+ <fail message="Cannot use default hudson username: ${hudson.username}" if="hudson.username.changeme"/>
+ <property name="hudson.password.${hudson.password}" value="true"/>
+ <fail message="Cannot use default hudson password: ${hudson.password}" if="hudson.password.changeme"/>
+ </target>
+
+ <target name="init-thirdparty" depends="init-hudson">
+ <property name="thirdparty.dir" value="${hudson.target.dir}/thirdparty"/>
+ <mkdir dir="${thirdparty.dir}"/>
+ <available property="apache.tomcat.available" file="${thirdparty.dir}/apache-tomcat.zip"/>
+ <available property="sun.hudson.available" file="${thirdparty.dir}/hudson.war"/>
+ <available property="jboss422.available" file="${thirdparty.dir}/jboss-4.2.2.GA.zip"/>
+ <available property="jboss423.available" file="${thirdparty.dir}/jboss-4.2.3.GA.zip"/>
+ <available property="jboss500.available" file="${thirdparty.dir}/jboss-5.0.0.GA.zip"/>
+ </target>
+
+ <!--
+ Get thirdparty dependencies
+ -->
+ <target name="thirdparty" depends="init-thirdparty,get-tomcat,get-hudson,get-jboss422,get-jboss423,get-jboss500">
+ <copy todir="${hudson.base}/jboss" file="${thirdparty.dir}/jboss-4.2.2.GA.zip"/>
+ <copy todir="${hudson.base}/jboss" file="${thirdparty.dir}/jboss-4.2.3.GA.zip"/>
+ <copy todir="${hudson.base}/jboss" file="${thirdparty.dir}/jboss-5.0.0.GA.zip"/>
+ </target>
+ <target name="get-tomcat" depends="init-thirdparty" unless="apache.tomcat.available">
+ <get src="${jboss.repository}/apache-tomcat/${apache-tomcat}/lib/apache-tomcat.zip" dest="${thirdparty.dir}/apache-tomcat.zip" usetimestamp="true" verbose="true"/>
+ </target>
+ <target name="get-hudson" depends="init-thirdparty" unless="sun.hudson.available">
+ <get src="https://hudson.dev.java.net/files/documents/${sun-hudson}/hudson.war" dest="${thirdparty.dir}/hudson.war" usetimestamp="true" verbose="true"/>
+ </target>
+ <target name="get-jboss422" depends="init-thirdparty" unless="jboss422.available">
+ <property name="hudson.jboss422.zip" value="http://downloads.sourceforge.net/jboss/jboss-4.2.2.GA.zip"/>
+ <get src="${hudson.jboss422.zip}" dest="${thirdparty.dir}/jboss-4.2.2.GA.zip" usetimestamp="true" verbose="true"/>
+ </target>
+ <target name="get-jboss423" depends="init-thirdparty" unless="jboss423.available">
+ <property name="hudson.jboss423.zip" value="http://downloads.sourceforge.net/jboss/jboss-4.2.3.GA.zip"/>
+ <get src="${hudson.jboss423.zip}" dest="${thirdparty.dir}/jboss-4.2.3.GA.zip" usetimestamp="true" verbose="true"/>
+ </target>
+ <target name="get-jboss500" depends="init-thirdparty" unless="jboss500.available">
+ <property name="hudson.jboss500.zip" value="http://downloads.sourceforge.net/jboss/jboss-5.0.0.GA.zip"/>
+ <get src="${hudson.jboss500.zip}" dest="${thirdparty.dir}/jboss-5.0.0.GA.zip" usetimestamp="true" verbose="true"/>
+ </target>
+
+ <!--
+ Setup the Hudson Tomcat instance
+ -->
+ <target name="hudson-tomcat-setup" depends="thirdparty" unless="hudson.tomcat.available">
+
+ <!-- Install Tomcat -->
+ <mkdir dir="${hudson.root}"/>
+ <unzip src="${thirdparty.dir}/apache-tomcat.zip" dest="${hudson.root}"/>
+ <move file="${hudson.root}/apache-tomcat-${apache-tomcat}" tofile="${hudson.tomcat}"/>
+ <chmod perm="+x">
+ <fileset dir="${hudson.tomcat}/bin">
+ <include name="*.sh"/>
+ </fileset>
+ </chmod>
+
+ <!-- Install Hudson -->
+ <copy todir="${hudson.tomcat}/webapps" file="${thirdparty.dir}/hudson.war"/>
+
+ </target>
+
+ <!--
+ Update the Hudson version
+ -->
+ <target name="hudson-update" depends="init-thirdparty">
+ <get src="https://hudson.dev.java.net/files/documents/${sun-hudson}/hudson.war" dest="${thirdparty.dir}/hudson.war" usetimestamp="false" verbose="true"/>
+ <delete dir="${hudson.tomcat}/webapps/hudson"/>
+ <copy todir="${hudson.tomcat}/webapps" file="${thirdparty.dir}/hudson.war"/>
+ </target>
+
+ <!--
+ Setup the Hudson QA environment
+ -->
+ <target name="hudson-setup" depends="init-hudson,hudson-tomcat-setup" description="Setup the Hudson QA environment">
+
+ <!-- get the svn url -->
+ <exec dir="${hudson.dir}/.." executable="svn" failonerror="true" output="${hudson.target.dir}/svn-info.xml">
+ <arg line="info"/>
+ <arg line="--xml"/>
+ </exec>
+ <xmlproperty file="${hudson.target.dir}/svn-info.xml"/>
+ <property name="hudson.jbpm.url" value="${info.entry.url}"/>
+
+ <!-- Configure Tomcat -->
+ <copy todir="${hudson.tomcat}" overwrite="true">
+ <fileset dir="${hudson.dir}/apache-tomcat">
+ <include name="**/*.xml"/>
+ </fileset>
+ <filterset>
+ <filtersfile file="${hudson.dir}/ant.properties"/>
+ <filter token="hudson.home" value="${hudson.home}"/>
+ </filterset>
+ </copy>
+
+ <!-- Configure Hudson -->
+ <copy todir="${hudson.home}" overwrite="true">
+ <fileset dir="${hudson.dir}/hudson-home">
+ <include name="jobs/*/config.xml"/>
+ <include name="command.sh"/>
+ <include name="*.xml"/>
+ </fileset>
+ <filterset>
+ <filter token="hudson.jbpm.url" value="${hudson.jbpm.url}"/>
+ <filter token="hudson.base" value="${hudson.base}"/>
+ <filter token="hudson.home" value="${hudson.home}"/>
+ <filter token="version.id" value="${version.id}"/>
+ <filtersfile file="${hudson.dir}/ant.properties"/>
+ </filterset>
+ </copy>
+
+ <echo/>
+ <echo message="*************************************"/>
+ <echo message="* Hudson setup successfully *"/>
+ <echo message="* ant hudson-start *"/>
+ <echo message="*************************************"/>
+ <echo/>
+
+ </target>
+
+ <target name="hudson-stop" depends="init-hudson" description="Stops the Hudson QA environment">
+
+ <exec executable="${hudson.tomcat}/bin/catalina.sh" failonerror="true">
+ <arg line="stop"/>
+ </exec>
+
+ <echo/>
+ <echo message="*************************************"/>
+ <echo message="* Hudson stopped successfully *"/>
+ <echo message="* ant hudson-start *"/>
+ <echo message="*************************************"/>
+ <echo/>
+
+ </target>
+
+ <target name="hudson-start" depends="init-hudson" description="Start the Hudson QA environment">
+
+ <property environment="env"/>
+ <fail message="unset JBOSS_REPOSITORY=${env.JBOSS_REPOSITORY}" if="env.JBOSS_REPOSITORY"/>
+
+ <exec executable="${hudson.tomcat}/bin/catalina.sh" failonerror="true" output="${hudson.target.dir}/hudson.log">
+ <env key="CATALINA_OPTS" value="-Xmx512m -Djava.awt.headless=true"/>
+ <arg line="start"/>
+ </exec>
+
+ <echo/>
+ <echo message="*************************************"/>
+ <echo message="* Hudson started successfully *"/>
+ <echo message="* http://localhost:${hudson.http.port}/hudson *"/>
+ <echo message="*************************************"/>
+ <echo/>
+
+ </target>
+
+</project>
Added: jbpm4/trunk/hudson/hudson-home/command.sh
===================================================================
--- jbpm4/trunk/hudson/hudson-home/command.sh (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/command.sh 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,113 @@
+#!/bin/sh
+#
+# A script that uses Maven to build the project and
+# execute its test suite against a given target container
+#
+# $Id: command.sh 3630 2009-01-12 08:55:44Z thomas.diesler at jboss.com $
+
+WORKSPACE=`pwd`
+JBPMDIR=$WORKSPACE/jbpm4
+DISTRODIR=$JBPMDIR/modules/distribution/target
+
+case "$CONTAINER" in
+ jboss422*)
+ JBOSS_BUILD=jboss-4.2.2.GA
+ ;;
+
+ jboss423*)
+ JBOSS_BUILD=jboss-4.2.3.GA
+ ;;
+
+ jboss500*)
+ JBOSS_BUILD=jboss-5.0.0.GA
+ ;;
+esac
+
+#
+# Unzip the JBoss build
+#
+rm -rf $JBOSS_BUILD
+unzip -q $HUDSON_BASE/jboss/$JBOSS_BUILD.zip
+
+JBOSS_HOME=$WORKSPACE/$JBOSS_BUILD
+ENVIRONMENT="-Ddatabase=$DATABASE -Djbpm.target.container=$CONTAINER -Djboss.home=$JBOSS_HOME -Djboss.bind.address=$JBOSS_BINDADDR"
+
+#
+# Build distro
+#
+cd $JBPMDIR
+MVN_CMD="mvn -U $ENVIRONMENT -Pdistro clean install"
+echo $MVN_CMD; $MVN_CMD; MVN_STATUS=$?
+if [ $MVN_STATUS -ne 0 ]; then
+ echo maven exit status $MVN_STATUS
+ exit 1
+fi
+
+#
+# build the tests
+#
+MVN_CMD="mvn -o $ENVIRONMENT process-test-classes"
+echo $MVN_CMD; $MVN_CMD 2>&1; MVN_STATUS=$?
+if [ $MVN_STATUS -ne 0 ]; then
+ echo maven exit status $MVN_STATUS
+ exit 1
+fi
+
+#
+# Deploy distro
+#
+AUTO_INSTALL=modules/distro/target/resources/auto-install-template.xml; cat $AUTO_INSTALL;
+JAVA_CMD="java -jar $DISTRODIR/jbpm-installer-$JBPM_VERSION.jar $AUTO_INSTALL"
+echo $JAVA_CMD; $JAVA_CMD
+
+# FIXME: Autoinstall does not respect conditions
+# http://jira.codehaus.org/browse/IZPACK-153
+rm $JBOSS_HOME/server/$JBOSS_SERVER/deploy/jbpm/jbpm-*-ds.xml
+rm $JBOSS_HOME/server/$JBOSS_SERVER/deploy/jbpm/jbpm-service.sar/hibernate.cfg.xml
+cp $JBOSS_HOME/docs/examples/jbpm/jbpm-$DATABASE-ds.xml $JBOSS_HOME/server/$JBOSS_SERVER/deploy/jbpm/jbpm-$DATABASE-ds.xml
+cp $JBOSS_HOME/docs/examples/jbpm/hibernate.cfg.$DATABASE.xml $JBOSS_HOME/server/$JBOSS_SERVER/deploy/jbpm/jbpm-service.sar/hibernate.cfg.xml
+if [ $CONTAINER = "jboss500" ]; then
+ rm $JBOSS_HOME/server/$JBOSS_SERVER/deploy/jbpm/jbpm-service.sar/slf4j-api.jar
+fi
+
+# FIXME: find out whether jTDS can be made to work with XA data source
+# https://jira.jboss.org/jira/browse/JBPM-1818
+SYBASE_JDBC_DRIVER=~/.m2/repository/com/sybase/jconnect/6.0.5/jconnect-6.0.5.jar
+if [ -f $SYBASE_JDBC_DRIVER ]; then
+ echo "cp $SYBASE_JDBC_DRIVER $JBOSS_HOME/server/$JBOSS_SERVER/deploy/jbpm/jbpm-service.sar"
+ cp $SYBASE_JDBC_DRIVER $JBOSS_HOME/server/$JBOSS_SERVER/deploy/jbpm/jbpm-service.sar
+fi
+
+#
+# start jbossas
+#
+$JBPMDIR/hudson/jboss/bin/jboss.sh $JBOSS_HOME start $JBOSS_BINDADDR
+
+# Was it successfully started?
+$JBPMDIR/hudson/jboss/bin/http-spider.sh $JBOSS_BINDADDR:8080 $WORKSPACE
+if [ -e $WORKSPACE/spider.failed ]; then
+ tail -n 100 $JBOSS_HOME/server/$JBOSS_SERVER/log/server.log
+ $JBPMDIR/hudson/jboss/bin/jboss.sh $JBOSS_HOME stop $JBOSS_BINDADDR
+ exit 1
+fi
+
+#
+# log dependency tree
+#
+MVN_CMD="mvn -o $ENVIRONMENT dependency:tree"
+echo $MVN_CMD; $MVN_CMD | tee $WORKSPACE/dependency-tree.txt
+
+#
+# execute tests
+#
+MVN_CMD="mvn -o -fae $ENVIRONMENT test"
+echo $MVN_CMD; $MVN_CMD 2>&1 | tee $WORKSPACE/tests.log
+cat $WORKSPACE/tests.log | egrep FIXME\|FAILED | sort -u | tee $WORKSPACE/fixme.txt
+cat $WORKSPACE/fixme.txt | egrep "\[\S*]" > $WORKSPACE/errata-$CONTAINER.txt || :
+
+#
+# stop jbossas
+#
+$JBPMDIR/hudson/jboss/bin/jboss.sh $JBOSS_HOME stop
+cp $JBOSS_HOME/server/$JBOSS_SERVER/log/boot.log $WORKSPACE/jboss-boot.log
+cp $JBOSS_HOME/server/$JBOSS_SERVER/log/server.log $WORKSPACE/jboss-server.log
Added: jbpm4/trunk/hudson/hudson-home/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,41 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<hudson>
+ <numExecutors>2</numExecutors>
+ <mode>NORMAL</mode>
+ <useSecurity>true</useSecurity>
+ <authorizationStrategy class="hudson.security.LegacyAuthorizationStrategy"/>
+ <securityRealm class="hudson.security.LegacySecurityRealm"/>
+ <systemMessage>
+
+ <![CDATA[
+ <h2>jBPM- at version.id@ QA Environment</h2>
+
+ <table>
+ <tr align="left"><th>SVN</th><td>@hudson.jbpm.url@</td></tr>
+ <tr align="left"><th>Bind Addr</th><td>@jboss.bind.address@</td></tr>
+ </table>
+]]>
+ </systemMessage>
+ <jdks>
+ <jdk>
+ <name>jdk1.5</name>
+ <javaHome>@java.home.jdk15@</javaHome>
+ </jdk>
+ <jdk>
+ <name>jdk1.6</name>
+ <javaHome>@java.home.jdk16@</javaHome>
+ </jdk>
+ </jdks>
+ <clouds/>
+ <slaves/>
+ <quietPeriod>5</quietPeriod>
+ <views>
+ <hudson.model.AllView>
+ <owner class="hudson" reference="../../.."/>
+ <name>All</name>
+ </hudson.model.AllView>
+ </views>
+ <primaryView>All</primaryView>
+ <slaveAgentPort>0</slaveAgentPort>
+ <label></label>
+</hudson>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/hudson.tasks.Mailer.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/hudson.tasks.Mailer.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/hudson.tasks.Mailer.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<hudson.tasks.Mailer-DescriptorImpl>
+ <defaultSuffix></defaultSuffix>
+ <hudsonUrl>http://localhost:8180/hudson/</hudsonUrl>
+ <adminAddress>thomas.diesler at jboss.com</adminAddress>
+ <smtpHost>localhost</smtpHost>
+</hudson.tasks.Mailer-DescriptorImpl>
Added: jbpm4/trunk/hudson/hudson-home/hudson.tasks.Maven.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/hudson.tasks.Maven.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/hudson.tasks.Maven.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,9 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<hudson.tasks.Maven_-DescriptorImpl>
+ <installations>
+ <hudson.tasks.Maven_-MavenInstallation>
+ <name>apache-maven</name>
+ <mavenHome>/opt/local/share/java/maven2/</mavenHome>
+ </hudson.tasks.Maven_-MavenInstallation>
+ </installations>
+</hudson.tasks.Maven_-DescriptorImpl>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,62 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-project>
+ <actions class="java.util.concurrent.CopyOnWriteArrayList"/>
+ <description></description>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM_-ModuleLocation>
+ <remote>https://svn.jboss.org/repos/jbpm/jbpm4/trunk</remote>
+ <local>jbpm4</local>
+ </hudson.scm.SubversionSCM_-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JbpmSvn/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector">
+ <hudson.triggers.TimerTrigger>
+ <spec>1 3 * * *</spec>
+ </hudson.triggers.TimerTrigger>
+ </triggers>
+ <axes>
+ <axis>
+ <name>database</name>
+ <values>
+ <string>mysql</string>
+ <string>hsqldb</string>
+ </values>
+ </axis>
+ <axis>
+ <name>container</name>
+ <values>
+ <string>jboss422</string>
+ <string>jboss423</string>
+ <string>jboss500</string>
+ </values>
+ </axis>
+ <axis>
+ <name>jdk</name>
+ <values>
+ <string>jdk1.6</string>
+ <string>jdk1.5</string>
+ </values>
+ </axis>
+ </axes>
+ <builders>
+ <hudson.tasks.Shell>
+ <command>/bin/sh ./jbpm4/hudson/jbpm4-base.sh</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers>
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>jbpm4/modules/**/target/surefire-reports/TEST-*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ </publishers>
+ <buildWrappers/>
+</matrix-project>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/mysql/axis-jdk/jdk1.5/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/mysql/axis-jdk/jdk1.5/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/mysql/axis-jdk/jdk1.5/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/mysql/axis-jdk/jdk1.6/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/mysql/axis-jdk/jdk1.6/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss422/axis-database/mysql/axis-jdk/jdk1.6/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/mysql/axis-jdk/jdk1.5/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/mysql/axis-jdk/jdk1.5/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/mysql/axis-jdk/jdk1.5/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/mysql/axis-jdk/jdk1.6/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/mysql/axis-jdk/jdk1.6/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss423/axis-database/mysql/axis-jdk/jdk1.6/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.5/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.5/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.5/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.6/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.6/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.6/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,60 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-project>
+ <actions class="java.util.concurrent.CopyOnWriteArrayList"/>
+ <description></description>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM_-ModuleLocation>
+ <remote>https://svn.jboss.org/repos/jbpm/jbpm4/trunk</remote>
+ <local>jbpm4</local>
+ </hudson.scm.SubversionSCM_-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JbpmSvn/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector">
+ <hudson.triggers.TimerTrigger>
+ <spec>1 4 * * *</spec>
+ </hudson.triggers.TimerTrigger>
+ </triggers>
+ <axes>
+ <axis>
+ <name>database</name>
+ <values>
+ <string>mysql</string>
+ <string>hsqldb</string>
+ </values>
+ </axis>
+ <axis>
+ <name>container</name>
+ <values>
+ <string>jboss500</string>
+ </values>
+ </axis>
+ <axis>
+ <name>jdk</name>
+ <values>
+ <string>jdk1.6</string>
+ <string>jdk1.5</string>
+ </values>
+ </axis>
+ </axes>
+ <builders>
+ <hudson.tasks.Shell>
+ <command>/bin/sh ./jbpm4/hudson/jbpm4-base.sh</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers>
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>jbpm4/modules/**/target/surefire-reports/TEST-*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ </publishers>
+ <buildWrappers/>
+</matrix-project>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.5/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.5/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.5/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.5/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.6/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.6/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/configurations/axis-container/jboss500/axis-database/mysql/axis-jdk/jdk1.6/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.5/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.5/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.5/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,71 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-project>
+ <actions class="java.util.concurrent.CopyOnWriteArrayList"/>
+ <description></description>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM_-ModuleLocation>
+ <remote>https://svn.jboss.org/repos/jbpm/jbpm4/trunk</remote>
+ <local>jbpm4</local>
+ </hudson.scm.SubversionSCM_-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JbpmSvn/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <axes>
+ <axis>
+ <name>database</name>
+ <values>
+ <string>hsqldb</string>
+ </values>
+ </axis>
+ <axis>
+ <name>container</name>
+ <values>
+ <string>jboss500</string>
+ </values>
+ </axis>
+ <axis>
+ <name>jdk</name>
+ <values>
+ <string>jdk1.5</string>
+ </values>
+ </axis>
+ </axes>
+ <builders>
+ <hudson.tasks.Shell>
+ <command>
+WORKSPACE=`pwd`
+JBPMDIR=$WORKSPACE/jbpm4
+
+export HUDSON_BASE=@hudson.base@
+export JBPM_VERSION=@version.id@
+export JBOSS_SERVER=@jboss.server.instance@
+export JBOSS_BINDADDR=@jboss.bind.address@
+
+# copy the maven profile
+cp @hudson.maven.profile@ $JBPMDIR/profiles.xml
+
+#
+# call command.sh
+#
+/bin/sh $JBPMDIR/hudson/hudson-home/command.sh
+
+ </command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers>
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>jbpm4/modules/**/target/surefire-reports/TEST-*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ </publishers>
+ <buildWrappers/>
+</matrix-project>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.5/nextBuildNumber
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.5/nextBuildNumber (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.5/nextBuildNumber 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1 @@
+4
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.5/svnexternals.txt
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.5/svnexternals.txt (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.5/svnexternals.txt 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,2 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<list/>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,54 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-project>
+ <actions class="java.util.concurrent.CopyOnWriteArrayList"/>
+ <description></description>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM_-ModuleLocation>
+ <remote>https://svn.jboss.org/repos/jbpm/jbpm4/trunk</remote>
+ <local>jbpm4</local>
+ </hudson.scm.SubversionSCM_-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JbpmSvn/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <axes>
+ <axis>
+ <name>database</name>
+ <values>
+ <string>hsqldb</string>
+ </values>
+ </axis>
+ <axis>
+ <name>container</name>
+ <values>
+ <string>jboss500</string>
+ </values>
+ </axis>
+ <axis>
+ <name>jdk</name>
+ <values>
+ <string>jdk1.6</string>
+ </values>
+ </axis>
+ </axes>
+ <builders>
+ <hudson.tasks.Shell>
+ <command>/bin/sh ./jbpm4/hudson/jbpm4-base.sh</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers>
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>jbpm4/modules/**/target/surefire-reports/TEST-*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ </publishers>
+ <buildWrappers/>
+</matrix-project>
\ No newline at end of file
Added: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml (rev 0)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/configurations/axis-container/jboss500/axis-database/hsqldb/axis-jdk/jdk1.6/config.xml 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<matrix-config>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.scm.NullSCM"/>
+ <canRoam>false</canRoam>
+ <disabled>false</disabled>
+ <triggers class="vector"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</matrix-config>
\ No newline at end of file
Added: jbpm4/trunk/hudson/jboss/bin/http-spider.sh
===================================================================
--- jbpm4/trunk/hudson/jboss/bin/http-spider.sh (rev 0)
+++ jbpm4/trunk/hudson/jboss/bin/http-spider.sh 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,49 @@
+#!/bin/sh
+
+#############################################################
+#
+# Simple helper that checks if an HTTP host is available.
+# (Relies on wget)
+#
+# Within hudson it can be used to test if the AS instance
+# has successfully booted.
+#
+# @author Heiko.Braun at jboss.com
+#
+# $Id: http-spider.sh 3680 2009-01-20 07:30:46Z thomas.diesler at jboss.com $
+#
+#############################################################
+
+TIMEOUT=2 # wget timeout in sec
+SLEEP_TIME=10 # the actual sleep time in between test
+NUM_RETRIES=18 # equals 180 seconds before exit
+
+if [ "x$1" = "x" -o "x$2" = "x" ]; then
+ echo "Usage: http-spider.sh <hostname:port> <output_dir>"
+fi
+
+# cleanup
+rm $2/spider.success 2&>1 /dev/null
+rm $2/spider.failed 2&>1 /dev/null
+
+which wget > /dev/null
+if [ $? -eq 0 ]; then
+ COUNTER=0
+ while [ $COUNTER -lt $NUM_RETRIES ]; do
+ if wget --spider --timeout=$TIMEOUT --tries=1 $1 &> /dev/null; then
+ touch $2/spider.success
+ echo "Try $COUNTER: '$1' is available" > ./spider.success
+ exit 0
+ else
+ echo "Try $COUNTER: '$1' does not respond, wait another $SLEEP_TIME seconds"
+ fi
+ sleep $SLEEP_TIME
+ let COUNTER=COUNTER+1
+ done
+fi
+
+touch $2/spider.failed
+echo "Unable to connect to $1, exiting..." > spider.failed
+exit 0
+
+
Property changes on: jbpm4/trunk/hudson/jboss/bin/http-spider.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: jbpm4/trunk/hudson/jboss/bin/jboss.sh
===================================================================
--- jbpm4/trunk/hudson/jboss/bin/jboss.sh (rev 0)
+++ jbpm4/trunk/hudson/jboss/bin/jboss.sh 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+PROGNAME=`basename $0`
+DIRNAME=`dirname $0`
+JBOSS_HOME="$1"
+BINDADDR="$3"
+CMD="$2"
+
+export JBOSS_HOME
+
+#
+# Helper to complain.
+#
+warn() {
+ echo "$PROGNAME: $*"
+}
+
+if [ ! -f "$JBOSS_HOME/bin/run.sh" ]; then
+ warn "Cannot find: $JBOSS_HOME/bin/run.sh"
+ exit 1
+fi
+
+case "$CMD" in
+start)
+ # This version of run.sh obtains the pid of the JVM and saves it as jboss.pid
+ # It relies on bash specific features
+ # Do you want to hide jboss output?
+ /bin/bash $DIRNAME/runjboss.sh -b $BINDADDR &
+ ;;
+stop)
+ pidfile="$JBOSS_HOME/bin/jboss.pid"
+ if [ -f "$pidfile" ]; then
+ pid=`cat "$pidfile"`
+ echo "kill pid: $pid"
+ kill $pid
+ if [ "$?" -eq 0 ]; then
+ # process exists, wait for it to die, and force if not
+ sleep 20
+ kill -9 $pid &> /dev/null
+ fi
+ rm "$pidfile"
+ else
+ warn "No pid found, using shutdown"
+ $JBOSS_HOME/bin/shutdown.sh -S > /dev/null &
+ fi
+ ;;
+restart)
+ $0 stop
+ $0 start
+ ;;
+*)
+ echo "usage: $0 jboss_instance (start|stop|restart|help)"
+esac
Property changes on: jbpm4/trunk/hudson/jboss/bin/jboss.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: jbpm4/trunk/hudson/jboss/bin/runjboss.sh
===================================================================
--- jbpm4/trunk/hudson/jboss/bin/runjboss.sh (rev 0)
+++ jbpm4/trunk/hudson/jboss/bin/runjboss.sh 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,149 @@
+#!/bin/bash
+### ====================================================================== ###
+## ##
+## JBoss Bootstrap Script ##
+## ##
+### ====================================================================== ###
+
+### $Id: runjboss.sh 1435 2008-07-01 12:26:28Z thomas.diesler at jboss.com $ ###
+
+DIRNAME=`dirname $0`
+PROGNAME=`basename $0`
+GREP="grep"
+
+# Use the maximum available, or set MAX_FD != -1 to use that
+MAX_FD="maximum"
+
+#
+# Helper to complain.
+#
+warn() {
+ echo "${PROGNAME}: $*"
+}
+
+#
+# Helper to puke.
+#
+die() {
+ warn $*
+ exit 1
+}
+
+# Setup JBOSS_HOME
+if [ "x$JBOSS_HOME" = "x" ]; then
+ # get the full path (without any relative bits)
+ JBOSS_HOME=`cd $DIRNAME/..; pwd`
+fi
+export JBOSS_HOME
+
+# Read an optional running configuration file
+if [ "x$RUN_CONF" = "x" ]; then
+ RUN_CONF="$JBOSS_HOME/bin/run.conf"
+fi
+if [ -r "$RUN_CONF" ]; then
+ . "$RUN_CONF"
+fi
+
+# Setup the JVM
+if [ "x$JAVA" = "x" ]; then
+ if [ "x$JAVA_HOME" != "x" ]; then
+ JAVA="$JAVA_HOME/bin/java"
+ else
+ JAVA="java"
+ fi
+fi
+
+# Setup the classpath
+runjar="$JBOSS_HOME/bin/run.jar"
+if [ ! -f "$runjar" ]; then
+ die "Missing required file: $runjar"
+fi
+JBOSS_BOOT_CLASSPATH="$runjar"
+
+# Include the JDK javac compiler for JSP pages. The default is for a Sun JDK
+# compatible distribution which JAVA_HOME points to
+if [ "x$JAVAC_JAR" = "x" ]; then
+ JAVAC_JAR="$JAVA_HOME/lib/tools.jar"
+fi
+if [ ! -f "$JAVAC_JAR" ]; then
+ warn "Missing file: $JAVAC_JAR"
+ warn "Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE."
+fi
+
+if [ "x$JBOSS_CLASSPATH" = "x" ]; then
+ JBOSS_CLASSPATH="$JBOSS_BOOT_CLASSPATH:$JAVAC_JAR"
+else
+ JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_BOOT_CLASSPATH:$JAVAC_JAR"
+fi
+
+# If -server not set in JAVA_OPTS, set it, if supported
+SERVER_SET=`echo $JAVA_OPTS | $GREP "\-server"`
+if [ "x$SERVER_SET" = "x" ]; then
+
+ # Check for SUN(tm) JVM w/ HotSpot support
+ if [ "x$HAS_HOTSPOT" = "x" ]; then
+ HAS_HOTSPOT=`"$JAVA" -version 2>&1 | $GREP -i HotSpot`
+ fi
+
+ # Enable -server if we have Hotspot, unless we can't
+ if [ "x$HAS_HOTSPOT" != "x" ]; then
+ JAVA_OPTS="-server $JAVA_OPTS"
+ fi
+fi
+
+# Setup JBosst Native library path
+JBOSS_NATIVE_DIR="$JBOSS_HOME/bin/native"
+if [ -d "$JBOSS_NATIVE_DIR" ]; then
+ if [ "x$LD_LIBRARY_PATH" = "x" ]; then
+ LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR"
+ else
+ LD_LIBRARY_PATH="$JBOSS_NATIVE_DIR:$LD_LIBRARY_PATH"
+ fi
+ export LD_LIBRARY_PATH
+ if [ "x$JAVA_OPTS" = "x" ]; then
+ JAVA_OPTS="-Djava.library.path=$JBOSS_NATIVE_DIR"
+ else
+ JAVA_OPTS="$JAVA_OPTS -Djava.library.path=$JBOSS_NATIVE_DIR"
+ fi
+fi
+
+#JPDA options. Uncomment and modify as appropriate to enable remote debugging .
+#JAVA_OPTS="-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n $JAVA_OPTS"
+
+# Setup JBoss sepecific properties
+JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS"
+
+# Setup the java endorsed dirs
+JBOSS_ENDORSED_DIRS="$JBOSS_HOME/lib/endorsed"
+
+# Display our environment
+echo "========================================================================="
+echo ""
+echo " JBoss Bootstrap Environment"
+echo ""
+echo " JBOSS_HOME: $JBOSS_HOME"
+echo ""
+echo " JAVA: $JAVA"
+echo ""
+echo " JAVA_OPTS: $JAVA_OPTS"
+echo ""
+echo " CLASSPATH: $JBOSS_CLASSPATH"
+echo ""
+echo "========================================================================="
+echo ""
+# enable monitor mode (job control needed)
+set -m
+STATUS=10
+while [ $STATUS -eq 10 ]
+do
+# Execute the JVM
+ "$JAVA" $JAVA_OPTS \
+ -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
+ -classpath "$JBOSS_CLASSPATH" \
+ org.jboss.Main "$@" &> /dev/null &
+ echo $! > $JBOSS_HOME/bin/jboss.pid
+ fg
+ STATUS=$?
+ # if it doesn't work, you may want to take a look at this:
+ # http://developer.java.sun.com/developer/bugParade/bugs/4465334.html
+done
Property changes on: jbpm4/trunk/hudson/jboss/bin/runjboss.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: jbpm4/trunk/hudson/profiles.xml.local.qa
===================================================================
--- jbpm4/trunk/hudson/profiles.xml.local.qa (rev 0)
+++ jbpm4/trunk/hudson/profiles.xml.local.qa 2009-02-03 16:39:36 UTC (rev 3752)
@@ -0,0 +1,97 @@
+<profilesXml 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/xsd/profiles-1.0.0.xsd">
+
+ <profiles>
+
+ <!-- This profile can also be defined in ~/.m2/settings.xml -->
+
+ <profile>
+ <id>jboss-home-profile</id>
+ <activation>
+ <property>
+ <name>user.name</name>
+ </property>
+ </activation>
+ <properties>
+
+ <!--
+ JBOSS_HOME FOR INTEGRATION TESTS
+
+
+ <jboss422.home>/Users/hbraun/dev/prj/jboss/tags/JBoss_4_2_2_GA/build/output/jboss-4.2.2.GA</jboss422.home>
+ <jboss423.home>/Users/hbraun/dev/prj/jboss/tags/JBoss_4_2_3_GA/build/output/jboss-4.2.3.GA</jboss423.home>
+ <jboss500.home>/Users/hbraun/dev/prj/jboss/tags/JBoss_5_0_0_GA/build/output/jboss-5.0.0.GA</jboss500.home>
+ -->
+ <!--
+ DEFAULT CONNECTION SETTINGS FOR THE JBPM QA ENV
+ -->
+
+ <jdbc.hsql.server>localhost</jdbc.hsql.server>
+ <jdbc.hsql.port>3306</jdbc.hsql.port>
+ <jdbc.hsql.database>jbpmtest</jdbc.hsql.database>
+ <jdbc.hsql.url>jdbc:hsqldb:mem:.</jdbc.hsql.url>
+ <jdbc.hsql.username>sa</jdbc.hsql.username>
+ <jdbc.hsql.password></jdbc.hsql.password>
+
+ <jdbc.mysql.server>localhost</jdbc.mysql.server>
+ <jdbc.mysql.port>3306</jdbc.mysql.port>
+ <jdbc.mysql.database>jbpm4</jdbc.mysql.database>
+ <jdbc.mysql.url>jdbc:mysql://${jdbc.mysql.server}:${jdbc.mysql.port}/${jdbc.mysql.database}</jdbc.mysql.url>
+ <jdbc.mysql.username>jbpmtest</jdbc.mysql.username>
+ <jdbc.mysql.password></jdbc.mysql.password>
+
+ <jdbc.postgresql.server>localhost</jdbc.postgresql.server>
+ <jdbc.postgresql.port>5432</jdbc.postgresql.port>
+ <jdbc.postgresql.database>jbpm4</jdbc.postgresql.database>
+ <jdbc.postgresql.url>jdbc:postgresql://${jdbc.postgresql.server}:${jdbc.postgresql.port}/${jdbc.postgresql.database}</jdbc.postgresql.url>
+ <jdbc.postgresql.username>jbpmtest</jdbc.postgresql.username>
+ <jdbc.postgresql.password></jdbc.postgresql.password>
+
+ <jdbc.sybase.server>localhost</jdbc.sybase.server>
+ <jdbc.sybase.port>5000</jdbc.sybase.port>
+ <jdbc.sybase.database>jbpm4</jdbc.sybase.database>
+ <jdbc.sybase.url>jdbc:sybase:Tds:${jdbc.sybase.server}:${jdbc.sybase.port}/${jdbc.sybase.database}</jdbc.sybase.url>
+ <jdbc.sybase.username>jbpmtest</jdbc.sybase.username>
+ <jdbc.sybase.password>jbpmtest</jdbc.sybase.password>
+ <jdbc.sybase.driver>com.sybase.jdbc3.jdbc.SybDriver</jdbc.sybase.driver>
+ <jdbc.sybase.datasource>com.sybase.jdbc3.jdbc.SybXADataSource</jdbc.sybase.datasource>
+
+ </properties>
+ </profile>
+
+ <profile>
+ <id>oracle-private-properties</id>
+ <activation>
+ <property>
+ <name>database</name>
+ <value>oracle</value>
+ </property>
+ </activation>
+ <properties>
+ <jdbc.username>xxxx</jdbc.username>
+ <jdbc.password>xxxx</jdbc.password>
+ <jdbc.server>localhost</jdbc.server>
+ <jdbc.dbname>XE</jdbc.dbname>
+ </properties>
+ </profile>
+
+ <profile>
+ <id>mysql-private-properties</id>
+ <activation>
+ <property>
+ <name>database</name>
+ <value>mysql</value>
+ </property>
+ </activation>
+ <properties>
+ <jdbc.username>xxxx</jdbc.username>
+ <jdbc.password>xxxx</jdbc.password>
+ <jdbc.server>localhost</jdbc.server>
+ <jdbc.dbname>JBPM</jdbc.dbname>
+ </properties>
+ </profile>
+
+ </profiles>
+
+</profilesXml>
More information about the jbpm-commits
mailing list