Skip to Content.
Sympa Menu

notify-dpml - r1224 - trunk/main

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1224 - trunk/main
  • Date: Sun, 19 Mar 2006 18:00:50 +0100

Author: mcconnell
Date: 2006-03-19 18:00:49 +0100 (Sun, 19 Mar 2006)
New Revision: 1224

Modified:
trunk/main/build.xml
Log:
update the dpml module build to handle the generation of the NSIS installer

Modified: trunk/main/build.xml
===================================================================
--- trunk/main/build.xml 2006-03-18 22:21:35 UTC (rev 1223)
+++ trunk/main/build.xml 2006-03-19 17:00:49 UTC (rev 1224)
@@ -22,6 +22,12 @@
xmlns:x="dpml:depot"
xmlns:c="dpml:metro">

+ <property environment="ENV"/>
+
+ <condition property="nsis.available" value="true">
+ <isset property="ENV.NSIS_HOME"/>
+ </condition>
+
<transit:import uri="local:template:dpml/tools/standard"/>

<target name="prepare" depends="standard.prepare">
@@ -47,7 +53,7 @@

<target name="package"
depends="standard.package,javadoc,checkstyle,junit-report"/>

- <target name="install" depends="standard.install,zip,tar">
+ <target name="install" depends="standard.install,zip,tar,nsis">
<copy todir="${dpml.data}">
<fileset dir="${share}">
<include name="docs/**"/>
@@ -63,6 +69,21 @@
<x:replicate self="true" verbose="false" toDir="${share.local}"
layout="modern"/>
</target>

+ <target name="nsis" depends="bundle,replicate" if="nsis.available">
+ <echo>Building NSIS Installer</echo>
+ <exec os="Windows XP" dir="${basedir}/target/nsi"
executable="makensis.exe">
+ <arg value="/ONSIS.LOG"/>
+ <arg value="dpml.nsi"/>
+ </exec>
+ <copy toDir="${basedir}/target/dist">
+ <fileset dir="${basedir}/target/nsi">
+ <include name="*.exe"/>
+ </fileset>
+ </copy>
+ <checksum
file="${basedir}/target/dist/dpml-sdk-win32-${project.version}.exe"
fileext=".md5"/>
+ <echo>Created target/dist/dpml-sdk-win32-${project.version}.exe</echo>
+ </target>
+
<target name="zip" depends="bundle,replicate" description="Creates a
binary w32 distribution.">
<property name="filename" value="dpml-sdk-win32-${project.version}.zip"/>
<property name="ziploc" location="target/dist"/>




  • r1224 - trunk/main, mcconnell at BerliOS, 03/19/2006

Archive powered by MHonArc 2.6.24.

Top of Page