cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Yates <>
Subject AntBuildGenerator
Date Wed, 21 May 2003 22:42:45 GMT
to paraphrase Daffy Duck:  Its stupendous. . . . , its collossal . . . , 
its . . . , its . . . AntBuildGenerator!

    I haven't tested this extensively but so far so good.  I wrote this 
for cocoon 2.1 to facilitate remote maintenance of our website which is moving into a much more secure 
environment to accomodate recently enacted health information privacy 
laws (HIPPA) here in the US.  We won't have direct log-on access to the 
server to do updates.  When I iron out all the wrinkles, our content 
person will be able to commit content changes to cvs, then run an ant 
build script on the server remotely to checkout, validate and deploy the 
content onto the site.

xhtml stylesheet:


      <map:generator name="ant"
            <!-- optional parameters -->
        <parameter name="build-file" value="WEB-INF/build.xml"/>
        <parameter name="default-log-level" value="info"/>

      <map:pipeline match="ant">
        <map:generate type="ant"/>
        <map:transform type="xslt" src="ant.xsl"/>
        <map:serialize type="xhtml"/>

sample urls:

log levels are error,warn,info,verbose,debug

no target parameter = default target of build file

Charles Yates
Lane Medical Library

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message