[jbpm-commits] JBoss JBPM SVN: r4761 - in jbpm4/trunk: modules/distro/src/main/files/jboss and 3 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu May 7 12:08:11 EDT 2009


Author: tom.baeyens at jboss.com
Date: 2009-05-07 12:08:10 -0400 (Thu, 07 May 2009)
New Revision: 4761

Added:
   jbpm4/trunk/qa/test.demo.setup.bat
   jbpm4/trunk/qa/test.demo.setup.sh
Removed:
   jbpm4/trunk/qa/manual.testrun.setup.bat
   jbpm4/trunk/qa/manual.testrun.setup.sh
Modified:
   jbpm4/trunk/modules/distro/src/main/files/gpd/build.xml
   jbpm4/trunk/modules/distro/src/main/files/jboss/build.xml
   jbpm4/trunk/modules/integration/form-plugin/
   jbpm4/trunk/modules/userguide/src/main/docbook/en/modules/ch02-Installation.xml
   jbpm4/trunk/qa/build.xml
Log:
moved demo.setup from qa to distribution

Modified: jbpm4/trunk/modules/distro/src/main/files/gpd/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/gpd/build.xml	2009-05-07 14:14:42 UTC (rev 4760)
+++ jbpm4/trunk/modules/distro/src/main/files/gpd/build.xml	2009-05-07 16:08:10 UTC (rev 4761)
@@ -36,6 +36,7 @@
 	<target name="get.eclipse" 
 		      unless="is.eclipse.distro.available"
 		      description="downloads eclipse to ${eclipse.distro.dir}">
+    <mkdir dir="${eclipse.distro.dir}" />
 		<get src="${eclipse.distro.url}" dest="${eclipse.distro.path}" />
 	</target>
 

Modified: jbpm4/trunk/modules/distro/src/main/files/jboss/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/jboss/build.xml	2009-05-07 14:14:42 UTC (rev 4760)
+++ jbpm4/trunk/modules/distro/src/main/files/jboss/build.xml	2009-05-07 16:08:10 UTC (rev 4761)
@@ -46,6 +46,23 @@
     </or>
   </condition>
 
+  <!-- ### DEMO SETUP ##################################################### -->
+  <target name="demo.setup" 
+          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">
+    <ant antfile="${jbpm.home}/db/build.xml" target="create.jbpm.schema" />
+    <ant antfile="${jbpm.home}/examples/build.xml" target="deploy.examples" />
+    <ant antfile="${jbpm.home}/db/build.xml" target="load.example.identities" />
+    <ant antfile="${jbpm.home}/gpd/build.xml" target="install.eclipse" />
+    <ant antfile="${jbpm.home}/gpd/build.xml" target="start.eclipse" />
+  </target>
+
+  <target name="demo.teardown" 
+          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>
+
   <!-- ### REINSTALL JBOSS ################################################ -->
   <target name="reinstall.jboss" 
           depends="log.properties, delete.jboss.installation, install.jboss" 
@@ -74,6 +91,7 @@
   <target name="get.jboss" 
   	      unless="is.jboss.distro.available"
   	      description="downloads jboss into ${jboss.distro.dir}">
+  	<mkdir dir="${jboss.distro.dir}" />
     <get src="${jboss.distro.url}" dest="${jboss.distro.path}" />
   </target>
 


Property changes on: jbpm4/trunk/modules/integration/form-plugin
___________________________________________________________________
Name: svn:ignore
   + target


Modified: jbpm4/trunk/modules/userguide/src/main/docbook/en/modules/ch02-Installation.xml
===================================================================
--- jbpm4/trunk/modules/userguide/src/main/docbook/en/modules/ch02-Installation.xml	2009-05-07 14:14:42 UTC (rev 4760)
+++ jbpm4/trunk/modules/userguide/src/main/docbook/en/modules/ch02-Installation.xml	2009-05-07 16:08:10 UTC (rev 4761)
@@ -5,23 +5,11 @@
   application environments.
   </para>
 
-  <section id="runningtheinstaller">
-    <title>Running the installer</title>
-    <para>Start the installer on a command line like this:</para>
-    <programlisting>java -jar jbpm-installer-${version}.jar</programlisting>
-    <para>The installer has 2 purposes
+  <section id="thedistribution">
+    <title>The distribution</title>
+    <para>Just unzip the jBPM download to some location on your hard drive.
+    You'll see following subdirectories.
     </para>
