try {
LibraryConfiguration config = new LibraryConfiguration();
config.setLicenseFile(licenseFile);
config.setSourceDirectory(sourceDirectory);
config.parseConfiguration(configFile);
// Create minimized version
{
CompressProcess compressProcess = new CompressProcess();
compressProcess.generate(config, new File(sourceDirectory, libraryName));