aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main/distribution
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-lib/src/main/distribution')
-rw-r--r--pdf-as-lib/src/main/distribution/brz/pdf-as.bat8
-rw-r--r--pdf-as-lib/src/main/distribution/cl/pdf-as.bat8
-rw-r--r--pdf-as-lib/src/main/distribution/cl/pdf-as.sh8
-rw-r--r--pdf-as-lib/src/main/distribution/cl/sign.bat1
-rw-r--r--pdf-as-lib/src/main/distribution/cl/sign.sh3
5 files changed, 28 insertions, 0 deletions
diff --git a/pdf-as-lib/src/main/distribution/brz/pdf-as.bat b/pdf-as-lib/src/main/distribution/brz/pdf-as.bat
new file mode 100644
index 0000000..059b977
--- /dev/null
+++ b/pdf-as-lib/src/main/distribution/brz/pdf-as.bat
@@ -0,0 +1,8 @@
+@echo off
+
+rem Deploy embedded default configuration to current folder
+rem Note: Configuration is not deployed if it already exists.
+rem java -Dpdf-as.work-dir=. -jar ${project.build.finalName}.jar -ddc
+
+rem Start commandline
+java -Xms128m -Xmx786m -XX:MaxPermSize=256m -Dpdf-as.work-dir=. -jar ${project.build.finalName}.jar %*
diff --git a/pdf-as-lib/src/main/distribution/cl/pdf-as.bat b/pdf-as-lib/src/main/distribution/cl/pdf-as.bat
new file mode 100644
index 0000000..0cadb9a
--- /dev/null
+++ b/pdf-as-lib/src/main/distribution/cl/pdf-as.bat
@@ -0,0 +1,8 @@
+@echo off
+
+rem Deploys embedded default configuration to USER_HOME/PDF-AS.
+rem Note: Configuration is not deployed if it already exists.
+java -jar ${project.build.finalName}.jar -ddc
+
+rem Start commandline
+java -Xms128m -Xmx786m -XX:MaxPermSize=256m -jar ${project.build.finalName}.jar %*
diff --git a/pdf-as-lib/src/main/distribution/cl/pdf-as.sh b/pdf-as-lib/src/main/distribution/cl/pdf-as.sh
new file mode 100644
index 0000000..f47bc5f
--- /dev/null
+++ b/pdf-as-lib/src/main/distribution/cl/pdf-as.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# Deploys embedded default configuration to USER_HOME/PDF-AS.
+# Note: Configuration is not deployed if it already exists.
+java -jar ${project.build.finalName}.jar -ddc
+
+# Start commandline
+java -Xms128m -Xmx786m -XX:MaxPermSize=256m -jar ${project.build.finalName}.jar $@
diff --git a/pdf-as-lib/src/main/distribution/cl/sign.bat b/pdf-as-lib/src/main/distribution/cl/sign.bat
new file mode 100644
index 0000000..e25213b
--- /dev/null
+++ b/pdf-as-lib/src/main/distribution/cl/sign.bat
@@ -0,0 +1 @@
+call pdf-as.bat -mode sign -sigmode textual -connector bku %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/pdf-as-lib/src/main/distribution/cl/sign.sh b/pdf-as-lib/src/main/distribution/cl/sign.sh
new file mode 100644
index 0000000..410b3fe
--- /dev/null
+++ b/pdf-as-lib/src/main/distribution/cl/sign.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+./pdf-as.sh -mode sign -sigmode textual -connector bku $@