resourceType.setBundleType(new BundleType(typeName, resourceType));
// do NOT parse the target types of bundle type right now so that we don't
// require the plugin writer to order the types herself
}
BundleTargetDescriptor bundleTarget = resourceDescriptor.getBundleTarget();
if (bundleTarget != null) {
List<BundleDestination> destDefs = bundleTarget.getDestinationBaseDirOrDestinationDefinition();
if (destDefs != null && destDefs.size() > 0) {
Configuration c = new Configuration();
ResourceTypeBundleConfiguration bundleConfiguration = new ResourceTypeBundleConfiguration(c);
for (BundleDestination destDef : destDefs) {
if (destDef instanceof BundleDestinationBaseDir) {