Skip to content

Instantly share code, notes, and snippets.

@elizoller
Last active November 8, 2019 21:10
Show Gist options
  • Save elizoller/3cf3b2e304c156eab7ff8f4ab674ecda to your computer and use it in GitHub Desktop.
Save elizoller/3cf3b2e304c156eab7ff8f4ab674ecda to your computer and use it in GitHub Desktop.
Tips for developing with Alpaca
  1. clone alpaca into /home/karaf in your vagrant vm
  2. modify java files as needed
  3. run sudo ./gradlew clean build install from /home/karaf/Alpaca to rebuild the jar's
  4. run the karaf client (./bin/client in /opt/karaf)
  5. feature:list | grep islandora (to see all the features from islandora)
  6. feature:uninstall each of those
  7. repo-list to see all of the repos
  8. repo-remove the one that says islandora
  9. repo-add your new local features file, which should be somewhere like /home/karaf/Alpaca/karaf/build/resources/main/features.xml 'repo-add file:/home/karaf/Alpaca/karaf/build/resources/main/features.xml'
  10. feature:list | grep islandora should reveal the uninstalled features
  11. feature:install each of those if that doesn't have an issue you're good if you have an issue then check the logs in /opt/karaf/data/log/karaf.log you may need to uncomment the like #org.ops4j.pax.url.mvn.localRepository in the /opt/karaf/etc/org.ops4j.pax.url.mvn.cfg file in order to be able to find the local jars
@seth-shaw-unlv
Copy link

If you could include a version of this in the documentation sprint so we can find it later, that would be really useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment