From b38409595346e3caabe63aca51c3ff7dadd9d092 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:39:32 +0000 Subject: Use launch4j instead of winrun4j Executables are generated on build by maven Should fix 64bit Java problems git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@436 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- pdf-over-gui/pom.xml | 137 ++++++++++++++++++++- pdf-over-gui/src/main/resources/PDF-Over-Un.ini | 4 - pdf-over-gui/src/main/resources/PDF-Over.exe | Bin 67072 -> 0 bytes pdf-over-gui/src/main/resources/PDF-Over.ini | 4 - pdf-over-gui/src/main/resources/izpack/install.xml | 5 +- .../src/main/resources/izpack/win_shortcutSpec.xml | 4 +- .../main/resources/izpack/win_shortcutSpec_deu.xml | 4 +- 7 files changed, 137 insertions(+), 21 deletions(-) delete mode 100644 pdf-over-gui/src/main/resources/PDF-Over-Un.ini delete mode 100644 pdf-over-gui/src/main/resources/PDF-Over.exe delete mode 100644 pdf-over-gui/src/main/resources/PDF-Over.ini diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml index 812a39c5..ba789bbb 100644 --- a/pdf-over-gui/pom.xml +++ b/pdf-over-gui/pom.xml @@ -164,9 +164,6 @@ lib-swt/swt-${target.name}-* scripts/* ReadMe.txt - PDF-Over.exe - PDF-Over.ini - PDF-Over-Un.ini @@ -177,6 +174,137 @@ + + + org.codehaus.groovy.maven + gmaven-plugin + 1.0 + + + package + + execute + + + + project.properties["version.exe"] = project.version.split("-")[0] + ".0"; + + + + + + + + com.akathist.maven.plugins.launch4j + launch4j-maven-plugin + 1.5.2 + + + l4j-gui + package + + launch4j + + + gui + true + lib/${artifactId}-${version}.jar + ${staging.dir}/PDF-Over.exe + Error + + at.asit.pdfover.gui.Main + lib/ + + . + src/main/resources/icons/icon.ico + + 1.6.0 + + + ${version.exe} + ${version} + PDF-Over PDF signer + (C) 2012 A-SIT + ${version.exe} + ${version} + PDF-Over + PDF-Over + PDF-Over.exe + + + + + l4j-cli + package + + launch4j + + + console + true + lib/${artifactId}-${version}.jar + ${staging.dir}/PDF-Over-cli.exe + Error + + at.asit.pdfover.gui.Main + lib/ + + . + src/main/resources/icons/icon.ico + + 1.6.0 + + + ${version.exe} + ${version} + PDF-Over PDF signer CLI + (C) 2012 A-SIT + ${version.exe} + ${version} + PDF-Over + PDF-Over-cli + PDF-Over-cli.exe + + + + + l4j-uninst + package + + launch4j + + + gui + true + uninstaller.jar + ${staging.dir}/Uninstaller.exe + Error + + com.izforge.izpack.uninstaller.Uninstaller + false + uninstaller.jar + + . + src/main/resources/icons/icon.ico + + 1.6.0 + + + ${version.exe} + ${version} + PDF-Over Uninstaller + A-SIT (Secure Information Technology Center - Austria) + ${version.exe} + ${version} + PDF-Over + Uninstaller + Uninstaller.exe + + + + + + org.codehaus.izpack izpack-maven-plugin @@ -213,9 +341,6 @@ scripts/* ReadMe.txt keystore.jks - PDF-Over.exe - PDF-Over.ini - PDF-Over-Un.ini diff --git a/pdf-over-gui/src/main/resources/PDF-Over-Un.ini b/pdf-over-gui/src/main/resources/PDF-Over-Un.ini deleted file mode 100644 index 043ee125..00000000 --- a/pdf-over-gui/src/main/resources/PDF-Over-Un.ini +++ /dev/null @@ -1,4 +0,0 @@ -working.directory=. -classpath.1=*.jar -main.class=com.izforge.izpack.uninstaller.Uninstaller -vm.version.min=1.6 diff --git a/pdf-over-gui/src/main/resources/PDF-Over.exe b/pdf-over-gui/src/main/resources/PDF-Over.exe deleted file mode 100644 index 3e2fe0e5..00000000 Binary files a/pdf-over-gui/src/main/resources/PDF-Over.exe and /dev/null differ diff --git a/pdf-over-gui/src/main/resources/PDF-Over.ini b/pdf-over-gui/src/main/resources/PDF-Over.ini deleted file mode 100644 index 729318e8..00000000 --- a/pdf-over-gui/src/main/resources/PDF-Over.ini +++ /dev/null @@ -1,4 +0,0 @@ -working.directory=. -classpath.1=lib/*.jar -main.class=at.asit.pdfover.gui.Main -vm.version.min=1.6 diff --git a/pdf-over-gui/src/main/resources/izpack/install.xml b/pdf-over-gui/src/main/resources/izpack/install.xml index f5e5d9ba..e4c6cb68 100644 --- a/pdf-over-gui/src/main/resources/izpack/install.xml +++ b/pdf-over-gui/src/main/resources/izpack/install.xml @@ -60,9 +60,8 @@ - - - + + diff --git a/pdf-over-gui/src/main/resources/izpack/win_shortcutSpec_deu.xml b/pdf-over-gui/src/main/resources/izpack/win_shortcutSpec_deu.xml index 83c4c046..aed600bb 100644 --- a/pdf-over-gui/src/main/resources/izpack/win_shortcutSpec_deu.xml +++ b/pdf-over-gui/src/main/resources/izpack/win_shortcutSpec_deu.xml @@ -30,10 +30,10 @@ applications="no" startMenu="no" startup="no" - target="$INSTALL_PATH/Uninstaller/PDF-Over-Un.exe" + target="$INSTALL_PATH/Uninstaller/Uninstaller.exe" commandLine="" workingDirectory="$INSTALL_PATH/Uninstaller" - description="PDF-Over 4.0 Uninstall" + description="PDF-Over 4.0 Uninstaller" type="Application" encoding="UTF-8" initialState="minimized"> -- cgit v1.2.3