-
Notifications
You must be signed in to change notification settings - Fork 1
Folder: apache_ace_config
#Apache Ace configuration This page shows you how to configure Apache Ace remotely. The files can be found here.
##ace_init.py
###Synopsis
python ace_init.py [configuration.xml] [path_to_bundle_dir]
###Description
This python script configures Ace using the given xml and the bundles that are in [path_to_bundle_dir]
. The script creates artifacts from the bundles, and artifact2features, features, feature2distributions, distributions and distribution2targets from the given xml file.
###Notes
- You will have to change the script if you want to filter the distribution2target on different tags.
- The filetree of
[path_to_bundle_dir]
has to look something like this:
|--[path_to_bundle_dir]
|--bundle1-armeabi.jar
|--bundle2-armeabi.jar
|--bundle1-armeabi-v7a.jar
|--bundle2-armeabi-v7a.jar
|--bundle1-linux-x86_64.jar
|--bundle2-linux-x86_64.jar
- Default ip:port is localhost:8080 but feel free to change that.
##config.xml Describes which artifact2features, features, feature2distribution, distribution and distribution2targets have to be configured. Is used by ace_init.py.
##bundle-renamer/ziptojar.sh
Small shell script that converts zips to jar so they can be uploaded to Ace. Converts zip files located in zips/[cpu_arch]
to jars located in jars/
. Also changes the name of the file to [symbolic_name]_[cpu_arch].jar
Before running the script:
|--ziptojar.sh
|--zips
|--armeabi
|--bundle1.zip
|--bundle2.zip
|--armeabi-v7a
|--bundle1.zip
|--bundle2.zip
|--linux-x86_64
|--bundle1.zip
|--bundle2.zip
After running the script
|--ziptojar.sh
|--zips
|--armeabi
|--bundle1.zip
|--bundle2.zip
|--armeabi-v7a
|--bundle1.zip
|--bundle2.zip
|--linux-x86_64
|--bundle1.zip
|--bundle2.zip
|--jars
|--bundle1-armeabi.jar
|--bundle2-armeabi.jar
|--bundle1-armeabi-v7a.jar
|--bundle2-armeabi-v7a.jar
|--bundle1-linux-x86_64.jar
|--bundle2-linux-x86_64.jar