Author: reinhard Date: Sun Oct 10 05:08:48 2004 New Revision: 54248 Modified: cocoon/whiteboard/block-deployer/src/impl/org/apache/cocoon/blockdeployer/wiring/WiringBuilder.java Log: doc deactivate debug messages
Modified: cocoon/whiteboard/block-deployer/src/impl/org/apache/cocoon/blockdeployer/wiring/WiringBuilder.java ============================================================================== --- cocoon/whiteboard/block-deployer/src/impl/org/apache/cocoon/blockdeployer/wiring/WiringBuilder.java (original) +++ cocoon/whiteboard/block-deployer/src/impl/org/apache/cocoon/blockdeployer/wiring/WiringBuilder.java Sun Oct 10 05:08:48 2004 @@ -29,6 +29,7 @@ public class WiringBuilder { public static Wiring build(File descriptorFile) throws Exception { + // create an object out of the descriptor file Mapping mapping = new Mapping(); // FIXME read the mapping by using the classloader mapping.loadMapping("mapping/wiring.xml-mapping.xml"); @@ -37,12 +38,15 @@ unmarshaller.setMapping(mapping); unmarshaller.setIgnoreExtraAttributes(true); unmarshaller.setIgnoreExtraElements(true); - unmarshaller.setDebug(true); + // unmarshaller.setDebug(true); InputStream is = new FileInputStream(descriptorFile); RealBlockWiring realblockWiring = (RealBlockWiring)unmarshaller.unmarshal(new InputStreamReader(is)); + return realblockWiring; } + + }