BeanConfigurator.configure(xconf, cocoon, "", uriGroup, listener);
System.out.println(CocoonBean.getProlog());
if (!cocoon.isPrecompileOnly() && cocoon.getTargetCount() ==0) {
listener.messageGenerated("Please, specify at least one starting URI.");
System.exit(1);
}
cocoon.initialize();
cocoon.process();