summaryrefslogtreecommitdiff
path: root/config/izpack/install-nsc.xml
blob: 5ee58d925b9fb795d6aa7a7401b9b3abe102acb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version=1.0" encoding="UTF-8" standalone="yes"?>
<!-- $Id$ -->

<installation version="1.0">

  <info>
    <appname>Scala</appname>
    <appversion>@VERSION@</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>@URL@</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="400" width="600">
    <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="@RESOURCEDIR@/images/Splash.png"/>
    <res id="Installer.image"              src="@RESOURCEDIR@/images/install.png"/>
    <res id="HTMLInfoPanel.info_eng"       src="@RESOURCEDIR@/locales/INFO_en.html"/>
    <res id="HTMLInfoPanel.info_fra"       src="@RESOURCEDIR@/locales/INFO_fr.html"/>
    <res id="HTMLInfoPanel.info_deu"       src="@RESOURCEDIR@/locales/INFO_de.html"/>
    <res id="HTMLLicencePanel.licence_eng" src="@RESOURCEDIR@/locales/LICENSE_en.html"/>
    <res id="HTMLLicencePanel.licence_fra" src="@RESOURCEDIR@/locales/LICENSE_fr.html"/>
    <res id="HTMLLicencePanel.licence_deu" src="@RESOURCEDIR@/locales/LICENSE_de.html"/>
    <res id="TargetPanel.dir.macosx"       src="@RESOURCEDIR@/targets/path_macosx.txt"/>
    <res id="TargetPanel.dir.unix"         src="@RESOURCEDIR@/targets/path_unix.txt"/>
    <res id="ProcessPanel.Spec.xml"        src="@RESOURCEDIR@/izpack_process.xml"/>
    <res id="shortcutSpec.xml"             src="@RESOURCEDIR@/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="distribs/unix/@PREFIX@-@VERSION@"
               targetdir="$INSTALL_PATH">
      </fileset>
      <!-- we share common resources doc/*.pdf and lib/** -->
      <fileset os="windows"
               dir="distribs/win/@PREFIX@-@VERSION@"
               targetdir="$INSTALL_PATH"
               excludes="doc/*.pdf, lib/**"/>
      <fileset os="windows"
               dir="distribs/unix/@PREFIX@-@VERSION@/share/doc/@PREFIX@-@VERSION@"
               targetdir="$INSTALL_PATH/doc"
               includes="*.pdf"/>
      <fileset os="windows"
               dir="distribs/unix/@PREFIX@-@VERSION@/share/scala"
               targetdir="$INSTALL_PATH"
               includes="lib/**"/>
      <singlefile os="unix"
                  target="$INSTALL_PATH/bin/.create_wrappers"
                  src="config/izpack/create_wrappers.sh"/>
      <executable os="unix"
                  targetfile="$INSTALL_PATH/bin/.create_wrappers"/>
      <executable os="unix"
                  targetfile="$INSTALL_PATH/bin/.nsc_wrapper" keep="true"/>
    </pack>
  </packs>

</installation>