Source:
<code>private void compilejob(Item item) { ProcessItem processItem = (ProcessItem) item; Map<ExportChoice, Object> exportChoiceMap = JobScriptsManagerFactory.getDefaultExportChoiceMap(); exportChoiceMap.put(ExportChoice.doNotCompileCode, true); exportChoiceMap.put(ExportChoice.needDependencies, true); exportChoiceMap.put(ExportChoice.addStatistics, false); exportChoiceMap.put(ExportChoice.addTracs, false); exportChoiceMap.put(ExportChoice.needAntScript, false); exportChoiceMap.put(ExportChoice.needMavenScript, false); exportChoiceMap.put(ExportChoice.applyToChildren, false); exportChoiceMap.put(ExportChoice.needContext, true); exportChoiceMap.put(ExportChoice.binaries, true); exportChoiceMap.put(ExportChoice.needSourceCode, false); exportChoiceMap.put(ExportChoice.executeTests, false); exportChoiceMap.put(ExportChoice.includeTestSource, true); exportChoiceMap.put(ExportChoice.includeLibs, true); <START> exportChoiceMap.put(ExportChoice.needLog4jLevel, false); <END> exportChoiceMap.put(ExportChoice.jobType, ERepositoryObjectType.PROCESS); exportChoiceMap.put(ExportChoice.contextName, processItem.getProcess().getDefaultContext()); try { IBuildJobHandler handler = BuildJobFactory.createBuildJobHandler(processItem, processItem.getProcess().getDefaultContext(), processItem.getProperty().getVersion(), exportChoiceMap); Map<String, Object> prepareParams = new HashMap<String, Object>(); prepareParams.put(IBuildResourceParametes.OPTION_ITEMS, true); prepareParams.put(IBuildResourceParametes.OPTION_ITEMS_DEPENDENCIES, true); handler.prepare(null, prepareParams); } catch (ProcessorException e) { ExceptionHandler.process(e); } catch (Exception e) { ExceptionHandler.process(e); } }</code><technical_language>log4j message</technical_language>

Target:
private void compilejob(Item item) { ProcessItem processItem = (ProcessItem) item; Map<ExportChoice, Object> exportChoiceMap = JobScriptsManagerFactory.getDefaultExportChoiceMap(); exportChoiceMap.put(ExportChoice.needDependencies, true); exportChoiceMap.put(ExportChoice.addStatistics, false); exportChoiceMap.put(ExportChoice.addTracs, false); exportChoiceMap.put(ExportChoice.needAntScript, false); exportChoiceMap.put(ExportChoice.needMavenScript, false); exportChoiceMap.put(ExportChoice.applyToChildren, false); exportChoiceMap.put(ExportChoice.needContext, true); exportChoiceMap.put(ExportChoice.binaries, true); exportChoiceMap.put(ExportChoice.needSourceCode, false); exportChoiceMap.put(ExportChoice.includeLibs, true); exportChoiceMap.put(ExportChoice.needLog4jLevel, false); exportChoiceMap.put(ExportChoice.jobType, ERepositoryObjectType.PROCESS); exportChoiceMap.put(ExportChoice.contextName, processItem.getProcess().getDefaultContext()); try { IBuildJobHandler handler = BuildJobFactory.createBuildJobHandler(processItem, processItem.getProcess().getDefaultContext(), processItem.getProperty().getVersion(), exportChoiceMap); Map<String, Object> prepareParams = new HashMap<String, Object>(); prepareParams.put(IBuildResourceParametes.OPTION_ITEMS, true); prepareParams.put(IBuildResourceParametes.OPTION_ITEMS_DEPENDENCIES, true); handler.prepare(null, prepareParams); } catch (Exception e) { log.error(e.getMessage(),e); } }