summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/resources
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:00:17 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:00:17 +0000
commitac2709f5416f8b9fd6b4fcd270d3794cf9e46681 (patch)
tree4569131314328eb05531d7baa5ecfed561c2e22b /pdf-over-gui/src/main/resources
parent9b2b35abfe8a454c1b4038489025977c9f31a30d (diff)
downloadpdf-over-ac2709f5416f8b9fd6b4fcd270d3794cf9e46681.tar.gz
pdf-over-ac2709f5416f8b9fd6b4fcd270d3794cf9e46681.tar.bz2
pdf-over-ac2709f5416f8b9fd6b4fcd270d3794cf9e46681.zip
Move izpack stuff to resources, add icons dir
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@75 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/resources')
-rw-r--r--pdf-over-gui/src/main/resources/icons/delete_me0
-rw-r--r--pdf-over-gui/src/main/resources/izpack/install.xml68
-rw-r--r--pdf-over-gui/src/main/resources/izpack/unix_shortcutSpec.xml29
-rw-r--r--pdf-over-gui/src/main/resources/izpack/win_shortcutSpec.xml29
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh2
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh2
-rw-r--r--pdf-over-gui/src/main/resources/scripts/pdfover_win.bat1
7 files changed, 131 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/resources/icons/delete_me b/pdf-over-gui/src/main/resources/icons/delete_me
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/icons/delete_me
diff --git a/pdf-over-gui/src/main/resources/izpack/install.xml b/pdf-over-gui/src/main/resources/izpack/install.xml
new file mode 100644
index 00000000..002584ca
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/izpack/install.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<installation version="1.0">
+
+ <info>
+ <appname>PDFOver</appname>
+ <appversion>4.0</appversion>
+ <uninstaller write="no" />
+ <javaversion>1.6</javaversion>
+ <authors>
+ <author name="A-SIT (Secure Information Technology Center - Austria)" email="" />
+ </authors>
+ <uninstaller/>
+ <url>http://www.a-sit.at/</url>
+ <pack200 />
+ <run-privileged condition="izpack.windowsinstall.vista|izpack.macinstall|izpack.windowsinstall.7"/>
+ </info>
+
+ <guiprefs resizable="no" width="480" height="360">
+ <laf name="looks">
+ <param name="variant" value="windows" />
+ <os family="windows" />
+ </laf>
+ </guiprefs>
+
+ <locale>
+ <langpack iso3="eng" />
+ </locale>
+ <resources>
+ <res src="./unix_shortcutSpec.xml" id="Unix_shortcutSpec.xml" />
+ <res src="./win_shortcutSpec.xml" id="Win_shortcutSpec.xml" />
+ </resources>
+
+ <native type="izpack" name="ShellLink.dll">
+ <os family="windows" />
+ </native>
+ <native type="izpack" name="ShellLink_x64.dll">
+ <os family="windows" />
+ </native>
+
+ <variables>
+ <variable name="DesktopShortcutCheckboxEnabled" value="true" />
+ </variables>
+
+ <panels>
+ <panel classname="HelloPanel" />
+ <panel classname="TargetPanel" />
+ <panel classname="InstallPanel" />
+ <panel classname="ShortcutPanel" />
+ <panel classname="SimpleFinishPanel" />
+ </panels>
+
+ <packs>
+ <pack name="main" required="yes">
+ <description>Main Installation</description>
+ <file src="lib" targetdir="$INSTALL_PATH" />
+ <file src="scripts" targetdir="$INSTALL_PATH" />
+ <file src="icons" targetdir="$INSTALL_PATH" />
+ <executable targetfile="$INSTALL_PATH/scripts/pdfover_linux.sh"
+ os="unix" stage="never"></executable>
+ <executable targetfile="$INSTALL_PATH/scripts/pdfover_win.bat"
+ os="windows" stage="never"></executable>
+ <executable targetfile="$INSTALL_PATH/scripts/pdfover_mac.sh"
+ os="mac" stage="never"></executable>
+ </pack>
+ </packs>
+
+</installation> \ No newline at end of file
diff --git a/pdf-over-gui/src/main/resources/izpack/unix_shortcutSpec.xml b/pdf-over-gui/src/main/resources/izpack/unix_shortcutSpec.xml
new file mode 100644
index 00000000..05e8bee8
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/izpack/unix_shortcutSpec.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+
+<shortcuts>
+ <!-- <skipIfNotSupported/> -->
+ <programGroup defaultName="PDFOver"
+ location="applications"/>
+
+ <shortcut
+ name="PDFOver"
+ programGroup="yes"
+ desktop="yes"
+ applications="no"
+ startMenu="yes"
+ startup="no"
+ target="$INSTALL_PATH/scripts/pdfover_linux.sh"
+ commandLine=""
+ workingDirectory="$INSTALL_PATH"
+ description="PDFOver 4.0"
+ iconFile="$INSTALL_PATH/icons/pdfover.png"
+ iconIndex="0"
+ type="Application"
+ encoding="UTF-8"
+ terminal="false"
+ KdeSubstUID="false"
+ initialState="normal">
+ <createForPack name="main"/>
+ </shortcut>
+
+</shortcuts> \ No newline at end of file
diff --git a/pdf-over-gui/src/main/resources/izpack/win_shortcutSpec.xml b/pdf-over-gui/src/main/resources/izpack/win_shortcutSpec.xml
new file mode 100644
index 00000000..8ad6666f
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/izpack/win_shortcutSpec.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+
+<shortcuts>
+ <!-- <skipIfNotSupported/> -->
+ <programGroup defaultName="PDFOver"
+ location="applications"/>
+
+ <shortcut
+ name="PDFOver"
+ programGroup="yes"
+ desktop="yes"
+ applications="no"
+ startMenu="yes"
+ startup="no"
+ target="$INSTALL_PATH/scripts/pdfover_win.bat"
+ commandLine=""
+ workingDirectory="$INSTALL_PATH/lib"
+ description="PDFOver 4.0"
+ iconFile="$INSTALL_PATH/icons/pdfover.ico"
+ iconIndex="0"
+ type="Application"
+ encoding="UTF-8"
+ terminal="false"
+ KdeSubstUID="false"
+ initialState="normal">
+ <createForPack name="main"/>
+ </shortcut>
+
+</shortcuts> \ No newline at end of file
diff --git a/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh b/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh
new file mode 100644
index 00000000..b785db7c
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -cp "lib/*" at.asit.pdfover.gui.Main \ No newline at end of file
diff --git a/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh b/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh
new file mode 100644
index 00000000..b785db7c
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -cp "lib/*" at.asit.pdfover.gui.Main \ No newline at end of file
diff --git a/pdf-over-gui/src/main/resources/scripts/pdfover_win.bat b/pdf-over-gui/src/main/resources/scripts/pdfover_win.bat
new file mode 100644
index 00000000..222bd263
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/scripts/pdfover_win.bat
@@ -0,0 +1 @@
+..\lib\pdf-over-gui-4.0.0-SNAPSHOT.jar %* \ No newline at end of file