summaryrefslogtreecommitdiff
path: root/pdf-over-signer/pdf-over-sigpdfas/src/main
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:31:08 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:31:08 +0000
commit0209ec963f8327b7fa66ed8164c8bc7445be3041 (patch)
treeac77568438dc8aa28afcaa135132cd5408422046 /pdf-over-signer/pdf-over-sigpdfas/src/main
parent9b34e45d009cdb4416b8864acbbc2c62864e8346 (diff)
downloadpdf-over-0209ec963f8327b7fa66ed8164c8bc7445be3041.tar.gz
pdf-over-0209ec963f8327b7fa66ed8164c8bc7445be3041.tar.bz2
pdf-over-0209ec963f8327b7fa66ed8164c8bc7445be3041.zip
Rename profile dir
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@361 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-signer/pdf-over-sigpdfas/src/main')
-rw-r--r--pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java7
1 files changed, 4 insertions, 3 deletions
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 d16b7532..473bbf42 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
@@ -45,8 +45,9 @@ 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");
+ System.setProperty("log4j.configuration", directory.getAbsolutePath() +
+ "/log4j.properties");
+ System.setProperty("pdf-as.work-dir", getWorkDir());
return new at.gv.egiz.pdfas.impl.api.PdfAsObject();
}
@@ -55,7 +56,7 @@ public class PDFASHelper {
* @return the working directory
*/
public static String getWorkDir() {
- return System.getProperty("user.home")+"/.pdfover";
+ return System.getProperty("user.home") + "/.pdf-over";
}
/**