Author: tom.baeyens(a)jboss.com
Date: 2009-02-27 07:35:18 -0500 (Fri, 27 Feb 2009)
New Revision: 4065
Modified:
jbpm4/tags/jbpm-4.0.0.Alpha2/build.xml
Log:
improved distro install target
Modified: jbpm4/tags/jbpm-4.0.0.Alpha2/build.xml
===================================================================
--- jbpm4/tags/jbpm-4.0.0.Alpha2/build.xml 2009-02-27 12:34:46 UTC (rev 4064)
+++ jbpm4/tags/jbpm-4.0.0.Alpha2/build.xml 2009-02-27 12:35:18 UTC (rev 4065)
@@ -1,28 +1,30 @@
<project name="jbpm4" default="install" basedir=".">
-
- <!-- This ant build only serves as IDE integration to run maven jobs.
- Now in eclipse it's possible to open the ant view and double click
- the targets in this ant build that will just delegate to the maven
- build. Also, if there are html results being produced by a target,
- they are opened in a browser.
- -->
-
- <!-- Overwrite property values in your local
- file ${user.home}/.jbpm4/ant.properties
- -->
- <property file="${user.home}/.jbpm4/ant.properties" />
-
- <property name="mvn.executable" value="mvn.bat" />
-
- <!-- BROWSER PROPERTIES -->
- <!-- <property name="windows.browser" value="C:/Program
Files/Internet Explorer/IEXPLORE.EXE" /> -->
- <property name="windows.browser" value="C:/Program Files/Mozilla
Firefox/firefox.exe" />
- <property name="macos.browser" value="/usr/bin/open" />
- <property name="linux.browser" value="mozilla" />
+
+ <!-- This ant build only serves as IDE integration to run maven jobs.
+ Now in eclipse it's possible to open the ant view and double click
+ the targets in this ant build that will just delegate to the maven
+ build. Also, if there are html results being produced by a target,
+ they are opened in a browser.
+ -->
+
+ <!-- Overwrite property values in your local
+ file ${user.home}/.jbpm4/ant.properties
+ -->
+ <property file="${user.home}/.jbpm4/ant.properties" />
+
+ <property name="mvn.executable" value="mvn.bat" />
+
+ <!-- BROWSER PROPERTIES -->
+ <!-- <property name="windows.browser" value="C:/Program
Files/Internet Explorer/IEXPLORE.EXE" /> -->
+ <property name="windows.browser" value="C:/Program Files/Mozilla
Firefox/firefox.exe" />
+ <property name="macos.browser" value="/usr/bin/open" />
+ <property name="linux.browser" value="mozilla" />
<property name="distro.installation.dir" value="c:/software"
/>
- <property name="distro.version" value="4.0.0-SNAPSHOT" />
+ <property name="distro.version" value="4.0.0.Alpha2" />
+ <property name="distro.jboss.version" value="5.0.0.GA" />
<property name="distro.eclipse"
value="c:/downloads/eclipse/eclipse-jee-ganymede-SR1-win32.zip" />
+ <property name="distro.jboss"
value="c:/downloads/jboss/jboss-${distro.jboss.version}.zip" />
<property name="distro.gef"
value="c:/downloads/eclipse/GEF-runtime-3.4.1.zip" />
<target name="clean">
@@ -32,11 +34,11 @@
</target>
<target name="install">
- <exec executable="${mvn.executable}" os="Windows Vista, Windows
XP,Windows 2000,Windows 98">
+ <exec executable="${mvn.executable}" os="Windows Vista, Windows
XP,Windows 2000,Windows 98">
<arg line="-DskipTests install" />
- </exec>
- </target>
-
+ </exec>
+ </target>
+
<target name="javadoc">
<exec executable="${mvn.executable}" dir="modules/api"
os="Windows Vista, Windows XP,Windows 2000,Windows 98">
<arg line="javadoc:javadoc" />
@@ -65,8 +67,9 @@
</target>
<target name="distro.install" >
- <delete dir="${distro.installation.dir}/jbpm-${distro.version}" />
- <unzip src="modules/distro/target/jbpm-${distro.version}.zip"
dest="${distro.installation.dir}" />
+ <delete dir="${distro.installation.dir}/jbpm-${distro.version}" />
+ <unzip src="${distro.jboss}"
dest="${distro.installation.dir}/jbpm-${distro.version}" />
+ <java jar="modules/distro/target/jbpm-installer-${distro.version}.jar"
fork="true"/>
<unzip src="${distro.eclipse}"
dest="${distro.installation.dir}/jbpm-${distro.version}" />
<exec executable="cmd" os="Windows Vista, Windows XP,Windows
2000,Windows 98">
<arg line="/C start
"${distro.installation.dir}/jbpm-${distro.version}/eclipse/eclipse.exe"
"-data"
"${distro.installation.dir}/jbpm-${distro.version}/workspace""
/>
Show replies by date