Skip to Content.
Sympa Menu

notify-dpml - r2061 - trunk

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: davidoff at BerliOS <davidoff AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r2061 - trunk
  • Date: Sat, 24 Oct 2009 14:47:16 +0200

Author: davidoff
Date: 2009-10-24 14:47:15 +0200 (Sat, 24 Oct 2009)
New Revision: 2061

Modified:
trunk/build.xml
Log:
Add NSIS build capability under nix platform (removing W32 dependency of
build and distribution process).

Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2009-10-22 13:55:21 UTC (rev 2060)
+++ trunk/build.xml 2009-10-24 12:47:15 UTC (rev 2061)
@@ -21,6 +21,10 @@
xmlns:x="antlib:dpml.tools">

<property environment="ENV"/>
+
+ <condition property="isWindows" value="true">
+ <os family="windows"/>
+ </condition>

<condition property="nsis.available" value="true">
<isset property="ENV.NSIS_HOME"/>
@@ -65,9 +69,11 @@
<x:replicate self="true" toDir="${share.local}" layout="modern"/>
<x:replicate self="true" toDir="${share.local}" layout="modern"
ref="junit"/>
<x:replicate self="true" toDir="${share.local}" layout="modern"
ref="org/apache/ant"/>
- </target>
+ </target>
+
+ <target name="nsis" depends="nsis.w32,nsis.nix"/>

- <target name="nsis" depends="bundle,replicate" if="nsis.available">
+ <target name="nsis.w32" 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"/>
@@ -82,6 +88,23 @@
</copy>
<echo>Created target/dist/dpml-sdk-win32-${project.version}.exe</echo>
</target>
+
+ <target name="nsis.nix" depends="bundle,replicate" unless="isWindows">
+ <echo>Building NSIS Installer</echo>
+ <exec dir="${basedir}/target/nsi" executable="makensis">
+ <arg value="-oONSIS.LOG"/>
+ <arg value="-v3"/>
+ <arg value="dpml.nsi"/>
+ </exec>
+ <checksum
file="${basedir}/target/nsi/dpml-sdk-win32-${project.version}.exe"
fileext=".md5"/>
+ <copy toDir="${basedir}/target/dist">
+ <fileset dir="${basedir}/target/nsi">
+ <include name="*.exe"/>
+ <include name="*.md5"/>
+ </fileset>
+ </copy>
+ <echo>Created target/dist/dpml-sdk-win32-${project.version}.exe</echo>
+ </target>

<target name="debian" depends="prepare" unless="snapshot">
<echo>Building Debian Installer</echo>




  • r2061 - trunk, davidoff at BerliOS, 10/24/2009

Archive powered by MHonArc 2.6.24.

Top of Page