From ac47a525b1338100c7489ec60fed24ce10f57394 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 18:59:19 +0000 Subject: Installer generation first commit git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@68 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- pdf-over-gui/PDFOver.config | 8 +- pdf-over-gui/pom.xml | 168 +++++++++++++++++++++ pdf-over-gui/src/main/izpack/install.xml | 68 +++++++++ pdf-over-gui/src/main/izpack/unix_shortcutSpec.xml | 29 ++++ pdf-over-gui/src/main/izpack/win_shortcutSpec.xml | 29 ++++ .../at/asit/pdfover/gui/messages.properties | 113 ++++++++++++++ pdf-over-gui/src/main/scripts/pdfover_linux.sh | 2 + pdf-over-gui/src/main/scripts/pdfover_mac.sh | 2 + pdf-over-gui/src/main/scripts/pdfover_win.bat | 1 + 9 files changed, 416 insertions(+), 4 deletions(-) create mode 100644 pdf-over-gui/src/main/izpack/install.xml create mode 100644 pdf-over-gui/src/main/izpack/unix_shortcutSpec.xml create mode 100644 pdf-over-gui/src/main/izpack/win_shortcutSpec.xml create mode 100644 pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties create mode 100644 pdf-over-gui/src/main/scripts/pdfover_linux.sh create mode 100644 pdf-over-gui/src/main/scripts/pdfover_mac.sh create mode 100644 pdf-over-gui/src/main/scripts/pdfover_win.bat (limited to 'pdf-over-gui') diff --git a/pdf-over-gui/PDFOver.config b/pdf-over-gui/PDFOver.config index e631560a..f0757f93 100644 --- a/pdf-over-gui/PDFOver.config +++ b/pdf-over-gui/PDFOver.config @@ -1,9 +1,9 @@ #Configuration file was generated! -#Tue Sep 11 11:14:23 CEST 2012 -OUTPUT_FOLDER=/home/andy/PDF +#Wed Sep 12 15:51:13 CEST 2012 +OUTPUT_FOLDER= PROXY_PORT=-1 -EMBLEM=/home/andy/fitzek_andreas_l.jpg +EMBLEM= SIGNATURE_POSITION= PROXY_HOST= -MOBILE_NUMBER=+436504892002 +MOBILE_NUMBER= BKU=NONE diff --git a/pdf-over-gui/pom.xml b/pdf-over-gui/pom.xml index 606f6d1b..646493e4 100644 --- a/pdf-over-gui/pom.xml +++ b/pdf-over-gui/pom.xml @@ -16,6 +16,12 @@ ${swt.artifactId} 3.8 + + org.codehaus.izpack + izpack-standalone-compiler + ${izpack-standalone.version} + true + org.slf4j slf4j-log4j12 @@ -40,6 +46,142 @@ + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + [1.0.0,) + + copy-dependencies + + + + + + + + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.2 + + + jar + + + + true + + at.asit.pdfover.gui.Main + + + ${staging.dir}/lib + + + + maven-dependency-plugin + + + + copy-product-dependencies + package + + copy-dependencies + + + ${staging.dir}/lib + false + false + true + true + true + system + org.codehaus.izpack + + + + + + maven-resources-plugin + 2.4.2 + + + copy-resources + validate + + copy-resources + + + UTF-8 + ${staging.dir} + + + src/main + + scripts/* + icons/* + + + + src/main/izpack + + + + + + + + org.codehaus.izpack + izpack-maven-plugin + 1.0-alpha-5 + + + org.codehaus.izpack + izpack-standalone-compiler + ${izpack-standalone.version} + + + + ${staging.dir} + ${staging.dir}/setup.jar + + + + standard-installer + package + + izpack + + + + + + + + + ${project.build.directory}/staging + linux + 4.3.5 + + linux @@ -51,6 +193,8 @@ org.eclipse.swt.gtk.linux.x86 + ${project.build.directory}/staging/linux + linux @@ -63,6 +207,8 @@ org.eclipse.swt.gtk.linux.x86_64 + ${project.build.directory}/staging/linux-64 + linux-64 @@ -76,6 +222,8 @@ org.eclipse.swt.win32.win32.x86 + ${project.build.directory}/staging/windows + windows @@ -88,6 +236,8 @@ org.eclipse.swt.win32.win32.x86_64 + ${project.build.directory}/staging/windows-64 + windows-64 @@ -101,6 +251,8 @@ org.eclipse.swt.cocoa.macosx + ${project.build.directory}/staging/mac + mac @@ -113,6 +265,8 @@ org.eclipse.swt.cocoa.macosx.x86_64 + ${project.build.directory}/staging/mac-64 + mac-64 @@ -122,5 +276,19 @@ swt-repo https://swt-repo.googlecode.com/svn/repo/ + + akathist-repository + Akathist Repository + http://www.9stmaryrd.com/maven + + + + + akathist-repository + Akathist Repository + http://www.9stmaryrd.com/maven + + + \ No newline at end of file diff --git a/pdf-over-gui/src/main/izpack/install.xml b/pdf-over-gui/src/main/izpack/install.xml new file mode 100644 index 00000000..002584ca --- /dev/null +++ b/pdf-over-gui/src/main/izpack/install.xml @@ -0,0 +1,68 @@ + + + + + + PDFOver + 4.0 + + 1.6 + + + + + http://www.a-sit.at/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Main Installation + + + + + + + + + + \ No newline at end of file diff --git a/pdf-over-gui/src/main/izpack/unix_shortcutSpec.xml b/pdf-over-gui/src/main/izpack/unix_shortcutSpec.xml new file mode 100644 index 00000000..05e8bee8 --- /dev/null +++ b/pdf-over-gui/src/main/izpack/unix_shortcutSpec.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/pdf-over-gui/src/main/izpack/win_shortcutSpec.xml b/pdf-over-gui/src/main/izpack/win_shortcutSpec.xml new file mode 100644 index 00000000..8ad6666f --- /dev/null +++ b/pdf-over-gui/src/main/izpack/win_shortcutSpec.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties new file mode 100644 index 00000000..244cfb3d --- /dev/null +++ b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties @@ -0,0 +1,113 @@ +TrustedSocketFactory.FailedToCreateSecureConnection=Failed to create secure network connection + +main.title=PDF-Over +main.configuration=Configuration +main.position=Positioning +main.signature=Signing +main.done=Finish + +common.browse=browse +common.Cancel=Cancel +common.Ok=OK +common.Save=Save +common.PDFExtension_Description=PDF documents +common.JPGExtension_Description=JPG Dateien +common.GIFExtension_Description=Gif Dateien +common.ALLExtension_Description=All files +common.file=File: +common.file_not_exists= does not exist! +common.open=Open + +config.Simple=Simple +config.Advanced=Advanced + +advanced_config.AutoPosition_Title=Positioning +advanced_config.AutoPosition=Automatic positioning +advanced_config.BKUSelection_Title=BKU Selection +advanced_config.OutputFolder_Title=Output location +advanced_config.OutputFolder=Default output folder: +advanced_config.OutputFolder.Dialog_Title=Select Output folder +advanced_config.OutputFolder.Dialog=Select a folder + +simple_config.Emblem_Title=Emblem +simple_config.EmblemEmpty=No Image. Drag and Drop a Image. Or use the browse button to select an emblem. +simple_config.UseEmblem=Use emblem +simple_config.MobileBKU_Title=Mobile signature +simple_config.PhoneNumber=Mobile number: +simple_config.ExampleNumber=+43676123456789 +simple_config.Proxy_Title=Proxy +simple_config.ProxyHost=Host: +simple_config.ProxyHostTemplate=Hostname or IP of proxy server +simple_config.ProxyPort=Port: +simple_config.ProxyPortTemplate=port proxy server [1-65535] + + + +dataSourceSelection.DropLabel=To sign a document\ndrag and drop it here\nor use the button below + +bku_selection.card=CARD +bku_selection.mobile=MOBILE + +mobileBKU.number=Number: +mobileBKU.password=Password: + +tanEnter.tries= tries left!" +tanEnter.ReferenceValue=reference value +tanEnter.TAN=TAN: + +BKU.LOCAL=Local BKU +BKU.MOBILE=Mobile BKU +BKU.NONE=no default + +error.SaveOutputFolder=Failed to save signed document to configured output folder. +error.Signatur=Signature error +error.PrepareDocument=Failed to prepare document for signature. +error.Initialization=Initialization failed. Please check your configuration. +error.Unexpected=Unexpected Error +error.LocalBKU=Please check if a local BKU is running +error.Details=Details +error.Retry=Retry +error.InvalidBKU=Invalid BKU selection. Please check. +error.InvalidSettings=Invalid settings are still present. Please check your input. +error.FailedToSaveSettings=Failed to save configuration file! +error.InvalidPhoneNumber=Given phone number is invalid! Example: +43664123456789 +error.EnteredReferenceValue=You entered the reference value! +error.TanTooLong=Entered TAN too long +error.FailedToGetSignedDocument=Failed to get signed document. +error.FailedToLoadEmblem=Failed to load the emblem + +exception.InvalidEmblemFile= is an invalid emblem file! +exception.InvalidPort= is invalid has to be between 1 and +exception.PasswordTooLong=Given password is too long! +exception.PasswordTooShort=Given password is too short! + +argument.help.bku=Select the BKU to use values are: LOCAL, MOBILE (example: -b