// assemble bundle as usual, but don't save it - this way we have all the instructions we need
Builder builder = buildOSGiBundle( currentProject, originalInstructions, properties, classpath );
Properties bndProperties = builder.getProperties();
// cleanup and remove all non-strings from the builder properties
for ( Iterator i = bndProperties.values().iterator(); i.hasNext(); )
{
if ( !( i.next() instanceof String ) )
{
i.remove();
}