add flag generateBundleFiles to suppress modification of plugin.xml and manifest.mf (incomplete)