Non-intrusive option to select one of the 3 virtualization technologies supported...
authorMadhu Venugopal <mavenugo@gmail.com>
Thu, 12 Dec 2013 01:27:53 +0000 (17:27 -0800)
committerMadhu Venugopal <mavenugo@gmail.com>
Thu, 12 Dec 2013 02:43:16 +0000 (18:43 -0800)
commit2b748102db223798265f31cd3b1609120d58c852
tree2b8fcb48fb42bc1a7efb5577997501952147c409
parentd1c6a3735d6fa3e10858d467311a8335324754f2
Non-intrusive option to select one of the 3 virtualization technologies supported in Hydrogen release : opendove, ovsdb, vtn.

The basic idea is to make use of the Apache Felix FileInstall to filter out the excluded technology.
In order to avoid introducing multiple config files and keep the changes contained in the Integration branch & Virtualization edition,
we decided to play with a maven assembly plugin option which essentially provides a way to wrap the root run.sh with a virtualization
edition's run.sh.

1. The root run.sh from the base edition is renamed to run.base.sh
2. Introduced a new run.sh (in assemble/resources folder - Note I didnt add it in main/resources to avoid conflicts)
   which is essentially a wrapper for run.base.sh.
3. Maven Assembly plugin takes care of the rest with the <file> and <fileSet> changes.

Change-Id: I76554e60fd3360f6ceea2fec06c98897cac4b99b
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
distributions/virtualization/src/assemble/bin.xml
distributions/virtualization/src/assemble/resources/run.sh [new file with mode: 0755]