Hi, I noticed that the file “applicationContext.xml” does not contain a reference to the custom bean definition file “more.xml” while the file “applicationContext-test.xml” imports more-test.xml as expected. This leads to successful tests but the deployed EAR fails with a NPE because more.xml is not evaluated obviously.
My use-case is the mapping of entities to data transfer objects (DTOs, sometimes also referred to as Value Object – not the kind of Value Object available in Sculptor, however) using Dozer. The Dozer mapper can be configured as a singleton Spring bean and then be injected into the beans that need it. The developer’s guide mentions the possibility to override bean definitions, but does not recommend it. What is the recommended way to inject custom beans into generated services? Or is this just a bug in the generation of the applicationContext.xml? Martin Klinke Xavo AG http://www.xavo.de -- View this message in context: http://www.nabble.com/-Sculptor--applicationContext.xml-does-not-import-more.xml-tp16301150s17564p16301150.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Fornax-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fornax-developer
