cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@digitalinsight.com>
Subject RE: Migration Problems 2.1.2 -> 2.1.3 eventcache and headerselect or
Date Thu, 18 Dec 2003 20:57:41 GMT
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:gernot.cocoon@gmx.at]
> Sent: Thursday, December 18, 2003 11:33 AM
> To: users@cocoon.apache.org
> 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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message