From: <bh...@us...> - 2007-12-19 18:01:59
|
Revision: 582 http://cishell.svn.sourceforge.net/cishell/?rev=582&view=rev Author: bh2 Date: 2007-12-19 10:01:45 -0800 (Wed, 19 Dec 2007) Log Message: ----------- Initial commit of the installer builder for cishell Modified Paths: -------------- trunk/deployment/org.cishell.reference.releng/build_local.properties Added Paths: ----------- trunk/deployment/org.cishell.reference.releng/installer/ trunk/deployment/org.cishell.reference.releng/installer/${files.dir}/ trunk/deployment/org.cishell.reference.releng/installer/build.properties trunk/deployment/org.cishell.reference.releng/installer/build.xml trunk/deployment/org.cishell.reference.releng/installer/info/ trunk/deployment/org.cishell.reference.releng/installer/info/license.txt trunk/deployment/org.cishell.reference.releng/installer/info/mac_instructions.txt trunk/deployment/org.cishell.reference.releng/installer/info/thanks.txt trunk/deployment/org.cishell.reference.releng/installer/info/unix_shortcut_specification.xml trunk/deployment/org.cishell.reference.releng/installer/info/windows_shortcut_specification.xml trunk/deployment/org.cishell.reference.releng/installer/lib/ trunk/deployment/org.cishell.reference.releng/installer/lib/standalone-compiler.jar trunk/deployment/org.cishell.reference.releng/installer/post_install/ trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.bat trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.sh Modified: trunk/deployment/org.cishell.reference.releng/build_local.properties =================================================================== --- trunk/deployment/org.cishell.reference.releng/build_local.properties 2007-12-17 23:16:23 UTC (rev 581) +++ trunk/deployment/org.cishell.reference.releng/build_local.properties 2007-12-19 18:01:45 UTC (rev 582) @@ -14,7 +14,7 @@ # # the eclipse build host # -eclipseDir=../org.cishell.reference.releng.eclipse/eclipse/ +eclipseDir=/projects/cishell/releng/org.cishell.reference.releng.eclipse/eclipse/ # # environment: both the environment for the eclipse build host (baseos, basews and basearch) Added: trunk/deployment/org.cishell.reference.releng/installer/build.properties =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/build.properties (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/build.properties 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,13 @@ +project.name=Cyberinfrastructure Shell +project.short.name=CIShell +home.url=http://cishell.org +files.url.base=http://cishell.org/nightly + +#These properties could be passed in by the releng stuff +#but it would also double the size of each nightly dir. +#So, I recommend not creating this until a release is made. +version=0.8.0 +version.full=0.8.0.200712180500NGT +buildLabel = N-${version.full} +finalResults=/projects/cishell/www/htdocs/nightly +archivePrefix=cishell Property changes on: trunk/deployment/org.cishell.reference.releng/installer/build.properties ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/build.xml =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/build.xml (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/build.xml 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,225 @@ +<!-- + CIShell: Cyberinfrastructure Shell (http://cishell.org/) + + CIShell Installer Generator + + Maintained by Bruce Herr (bh...@bh...). +--> + +<project name='CIShell Installer' default='compile.both' basedir='.'> + <!-- Properties --> + <property file="build.properties" /> + <property name="full.jar" value="${archivePrefix}-full-installer_${version}.jar"/> + <property name="web.jar" value="${archivePrefix}-web-installer_${version}.jar"/> + <property name="build.dir" value="${finalResults}/${version.full}"/> + <property name="packs.url" value="${files.url.base}/${version.full}/packs"/> + <property name="packs.dir" value="${build.dir}/packs" /> + + <!-- Allows us to use the IzPack Ant task --> + <taskdef name="izpack" classpath="${basedir}/lib/standalone-compiler.jar" + classname="com.izforge.izpack.ant.IzPackTask"/> + + <target name='compile.both' depends='compile.web,compile.full' /> + + <target name='compile.full'> + <antcall target="-compile"> + <param name="installerType" value="standard" /> + <param name="outputFile" value="${build.dir}/${full.jar}" /> + </antcall> + </target> + + <target name='compile.web'> + <mkdir dir="${packs.dir}"/> + <antcall target="-compile"> + <param name="installerType" value="web" /> + <param name="outputFile" value="${packs.dir}/${web.jar}" /> + </antcall> + <move file="${packs.dir}/${web.jar}" tofile="${build.dir}/${web.jar}" /> + </target> + + <target name='-compile'> + <izpack installerType="${installerType}" + output="${outputFile}" + basedir="${basedir}"> + <config><![CDATA[ +<installation version="1.0"> + + <!-- + The info section. + --> + <info> + <appname>@{project.name}</appname> + <appsubpath>@{archivePrefix}</appsubpath> + <appversion>@{version}</appversion> + <authors> + <author name="Bruce Herr" email="bh...@bh..." /> + <author name="Weixia Huang" email="hu...@in..." /> + <author name="Shashikant Penumarthy" email="sp...@cs..." /> + <author name="Dr. Katy Borner" email="ka...@in..." /> + </authors> + <url>@{home.url}/</url> + <webdir>@{packs.url}</webdir> + <javaversion>1.4</javaversion> + </info> + + <variables> + <variable name="archivePrefix" value="@{archivePrefix}"/> + <variable name="projectName" value="@{project.name}"/> + <variable name="projectShortName" value="@{project.short.name}"/> + </variables> + + <!-- + The gui preferences indication. + Sets the installer window to 640x480. It will not be able to change the size. + --> + <guiprefs width="640" height="480" resizable="no"> + <laf name="metouia"> + <os family="unix" /> + </laf> + <laf name="looks"> + <os family="windows" /> + <param name="variant" value="extwin" /> + </laf> + <modifier value="true" key="showDebugWindow"/> + </guiprefs> + + <!-- + The locale section. + Asks here to include the English and French langpacks. + --> + <locale> + <langpack iso3="eng" /> + </locale> + + <!-- + The resources section. + The ids must be these ones if you want to use the LicencePanel and/or the InfoPanel. + --> + <resources> + <res id="LicencePanel.licence" src="info/license.txt" /> + <!-- <res id="Installer.image" src="info/nice-image.png" /> --> + <res src="info/windows_shortcut_specification.xml" + id="shortcutSpec.xml" /> + <res src="info/unix_shortcut_specification.xml" + id="Unix_shortcutSpec.xml"/> + <res id="InfoPanel.info" src="info/thanks.txt" /> + <res id="XInfoPanel.info" src="info/mac_instructions.txt" /> + </resources> + + <native type="izpack" name="ShellLink.dll" /> + + <!-- + The panels section. + We indicate here which panels we want to use. The order will be respected. + --> + <panels> + <panel classname="HelloPanel" /> + <panel classname="LicencePanel" /> + <panel classname="PacksPanel"/> + <panel classname="TargetPanel" /> + <panel classname="InstallPanel" /> + <panel classname="ShortcutPanel" /> + <panel os="mac" classname="XInfoPanel" /> + <panel classname="InfoPanel" /> + <panel classname="SimpleFinishPanel" /> + </panels> + + <!-- + The packs section. + We specify here our packs. + --> + <packs> + <pack name="Windows_Vista" os="windows" required="no"> + <description>Windows Vista Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-win32.wpf.x86.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.bat" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.bat" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.bat" /> + </pack> + <pack name="Windows_XP" os="windows" required="no"> + <description>Windows 2000/XP Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-win32.win32.x86.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.bat" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.bat" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.bat"/> + </pack> + <pack name="32-bit_Linux_(x86)" os="unix" required="no"> + <description>32-bit Linux (x86) Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-linux.gtk.x86.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.sh" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.sh" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.sh" /> + <executable keep="true" stage="never" + targetfile="$INSTALL_PATH/@{archivePrefix}" /> + </pack> + <pack name="64-bit_Linux_(x86_64)" os="unix" required="no"> + <description>64-bit Linux (x86_64) Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-linux.gtk.x86_64.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.sh" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.sh" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.sh" /> + <executable keep="true" stage="never" + targetfile="$INSTALL_PATH/@{archivePrefix}" /> + </pack> + <pack name="Mac_OSX_(x86)" os="mac" required="no"> + <description>Mac OSX (x86) Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-macosx.carbon.x86.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.sh" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.sh" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.sh" /> + <executable keep="true" stage="never" + targetfile="$INSTALL_PATH/@{archivePrefix}.app/Contents/MacOS/@{archivePrefix}" /> + </pack> + <pack name="Mac_OSX_(ppc)" os="mac" required="no"> + <description>Mac OSX (ppc) Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-macosx.carbon.ppc.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.sh" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.sh" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.sh" /> + <executable keep="true" stage="never" + targetfile="$INSTALL_PATH/@{archivePrefix}.app/Contents/MacOS/@{archivePrefix}" /> + </pack> + <pack name="Solaris_(sparc)" os="unix" required="no"> + <description>Solaris (sparc) Version</description> + <file unpack="true" targetdir="$INSTALL_PATH" + src="@{build.dir}/@{archivePrefix}-@{buildLabel}-solaris.gtk.sparc.zip" /> + + <parsable targetfile="$INSTALL_PATH/post_install.sh" /> + <file targetdir="$INSTALL_PATH" + src="post_install/post_install.sh" /> + <executable keep="false" stage="postinstall" + targetfile="$INSTALL_PATH/post_install.sh" /> + <executable keep="true" stage="never" + targetfile="$INSTALL_PATH/@{archivePrefix}" /> + </pack> + </packs> + +</installation> + ]]></config> + </izpack> + </target> +</project> \ No newline at end of file Property changes on: trunk/deployment/org.cishell.reference.releng/installer/build.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/info/license.txt =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/info/license.txt (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/info/license.txt 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,20 @@ +CIShell: Cyberinfrastructure Shell +Copyright 2005 Indiana University + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied. See the License for the specific language governing +permissions and limitations under the License. + +Project Contacts: +Bruce Herr (bh...@bh...) +Weixia Huang (hu...@in...) +Shashikant Penumarthy (sp...@in...) +Dr. Katy Borner (ka...@in...) Property changes on: trunk/deployment/org.cishell.reference.releng/installer/info/license.txt ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/info/mac_instructions.txt =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/info/mac_instructions.txt (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/info/mac_instructions.txt 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,5 @@ +Extra installation steps for Mac OSX users: + +For all CIShell features to work properly, please upgrade to the newest version +of Java, version 1.5.0 Release 5 (or greater). See the FAQ section at +http://cishell.org for more information. Property changes on: trunk/deployment/org.cishell.reference.releng/installer/info/mac_instructions.txt ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/info/thanks.txt =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/info/thanks.txt (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/info/thanks.txt 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,8 @@ +Installation of CIShell: Cyberinfrastructure Shell was successful! + +If you have any problems, please contact the CIShell development team at +ci...@li.... +New releases will be announced on the users list. You can sign up on our +sourceforge page at http://sourceforge.net/projects/cishell + +Please go to http://cishell.org for more information and breaking news. Property changes on: trunk/deployment/org.cishell.reference.releng/installer/info/thanks.txt ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/info/unix_shortcut_specification.xml =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/info/unix_shortcut_specification.xml (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/info/unix_shortcut_specification.xml 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> + +<shortcuts> + <programGroup defaultName="${projectShortName}" location="applications"/> + <shortcut + name="${projectShortName}" + programGroup="yes" + desktop="yes" + applications="no" + startMenu="yes" + startup="no" + target="$INSTALL_PATH/${archivePrefix}" + commandLine="" + workingDirectory="$INSTALL_PATH" + description="${projectName}" + iconFile="$INSTALL_PATH/icon.xpm" + iconIndex="0" + type="Application" + encoding="UTF-8" + terminal="false" + KdeSubstUID="false" + initialState="normal"> + </shortcut> +</shortcuts> Property changes on: trunk/deployment/org.cishell.reference.releng/installer/info/unix_shortcut_specification.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/info/windows_shortcut_specification.xml =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/info/windows_shortcut_specification.xml (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/info/windows_shortcut_specification.xml 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> + +<shortcuts> + <programGroup defaultName="${projectName}" + location="startMenu"/> + <shortcut + name="${projectName}" + target="$INSTALL_PATH\${archivePrefix}.exe" + commandLine="" + workingDirectory="$INSTALL_PATH" + description="${projectName}" + iconFile="$INSTALL_PATH\${archivePrefix}.exe" + iconIndex="0" + initialState="normal" + programGroup="yes" + desktop="yes" + applications="no" + startMenu="yes" + startup="no"> + </shortcut> + + <shortcut + name="Uninstall ${projectShortName}" + target="$INSTALL_PATH\Uninstaller\uninstaller.jar" + commandLine="" + workingDirectory="$INSTALL_PATH\Uninstaller" + description="Uninstall ${projectShortName}" + iconFile="$INSTALL_PATH\${archivePrefix}.exe" + iconIndex="0" + initialState="normal" + programGroup="yes" + desktop="yes" + applications="no" + startMenu="yes" + startup="no"> + </shortcut> + +</shortcuts> Property changes on: trunk/deployment/org.cishell.reference.releng/installer/info/windows_shortcut_specification.xml ___________________________________________________________________ Name: svn:mime-type + text/plain Added: trunk/deployment/org.cishell.reference.releng/installer/lib/standalone-compiler.jar =================================================================== (Binary files differ) Property changes on: trunk/deployment/org.cishell.reference.releng/installer/lib/standalone-compiler.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.bat =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.bat (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.bat 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,3 @@ +move "$INSTALL_PATH\${archivePrefix}" "$INSTALL_PATH\${archivePrefix}_install" +xcopy /E "$INSTALL_PATH\${archivePrefix}_install\*" "$INSTALL_PATH" +rmdir /S /Q "$INSTALL_PATH\${archivePrefix}_install" Added: trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.sh =================================================================== --- trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.sh (rev 0) +++ trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.sh 2007-12-19 18:01:45 UTC (rev 582) @@ -0,0 +1,6 @@ +#!/bin/sh + +mv "$INSTALL_PATH/${archivePrefix}" "$INSTALL_PATH/${archivePrefix}_install" +mv "$INSTALL_PATH/${archivePrefix}_install"/* "$INSTALL_PATH" +mv "$INSTALL_PATH/${archivePrefix}_install"/.* "$INSTALL_PATH" +rmdir "$INSTALL_PATH/${archivePrefix}_install" Property changes on: trunk/deployment/org.cishell.reference.releng/installer/post_install/post_install.sh ___________________________________________________________________ Name: svn:mime-type + text/plain This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |