diff options
3 files changed, 9 insertions, 5 deletions
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 0b6d30eb..b39c395a 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Thu Aug 27 09:35:15 CEST 2015 +#Mon Jul 25 10:14:49 CEST 2016 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip diff --git a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/DeveloperMain.java b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/DeveloperMain.java index ccf4b80e..4c84ce30 100644 --- a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/DeveloperMain.java +++ b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/DeveloperMain.java @@ -24,8 +24,11 @@ package at.gv.egiz.pdfas.cli; import java.io.File; +import java.util.Iterator; +import at.gv.egiz.pdfas.lib.api.PdfAs; import at.gv.egiz.pdfas.lib.api.PdfAsFactory; +import at.gv.egiz.pdfas.lib.impl.configuration.ConfigurationImpl; public class DeveloperMain { @@ -35,14 +38,15 @@ public class DeveloperMain { //public static final String keyAlias = "pdf"; public static final String keyAlias = "ecc_test"; public static final String keyPass = "123456"; - + public static void main(String[] args) { String user_home = System.getProperty("user.home"); String pdfas_dir = user_home + File.separator + ".pdfas"; - /*PdfAs pdfas = */PdfAsFactory.createPdfAs(new File(pdfas_dir)); + PdfAs pdfas = PdfAsFactory.createPdfAs(new File(pdfas_dir)); + ((ConfigurationImpl)pdfas.getConfiguration()).debugDumpProfileSettings("SIGNATURBLOCK_EN_SEAL"); System.out.println(PdfAsFactory.getVersion()); return; diff --git a/pdf-as-cli/src/test/java/at/gv/egiz/pdfas/cli/test/SignaturProfileTest.java b/pdf-as-cli/src/test/java/at/gv/egiz/pdfas/cli/test/SignaturProfileTest.java index 75f19c71..cb42fe3b 100644 --- a/pdf-as-cli/src/test/java/at/gv/egiz/pdfas/cli/test/SignaturProfileTest.java +++ b/pdf-as-cli/src/test/java/at/gv/egiz/pdfas/cli/test/SignaturProfileTest.java @@ -46,7 +46,7 @@ import at.gv.egiz.pdfas.sigs.pades.PAdESSignerKeystore; public class SignaturProfileTest { - public static final String sourcePDFA = "/home/afitzek/tmp/pdfProblem/PDFA/TestGhostscriptPdfA.pdf"; + public static final String sourcePDFA = "/home/afitzek/simple_pdfa.pdf"; public static final String sourcePDF = "/home/afitzek/simple.pdf"; public static final String targetFolder = "/home/afitzek/tmp/sigres/"; |