summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui/src/main/resources
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2012-10-17 18:19:45 +0200
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2012-10-17 18:19:45 +0200
commit53f7ac73fbb1810770cbf68eb87e3db165245e64 (patch)
tree89455c52559efe5f77d7430674c82dd95f0909fd /trunk/pdf-over-gui/src/main/resources
parent8a08fb663f3034e8368c407a6780336080ea77dd (diff)
downloadpdf-over-53f7ac73fbb1810770cbf68eb87e3db165245e64.tar.gz
pdf-over-53f7ac73fbb1810770cbf68eb87e3db165245e64.tar.bz2
pdf-over-53f7ac73fbb1810770cbf68eb87e3db165245e64.zip
Move izpack stuff to resources, add icons dir
Diffstat (limited to 'trunk/pdf-over-gui/src/main/resources')
-rw-r--r--trunk/pdf-over-gui/src/main/resources/icons/delete_me0
-rw-r--r--trunk/pdf-over-gui/src/main/resources/izpack/install.xml68
-rw-r--r--trunk/pdf-over-gui/src/main/resources/izpack/unix_shortcutSpec.xml29
-rw-r--r--trunk/pdf-over-gui/src/main/resources/izpack/win_shortcutSpec.xml29
-rw-r--r--trunk/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh2
-rw-r--r--trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh2
-rw-r--r--trunk/pdf-over-gui/src/main/resources/scripts/pdfover_win.bat1
7 files changed, 131 insertions, 0 deletions
diff --git a/trunk/pdf-over-gui/src/main/resources/icons/delete_me b/trunk/pdf-over-gui/src/main/resources/icons/delete_me
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/trunk/pdf-over-gui/src/main/resources/icons/delete_me
diff --git a/trunk/pdf-over-gui/src/main/resources/izpack/install.xml b/trunk/pdf-over-gui/src/main/resources/izpack/install.xml
new file mode 100644
index 00000000..002584ca
--- /dev/null
+++ b/trunk/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/trunk/pdf-over-gui/src/main/resources/izpack/unix_shortcutSpec.xml b/trunk/pdf-over-gui/src/main/resources/izpack/unix_shortcutSpec.xml
new file mode 100644
index 00000000..05e8bee8
--- /dev/null
+++ b/trunk/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/trunk/pdf-over-gui/src/main/resources/izpack/win_shortcutSpec.xml b/trunk/pdf-over-gui/src/main/resources/izpack/win_shortcutSpec.xml
new file mode 100644
index 00000000..8ad6666f
--- /dev/null
+++ b/trunk/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/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh b/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_linux.sh
new file mode 100644
index 00000000..b785db7c
--- /dev/null
+++ b/trunk/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/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh b/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh
new file mode 100644
index 00000000..b785db7c
--- /dev/null
+++ b/trunk/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/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_win.bat b/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_win.bat
new file mode 100644
index 00000000..222bd263
--- /dev/null
+++ b/trunk/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