Created
September 25, 2019 14:46
-
-
Save ani03sha/314cd178908de80d767b06d20d4373aa to your computer and use it in GitHub Desktop.
Create FDS in AEM using path from system variable - datastore_home
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
java -jar C:/Users/Admin/Desktop/Shell-Testing/aem-author-p4502.jar -unpack | |
mkdir crx-quickstart/install | |
touch crx-quickstart/install/org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config | |
echo "repository.home=${datastore_home}" > "crx-quickstart/install/org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config" | |
echo "path=${datastore_home}" >> "crx-quickstart/install/org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config" | |
echo "minRecordLength=\"16384\"" >> "crx-quickstart/install/org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.config" | |
java -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n -jar aem-author-p4502.jar -r author -gui |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment