commit | e8468b5743d94f1cc0bcda037855b68458952274 | [log] [tgz] |
---|---|---|
author | Brian O'Connor <bocon@onlab.us> | Mon Jul 25 13:42:36 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Aug 03 22:27:51 2016 +0000 |
tree | 97496febffccf7aa52ae273b4d7e44c0228a485f | |
parent | bb23e0b5fb0de34ccf33fc4d06253fc593bdfdaa [diff] [blame] |
ONOS Swagger Plugin just does swagger now to build the plugin, you need to download to following: https://github.com/bocon13/buck/releases/download/v2016.07.29.01-wip/buck.jar put the buck.jar in tools/build/buck-plugin/lib Change-Id: Id1b833dd013fbc5581f8e884e755920829c4a17e
diff --git a/tools/build/buck-plugin/buck-plugin-install b/tools/build/buck-plugin/buck-plugin-install new file mode 100755 index 0000000..4d71039 --- /dev/null +++ b/tools/build/buck-plugin/buck-plugin-install
@@ -0,0 +1,12 @@ +#!/bin/bash + +PLUGINS=$ONOS_ROOT/bucklets/plugins + +# Build it first +pluginJar=$(NO_BUCKD=1 buck build //tools/build/buck-plugin:onosjar --no-cache --show-output | grep onosjar.jar | cut -d\ -f2) + +# Then install it +mkdir -p $PLUGINS +cp $ONOS_ROOT/$pluginJar $PLUGINS + +ls -l $PLUGINS