//
// Process Features
//
addFlattenedFeatures(startFile.getParentFile(), engine, model);
FileWriter writer = new FileWriter(startFile);
engine.process(writer);
}
/**
* Adds features to widget start file by injecting javascript and stylesheets
* required by each supported feature in the model.