bndtools/bnd — pull request #346 by rimmeraj (2013-05-01 14:01:31+00:00)
Title: BSN!=Dir , support for nested directorys

Here is attempt #2. I have added 19 tests around Workspace to test the changes and now the existing test suite runs. The bnd and bndlib bundles are running in our env which is a command line ant build and eclipse using bndtools, with GIT as our SCM.

To use the nested workspace in the projects parent directory you need to add a file that contains one line , that is a relative location of where the cnf lives. If the location is absolute we will find it but assume it is not a nested project.

So a sample GIT layout in eclipse
myWorkspace

cnf.repo/
cnf/build.bnd

repo1/
proj1/bnd.bnd
proj2/bnd.bnd
cnf -> contains ../cnf.repo

repo2/
proj3/bnd.bnd
cnf -> contains ../cnf.repo

To use the BSN!=directory name you need to add -directoryNotBSN to the cnf/build.bnd
If this is set the BSN is Bundle-SymbolicName that is in the projects bnd.bnd. If this is missing it is assumed that this is not a valid project.