List hates me that is why I am sending to you guys
--
Kind Regards
Clint Lewis
(attachments)
Ant Release-All create win installer (827 Bytes)
List hates me that is why I am sending to you guys
--
Kind Regards
Clint Lewis
Ant Release-All create win installer (827 Bytes)
Hi Clint,
It shouldn't be commented out.
release-binary needs to be called first, as the installer will use those files to build itself. It will need the same version number in the .nsi script. You also need a NSIS_PATH environment variable set that points to your NSIS install directory.
Here is the snippit from my build file:
<!-- HOW TO RUN -->
<!-- Set up an environment variable called NSIS_PATH that points to your NSIS -->
<!-- install directory. "eg: C:\NSIS" -->
<!-- You can download Nullsoft Scriptable Install System -->
<!-- here: http://nsis.sourceforge.net/-->
<target name="release-installer-win">
<delete dir="${dir.build}/installer"/>
<mkdir dir="${dir.build}/installer" />
<gunzip src="${dir.release}/geoserver-${name.release}-bin.tar.gz" dest="${dir.build}/installer" />
<untar src="${dir.build}/installer/geoserver-${name.release}-bin.tar" dest="${dir.build}/installer"/>
<copy file="${dir.documents}/geoserver.nsi" todir="${dir.build}/installer/geoserver" />
<copy file="${dir.documents}/dataDirPage.ini" todir="${dir.build}/installer/geoserver" />
<copy file="${dir.documents}/splash.bmp" todir="${dir.build}/installer/geoserver" />
<copy file="${dir.documents}/license.txt" todir="${dir.build}/installer/geoserver" />
<copy file="${dir.documents}/README.txt" todir="${dir.build}/installer/geoserver" />
<copy file="${dir.documents}/RUNNING.txt" todir="${dir.build}/installer/geoserver" />
<property environment="env"/>
<exec executable="${env.NSIS_PATH}/makensis.exe">
<arg line="${dir.build}/installer/geoserver/geoserver.nsi"/>
</exec>
<!-- copy over the exe to release, the NSI script needs the OutFile variable changed to match
the version number. -->
<echo>If you get an error here, you need to edit the geoserver.nsi file and edit the variable "OutFile" to match the version number.</echo>
<copy file="${dir.build}/installer/geoserver/geoserver-${name.release}.exe" todir="${dir.release}" />
<delete dir="${dir.build}/installer"/>
</target>
Brent Owens
(The Open Planning Project)
Clint Lewis wrote:
List hates me that is why I am sending to you guys
------------------------------------------------------------------------
Subject:
Ant Release-All create win installer
From:
Clint Lewis <louiecw@anonymised.com>
Date:
Tue, 06 Jun 2006 11:10:56 +0200
To:
Geoserver-devel <geoserver-devel@lists.sourceforge.net>To:
Geoserver-devel <geoserver-devel@lists.sourceforge.net>Hi,
The ant release-all does not create a windows installer because the antcall to release-installer-win has been commented out. Can anyone tell me why. According to the docs ( http://docs.codehaus.org/display/GEOSDOC/Release+Guide ) ant release-all command should build your windows installer which it now does not, so do we change the release guide or do we uncomment what is commented out.
Hi Brent
The release-installer-win was commented out of the release-all target? The target release-installer-win does exists in the build ant script, this is not the problem?
<target name="release-all" depends="release-common, release-binary,release-war, release-src" >
<!--antcall target="release-installer-win"/>
<delete dir="${dir.build}/installer"/-->
</target>
Brent Owens wrote:
Hi Clint,
It shouldn't be commented out.
release-binary needs to be called first, as the installer will use those files to build itself. It will need the same version number in the .nsi script. You also need a NSIS_PATH environment variable set that points to your NSIS install directory.
Here is the snippit from my build file:<!-- HOW TO RUN -->
<!-- Set up an environment variable called NSIS_PATH that points to your NSIS -->
<!-- install directory. "eg: C:\NSIS" -->
<!-- You can download Nullsoft Scriptable Install System -->
<!-- here: http://nsis.sourceforge.net/-->
<target name="release-installer-win">
<delete dir="${dir.build}/installer"/>
<mkdir dir="${dir.build}/installer" />
<gunzip src="${dir.release}/geoserver-${name.release}-bin.tar.gz" dest="${dir.build}/installer" />
<untar src="${dir.build}/installer/geoserver-${name.release}-bin.tar" dest="${dir.build}/installer"/>
<copy file="${dir.documents}/geoserver.nsi" todir="${dir.build}/installer/geoserver" />
<copy file="${dir.documents}/dataDirPage.ini" todir="${dir.build}/installer/geoserver" />
<copy file="${dir.documents}/splash.bmp" todir="${dir.build}/installer/geoserver" />
<copy file="${dir.documents}/license.txt" todir="${dir.build}/installer/geoserver" />
<copy file="${dir.documents}/README.txt" todir="${dir.build}/installer/geoserver" />
<copy file="${dir.documents}/RUNNING.txt" todir="${dir.build}/installer/geoserver" />
<property environment="env"/>
<exec executable="${env.NSIS_PATH}/makensis.exe">
<arg line="${dir.build}/installer/geoserver/geoserver.nsi"/>
</exec>
<!-- copy over the exe to release, the NSI script needs the OutFile variable changed to match
the version number. -->
<echo>If you get an error here, you need to edit the geoserver.nsi file and edit the variable "OutFile" to match the version number.</echo>
<copy file="${dir.build}/installer/geoserver/geoserver-${name.release}.exe" todir="${dir.release}" />
<delete dir="${dir.build}/installer"/>
</target>Brent Owens
(The Open Planning Project)Clint Lewis wrote:
List hates me that is why I am sending to you guys
------------------------------------------------------------------------
Subject:
Ant Release-All create win installer
From:
Clint Lewis <louiecw@anonymised.com>
Date:
Tue, 06 Jun 2006 11:10:56 +0200
To:
Geoserver-devel <geoserver-devel@lists.sourceforge.net>To:
Geoserver-devel <geoserver-devel@lists.sourceforge.net>Hi,
The ant release-all does not create a windows installer because the antcall to release-installer-win has been commented out. Can anyone tell me why. According to the docs ( http://docs.codehaus.org/display/GEOSDOC/Release+Guide ) ant release-all command should build your windows installer which it now does not, so do we change the release guide or do we uncomment what is commented out.
--
Kind Regards
Clint Lewis
IM Yahoo: louiecwza
IM MSN : louiecw@anonymised.com
IM Skype: louicw