bndtools/bndtools — Issue #307: Weird errors in projects when using custom BSN's
Author: m4rr5
Created: 2011-11-30 17:01:45+00:00
State: open

Steps to reproduce:

1. Start with a fresh workspace, create a standard cnf project and a project called "org.foo".
1. Enable sub bundles and create a bundle descriptor called "demo.bnd" and leave it empty.
1. Create a second bundle descriptor called "bar.bnd" and put in the following line: "Bundle-SymbolicName: org.bar".
1. Validate that in generated, there is a org.foo.demo.jar and an org.bar.jar bundle.
1. Create a second project, call it "run".
1. Go to the run configuration tab, select any framework, then add (either as a requirement or directly as a bundle) the "org.bar" bundle we just created.
1. Watch the project blow up in your face.

I'm not sure what happens, but I think the problem starts when a BSN does not start with the name of the project.