From 6684441798e6fdb899f4e67e39a42ccd40e8a607 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 18:59:00 +0000 Subject: Fixed some error with output folder variables setting pdfas config folder added extraction of pdfover config folder git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@66 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java | 1 + 1 file changed, 1 insertion(+) (limited to 'pdf-over-signer/pdf-over-sigpdfas/src/main/java/at') diff --git a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java index cac338ba..ee3cc7a9 100644 --- a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java +++ b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java @@ -46,6 +46,7 @@ public class PDFASHelper { private static PdfAs createPdfAs() throws PdfAsException { File directory = new File ("."); System.setProperty("log4j.configuration", directory.getAbsolutePath()+"/log4j.properties"); + System.setProperty("pdf-as.work-dir", System.getProperty("user.home")+"/.pdfover"); return new at.gv.egiz.pdfas.impl.api.PdfAsObject(); } -- cgit v1.2.3