config.setLicenseFile(licenseFile);
config.parseConfiguration(configFile);
// Create merged version
{
MergeProcess mergeProcess = new MergeProcess();
mergeProcess.generate(config, new File(sourceDirectory, libraryName));
}
} catch(Exception e) {
throw new Exception("Error while generating CSS library: "+libraryName);
}