summaryrefslogtreecommitdiff
path: root/config/izpack
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-08-26 12:20:01 +0000
committermichelou <michelou@epfl.ch>2005-08-26 12:20:01 +0000
commita33babfcf15b3022e3850e48a2731317dd4ee027 (patch)
tree7cb9bd3a876f6ce5d4e8101fff089551687b0b38 /config/izpack
parent7e26a89aeceb418971b64ca76365e5dfc2b02ea2 (diff)
downloadscala-a33babfcf15b3022e3850e48a2731317dd4ee027.tar.gz
scala-a33babfcf15b3022e3850e48a2731317dd4ee027.tar.bz2
scala-a33babfcf15b3022e3850e48a2731317dd4ee027.zip
- initial checking.
Diffstat (limited to 'config/izpack')
-rwxr-xr-xconfig/izpack/create_wrappers.sh13
-rw-r--r--config/izpack/images/install.pngbin0 -> 130263 bytes
-rw-r--r--config/izpack/izpack_process.xml16
-rw-r--r--config/izpack/izpack_scala.xml92
-rw-r--r--config/izpack/izpack_shortcut.xml42
-rw-r--r--config/izpack/locales/INFO_de.html23
-rw-r--r--config/izpack/locales/INFO_en.html23
-rw-r--r--config/izpack/locales/INFO_fr.html23
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
new file mode 100644
index 0000000000..f75b7fb2c1
--- /dev/null
+++ b/config/izpack/images/install.png
Binary files differ
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&uuml;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&ouml;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&eacute;cent.
+ </p>
+ <p>
+ Vous pouvez abandonner l'installation &agrave; tout moment
+ en cliquant sur 'Quitter'.
+ </p>
+ </body>
+</html>