) throws Exception {
try {
LibraryConfiguration config = new LibraryConfiguration();
config.setSourceDirectory(sourceDirectory);
config.setLicenseFile(licenseFile);
config.parseConfiguration(configFile);
// Create merged version
{
MergeProcess mergeProcess = new MergeProcess();
mergeProcess.generate(config, new File(sourceDirectory, libraryName));