mirror of https://github.com/qortal/qortal
Qortal Core - Main Code Repository
Decentralized Data Network - Blockchain - TRUE Cross-Chain Trading - Application and Website Hosting - Much More - Qortal is the future internet infrastructure for the global digital world.
https://qortal.dev
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
485 B
20 lines
485 B
6 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
BUNDLES="org.apache.felix.gogo.runtime org.apache.felix.gogo.shell org.apache.felix.gogo.command org.eclipse.equinox.console"
|
||
|
JAR=org.eclipse.osgi
|
||
|
PLUGIN_DIR=/usr/local/lib/eclipse/plugins
|
||
|
|
||
|
for bundle in ${BUNDLES}; do
|
||
|
bundle_path=`echo ${PLUGIN_DIR}/${bundle}_*.jar`
|
||
|
|
||
|
if [ -z "${bundles_arg}" ]; then
|
||
|
bundles_arg=-Dosgi.bundles=
|
||
|
else
|
||
|
bundles_arg+=,
|
||
|
fi
|
||
|
|
||
|
bundles_arg+=${bundle_path}@start
|
||
|
done
|
||
|
|
||
|
java ${bundles_arg} -jar ${PLUGIN_DIR}/${JAR}_*.jar -console
|