String selectorConfigName) throws DetailedSerializationException {
if (!force && item.isBinaryUpToDate()) {
// we can just return all OK if its up to date.
return null;
}
PackageAssemblerConfiguration packageAssemblerConfiguration = new PackageAssemblerConfiguration();
packageAssemblerConfiguration.setBuildMode(buildMode);
packageAssemblerConfiguration.setStatusOperator(statusOperator);
packageAssemblerConfiguration.setStatusDescriptionValue(statusDescriptionValue);
packageAssemblerConfiguration.setEnableStatusSelector(enableStatusSelector);
packageAssemblerConfiguration.setCategoryOperator(categoryOperator);
packageAssemblerConfiguration.setCategoryValue(category);
packageAssemblerConfiguration.setEnableCategorySelector(enableCategorySelector);
packageAssemblerConfiguration.setCustomSelectorConfigName(selectorConfigName);
PackageAssembler asm = new PackageAssembler(item,
packageAssemblerConfiguration);
asm.compile();
if (asm.hasErrors()) {
BuilderResult result = new BuilderResult();