-    <itemizedlist>
-      <listitem>Install jBPM on your system.  This includes the
-      jBPM jars, jBPM sources, third party jars, docs, examples, 
-      db scripts and more.  This contains all you need to get 
-      going with jBPM in your application.
-      </listitem>
-      <listitem>Install jBPM into JBoss,  this part can install jBPM
-      into a JBoss server.  JBoss will be deployed as a service and 
-      be accessible to all applications running on it. 
-      </listitem>
-    </itemizedlist>
   </section>
 
   <section id="libraries">

Modified: jbpm4/trunk/qa/build.xml
===================================================================
--- jbpm4/trunk/qa/build.xml	2009-05-07 14:14:42 UTC (rev 4760)
+++ jbpm4/trunk/qa/build.xml	2009-05-07 16:08:10 UTC (rev 4761)
@@ -75,19 +75,4 @@
     <ant antfile="${jbpm.home}/jboss/build.xml" target="stop.jboss" />
   </target>
 
-  <target name="manual.testrun.setup" 
-  	      depends="log.properties, integration.testrun.setup"
-  	      description="full integration testrun setup, deploys the examples, loads the identities, installs eclipse and then starts eclipse">
-    <ant antfile="${jbpm.home}/examples/build.xml" target="deploy.examples" />
-    <ant antfile="${jbpm.home}/db/build.xml" target="load.example.identities" />
-    <ant antfile="${jbpm.home}/gpd/build.xml" target="install.eclipse" />
-    <ant antfile="${jbpm.home}/gpd/build.xml" target="start.eclipse" />
-  </target>
-
-  <target name="manual.testrun.teardown" 
-  	      depends="log.properties"
-  	      description="stops jboss">
-    <ant antfile="${jbpm.home}/jboss/build.xml" target="stop.jboss" />
-	</target>
-
 </project>

Deleted: jbpm4/trunk/qa/manual.testrun.setup.bat
===================================================================
--- jbpm4/trunk/qa/manual.testrun.setup.bat	2009-05-07 14:14:42 UTC (rev 4760)
+++ jbpm4/trunk/qa/manual.testrun.setup.bat	2009-05-07 16:08:10 UTC (rev 4761)
@@ -1,2 +0,0 @@
-cmd /C mvn -U -Pdistro clean install
-cmd /C ant -f qa/build.xml manual.testrun.setup

Deleted: jbpm4/trunk/qa/manual.testrun.setup.sh
===================================================================
--- jbpm4/trunk/qa/manual.testrun.setup.sh	2009-05-07 14:14:42 UTC (rev 4760)
+++ jbpm4/trunk/qa/manual.testrun.setup.sh	2009-05-07 16:08:10 UTC (rev 4761)
@@ -1,3 +0,0 @@
-set MAVEN_OPTS=-Xms1024M -Xmx1024M
-mvn -U -Pdistro clean install
-ant -f qa/build.xml manual.testrun.setup

Copied: jbpm4/trunk/qa/test.demo.setup.bat (from rev 4757, jbpm4/trunk/qa/manual.testrun.setup.bat)
===================================================================
--- jbpm4/trunk/qa/test.demo.setup.bat	                        (rev 0)
+++ jbpm4/trunk/qa/test.demo.setup.bat	2009-05-07 16:08:10 UTC (rev 4761)
@@ -0,0 +1,4 @@
+echo To run this, make sure that at least you have jbpm.parent.dir specified in your ${user.home}/.jbpm4/build.properties
+cmd /C mvn -U -Pdistro clean install
+cmd /C ant -f qa/build.xml reinstall.jbpm
+cmd /C ant -f modules/distro/src/main/files/jboss/build.xml demo.setup

Copied: jbpm4/trunk/qa/test.demo.setup.sh (from rev 4757, jbpm4/trunk/qa/manual.testrun.setup.sh)
===================================================================
--- jbpm4/trunk/qa/test.demo.setup.sh	                        (rev 0)
+++ jbpm4/trunk/qa/test.demo.setup.sh	2009-05-07 16:08:10 UTC (rev 4761)
@@ -0,0 +1,3 @@
+set MAVEN_OPTS=-Xms1024M -Xmx1024M
+mvn -U -Pdistro clean install
+ant -f qa/build.xml manual.testrun.setup




More information about the jbpm-commits mailing list