After much trial and error I was able to get the cocoon's xpatch ant task to run in maven. I have created several patch files for my own cocoon components and then patch the cocoon.xconf created by the Cocoon build. To do this I created this goal:
<goal name="patch"> <ant:taskdef name="xpatch" classname="XConfToolTask" classpathref="maven.dependency.classpath"/> <echo>cocoon.xconf: ${cocoon.xconf}</echo> <j:set var="banking" value="true"/> <ant:xpatch file="${cocoon.xconf}" srcdir="${maven.src.dir}/config" includes="**/*.xconf" addComments="true"> ${systemScope.setProperty('javax.xml.transform.TransformerFactory', 'org.apache.xalan.processor.TransformerFactoryImpl')} </ant:xpatch> </goal> I also had to manually jar the classes in tools/anttasks and make it a project dependency for this to work. Ralph > -----Original Message----- > From: Gernot Koller [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 18, 2003 11:33 AM > To: [EMAIL PROTECTED] > Subject: Migration Problems 2.1.2 -> 2.1.3 eventcache and > headerselector > > By the way if anybody has a better method of migrating the > cocoon.xconf file > from one version to the next, than the poor heuristics that I > use, please > enlighten me !! > > Thanks for your input, > > Gernot --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]