diff options
Diffstat (limited to 'config/izpack')
-rwxr-xr-x | config/izpack/create_wrappers.sh | 13 | ||||
-rw-r--r-- | config/izpack/images/install.png | bin | 0 -> 130263 bytes | |||
-rw-r--r-- | config/izpack/izpack_process.xml | 16 | ||||
-rw-r--r-- | config/izpack/izpack_scala.xml | 92 | ||||
-rw-r--r-- | config/izpack/izpack_shortcut.xml | 42 | ||||
-rw-r--r-- | config/izpack/locales/INFO_de.html | 23 | ||||
-rw-r--r-- | config/izpack/locales/INFO_en.html | 23 | ||||
-rw-r--r-- | config/izpack/locales/INFO_fr.html | 23 |
8 files changed, 232 insertions, 0 deletions
diff --git a/config/izpack/create_wrappers.sh b/config/izpack/create_wrappers.sh new file mode 100755 index 0000000000..e423f5b822 --- /dev/null +++ b/config/izpack/create_wrappers.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +DIRNAME="dirname" +LN="/bin/ln -sf" + +COMMANDS="scala scalac scaladoc scala-info scalaint scalansc scalanstest scalap scalarun scalatest" +COMMANDS_DEBUG="scala-debug scalac-debug scaladoc-debug scalaint-debug scalansc-debug scalarun-debug" + +cd `$DIRNAME $0` && \ +for cmd in $COMMANDS; do $LN .scala_wrapper $cmd; done && \ +for cmd in $COMMANDS_DEBUG; do $LN .scala_wrapper $cmd; done + +# $Id$ diff --git a/config/izpack/images/install.png b/config/izpack/images/install.png Binary files differnew file mode 100644 index 0000000000..f75b7fb2c1 --- /dev/null +++ b/config/izpack/images/install.png diff --git a/config/izpack/izpack_process.xml b/config/izpack/izpack_process.xml new file mode 100644 index 0000000000..3f4006e4b4 --- /dev/null +++ b/config/izpack/izpack_process.xml @@ -0,0 +1,16 @@ +<!-- $Id$ --> + +<processing> + <job name="scala_symlink"> + <description>Create symbolic links</description> + <os family="unix" /> + <executefile name="$INSTALL_PATH/bin/.create_wrappers" /> + </job> + <job name="clean"> + <description>Clean up</description> + <os family="unix" /> + <executefile name="/bin/rm"> + <arg>$INSTALL_PATH/bin/.create_wrappers</arg> + </executefile> + </job> +</processing> diff --git a/config/izpack/izpack_scala.xml b/config/izpack/izpack_scala.xml new file mode 100644 index 0000000000..591409390a --- /dev/null +++ b/config/izpack/izpack_scala.xml @@ -0,0 +1,92 @@ +<?xml version=1.0" encoding="UTF-8" standalone="yes" ?> +<installation version="1.0"> + + <info> + <appname>Scala</appname> + <appversion>1.4.0.1</appversion> + <authors> + <author name="Martin Odersky" email="martin.odersky@epfl.ch" /> + <author name="Vincent Cremet" email="vincent.cremet@epfl.ch" /> + <author name="Iulian Dragos" email="Iulian.Dragos@epfl.ch" /> + <author name="Gilles Dubochet" email="gilles.dubochet@epfl.ch" /> + <author name="Burak Emir" email="burak.emir@epfl.ch" /> + <author name="Stephane Micheloud" email="stephane.micheloud@epfl.ch" /> + <author name="Nikolay Mihaylov" email="nikolay.mihaylov@epfl.ch" /> + + <author name="Philippe Altherr (past member)" email="philippe.alther@epfl.ch" /> + <author name="Michel Schinz (past member)" email="michel.schinz@epfl.ch" /> + <author name="Erik Stenmann (past member)" email="happi@home.se" /> + <author name="Matthias Zenger (past member)" email="matthias.zenger@google.com" /> + </authors> + <url>http://scala.epfl.ch/</url> + <javaversion>1.4</javaversion> + </info> + + <variables> + <variable name="JDKPathPanel.minVersion" value="1.4.0" /> + <variable name="JDKPathPanel.maxVersion" value="1.5.0" /> + <variable name="JDKPathPanel.skipIfValid" value="yes" /> + </variables> + + <native type="izpack" name="ShellLink.dll" /> + + <guiprefs resizable="yes" height="480" width="640"> + <laf name="metouia"> + <os family="unix" /> + </laf> + <laf name="looks"> + <os family="windows" /> + <param name="variant" value="extwin" /> + </laf> + </guiprefs> + + <locale> + <langpack iso3="eng" /> + <langpack iso3="fra" /> + <langpack iso3="deu" /> + </locale> + + <resources> + <res id="installer.langsel.img" src="images/Splash.png" /> + <res id="Installer.image" src="images/install.png" /> + <res id="HTMLInfoPanel.info_eng" src="locales/INFO_en.html" /> + <res id="HTMLInfoPanel.info_fra" src="locales/INFO_fr.html" /> + <res id="HTMLInfoPanel.info_deu" src="locales/INFO_de.html" /> + <res id="HTMLLicencePanel.licence_eng" src="locales/LICENSE_en.html" /> + <res id="HTMLLicencePanel.licence_fra" src="locales/LICENSE_fr.html" /> + <res id="HTMLLicencePanel.licence_deu" src="locales/LICENSE_de.html" /> + <res id="ProcessPanel.Spec.xml" src="izpack_process.xml" /> + <res id="shortcutSpec.xml" src="izpack_shortcut.xml" /> + </resources> + + <panels> + <panel classname="HelloPanel" /> + <panel classname="HTMLInfoPanel" /> + <panel classname="HTMLLicencePanel" /> + <panel classname="JDKPathPanel" /> + <!-- + <panel classname="PacksPanel" /> + --> + <panel classname="TargetPanel" /> + <panel classname="InstallPanel" /> + <panel os="unix" classname="ProcessPanel" /> + <panel classname="ShortcutPanel" /> + <panel classname="SimpleFinishPanel" /> + </panels> + + <packs> + <pack name="Installing..." required="yes"> + <description>Installing the Scala software.</description> + <fileset os="unix" dir="unix" targetdir="$INSTALL_PATH" /> + <fileset os="unix" dir="lib" targetdir="$INSTALL_PATH/share/scala-$APP_VER/lib" /> + <fileset os="unix" dir="pdf" targetdir="$INSTALL_PATH/share/doc/scala-$APP_VER" /> + <fileset os="windows" dir="windows" targetdir="$INSTALL_PATH" /> + <fileset os="windows" dir="lib" targetdir="$INSTALL_PATH/lib" /> + <fileset os="windows" dir="pdf" targetdir="$INSTALL_PATH/doc" /> + <singlefile os="unix" target="$INSTALL_PATH/bin/.create_wrappers" src="create_wrappers.sh" /> + <executable os="unix" targetfile="$INSTALL_PATH/bin/.create_wrappers" /> + <executable os="unix" targetfile="$INSTALL_PATH/bin/.scala_wrapper" keep="true" /> + </pack> + </packs> + +</installation> diff --git a/config/izpack/izpack_shortcut.xml b/config/izpack/izpack_shortcut.xml new file mode 100644 index 0000000000..8dd53e1fc7 --- /dev/null +++ b/config/izpack/izpack_shortcut.xml @@ -0,0 +1,42 @@ +<?xml version=1.0" encoding="UTF-8" standalone="yes" ?>
+<shortcuts>
+ + <programGroup defaultName="Scala 1.4.0.1" location="applications" /> +
+ <skipIfNotSupported /> +
+ <shortcut + os="windows"
+ name="Scala Interpreter"
+ target="$INSTALL_PATH\bin\scalaint.bat" + workingDirectory="$SYSTEM_user_home"
+ commandLine="" + terminal="true"
+ programGroup="yes" />
+ + <shortcut + os="windows"
+ name="Scala API Documentation"
+ target="$INSTALL_PATH\doc\api\index.html"
+ commandLine=""
+ programGroup="yes" /> + + <shortcut + os="windows"
+ name="ScalaByExample.pdf"
+ target="$INSTALL_PATH\doc\ScalaByExample.pdf"
+ programGroup="yes" />
+ + <shortcut + os="windows"
+ name="ScalaReference.pdf"
+ target="$INSTALL_PATH\doc\ScalaReference.pdf"
+ programGroup="yes" /> + + <shortcut + os="windows"
+ name="ScalaTutorial.pdf"
+ target="$INSTALL_PATH\doc\ScalaTutorial.pdf"
+ programGroup="yes" /> +
+</shortcuts>
diff --git a/config/izpack/locales/INFO_de.html b/config/izpack/locales/INFO_de.html new file mode 100644 index 0000000000..0396dd653e --- /dev/null +++ b/config/izpack/locales/INFO_de.html @@ -0,0 +1,23 @@ +<html> + <head> + <style type="text/css"> + <!-- + p { font-family:Helvetica,Arial,Sans-Serif; font-size:small; } + --> + </style> + </head> + <body> + <p> + <a href="http://www.izforge.com/">IzPack</a> führt Sie durch + die Installation von Scala 1.4.0.1. + </p> + <p> + Scala erfordert Sun <a href="http://java.sun.com/j2se/">JDK/JRE</a> + version 1.4 oder neuer. + </p> + <p> + Sie können die Installation jederzeit abbrechen, indem + Sie auf 'Beenden' klicken. + </p> + </body> +</html> diff --git a/config/izpack/locales/INFO_en.html b/config/izpack/locales/INFO_en.html new file mode 100644 index 0000000000..3622e0fec8 --- /dev/null +++ b/config/izpack/locales/INFO_en.html @@ -0,0 +1,23 @@ +<html> + <head> + <style type="text/css"> + <!-- + p { font-family:Helvetica,Arial,Sans-Serif; font-size:small; } + --> + </style> + </head> + <body> + <p> + <a href="http://www.izforge.com/">IzPack</a> will guide you through + the installation of Scala 1.4.0.1. + </p> + <p> + Scala requires Sun <a href="http://java.sun.com/j2se/">JDK/JRE</a> + version 1.4 or newer. + </p> + <p> + You may cancel this installation at any time by clicking the + 'Quit' button. + </p> + </body> +</html> diff --git a/config/izpack/locales/INFO_fr.html b/config/izpack/locales/INFO_fr.html new file mode 100644 index 0000000000..113da8cd1e --- /dev/null +++ b/config/izpack/locales/INFO_fr.html @@ -0,0 +1,23 @@ +<html> + <head> + <style type="text/css"> + <!-- + p { font-family:Helvetica,Arial,Sans-Serif; font-size:small; } + --> + </style> + </head> + <body> + <p> + <a href="http://www.izforge.com/">IzPack</a> will guide you through + the installation of Scala 1.4.0.1. + </p> + <p> + Scala requiert Sun <a href="http://java.sun.com/j2se/">JDK/JRE</a> + version 1.4 ou plus récent. + </p> + <p> + Vous pouvez abandonner l'installation à tout moment + en cliquant sur 'Quitter'. + </p> + </body> +</html> |