[rules-users] System.out in org.kie.spring.KModuleBeanFactoryPostProcessor Line 103
kmansoor
kmansoor at hotmail.com
Tue Feb 25 06:08:51 EST 2014
I wonder if logger.info should be used instead?
public void postProcessBeanFactory(ConfigurableListableBeanFactory
beanFactory) throws BeansException {
log.info(":: BeanFactoryPostProcessor::postProcessBeanFactory called
::");
if ( releaseId == null && configFilePath != null) {
fixConfigFilePathForVfs();
String pomProperties = null;
if ( configFilePath.endsWith("WEB-INF/classes/")){
String configFilePathForWebApps =
configFilePath.substring(0, configFilePath.indexOf("WEB-INF/classes/"));
pomProperties =
ClasspathKieProject.getPomProperties(configFilePathForWebApps);
} else {
pomProperties =
ClasspathKieProject.getPomProperties(configFilePath);
}
if (pomProperties != null) {
releaseId =
ReleaseIdImpl.fromPropertiesString(pomProperties);
} else {
releaseId = new ReleaseIdImpl("org.default",
"artifact","1.0.0-SNAPSHOT");
}
KieSpringUtils.setDefaultReleaseId(releaseId);
System.out.println("releaseId == "+releaseId);
}
--
View this message in context: http://drools.46999.n3.nabble.com/System-out-in-org-kie-spring-KModuleBeanFactoryPostProcessor-Line-103-tp4028297.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list