This is an automated email from the ASF dual-hosted git repository.
davidb pushed a commit to branch flatcp
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git
The following commit(s) were added to refs/heads/flatcp by this push:
new e2672706 Offline jar
e2672706 is described below
commit e2672706cd451e3b113cbfa3ef84f3fd5fb41d7a
Author: David Bosschaert <[email protected]>
AuthorDate: Thu Sep 12 15:32:10 2024 +0100
Offline jar
---
sling-mini/launch-offline.sh | 18 ++++++++++++++++++
sling-mini/pom.xml | 8 ++++----
2 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/sling-mini/launch-offline.sh b/sling-mini/launch-offline.sh
new file mode 100755
index 00000000..3d7b3768
--- /dev/null
+++ b/sling-mini/launch-offline.sh
@@ -0,0 +1,18 @@
+pushd target
+rm -rf launcher
+# java -agentlib:jdwp=transport=dt_socket,address=*:7777,server=y,suspend=y \
+java \
+-cp
"artifacts/org/apache/sling/org.apache.sling.feature.launcher.atomos/0.0.1-SNAPSHOT/org.apache.sling.feature.launcher.atomos-0.0.1-SNAPSHOT.jar:\
+artifacts/org/apache/sling/org.apache.sling.feature.launcher/1.2.4/org.apache.sling.feature.launcher-1.2.4.jar:\
+artifacts/org/apache/felix/org.apache.felix.atomos/1.0.1-SNAPSHOT/org.apache.felix.atomos-1.0.1-SNAPSHOT.jar:\
+artifacts/org/slf4j/slf4j-simple/1.7.25/slf4j-simple-1.7.25.jar:\
+artifacts/org/apache/sling/org.apache.sling.feature/1.3.0/org.apache.sling.feature-1.3.0.jar:\
+artifacts/org/apache/felix/org.apache.felix.cm.json/1.0.6/org.apache.felix.cm.json-1.0.6.jar:\
+artifacts/commons-cli/commons-cli/1.4/commons-cli-1.4.jar:\
+artifacts/org/apache/felix/org.apache.felix.framework/7.0.5/org.apache.felix.framework-7.0.5.jar:\
+/Users/david/.m2/repository/org/apache/sling/org.apache.sling.commons.johnzon/1.2.16/org.apache.sling.commons.johnzon-1.2.16.jar:\
+artifacts/org/apache/commons/commons-text/1.10.0/commons-text-1.10.0.jar:\
+atomos-config/app.substrate.jar" \
+org.apache.sling.feature.launcher.impl.Main \
+-f
file:///Users/david/clones/sling-whiteboard_2/sling-mini/target/slingfeature-tmp/feature-offlineapp.json
+popd
diff --git a/sling-mini/pom.xml b/sling-mini/pom.xml
index fde6e1b2..6e7852fe 100644
--- a/sling-mini/pom.xml
+++ b/sling-mini/pom.xml
@@ -31,12 +31,12 @@
<sling.java.version>11</sling.java.version>
<launcher.version>1.3.0</launcher.version>
<project.build.outputTimestamp>1</project.build.outputTimestamp>
- <sourceDir>/tmp/docs</sourceDir>
- <targetDir>/tmp/offliner</targetDir>
- <!--
+
<sourceDir>/Users/david/clones/sling-whiteboard_2/sling-mini/content/docs</sourceDir>
+
<targetDir>/Users/david/clones/sling-whiteboard_2/sling-mini/content/offline</targetDir>
<feature>offlineapp</feature>
- -->
+ <!--
<feature>fullwebapp</feature>
+ -->
</properties>
<build>