cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] CommandLine Tue Feb 18 13:00:03 2003
Date Tue, 18 Feb 2003 12:00:03 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=CommandLine , version: 7 on Tue Feb 18 11:39:34
2003 by BertrandDelacretaz

+ !!!15. Sample from Cocoon's own build.xml file
+ Cocoon uses itself in command-line mode to generate its documentation. Studying the build.xml
file that comes with the Cocoon source gives a very concrete example of how to use the command-line
mode.
+ Here's the relevant build.xml section from the current source code. Although this build
information is meant for ''ant'', it is fairly self-explanatory.
+ {{{
+ <java classname="org.apache.cocoon.Main" fork="true"
+ dir="${build.context}"
+           failonerror="true" maxmemory="128m">
+       <arg value="-c."/>
+       <arg value="-d../docs"/>
+       <arg value="-w../work"/>
+       <arg value="-b../brokenlinks.txt"/>
+       <arg value="-k../documentation/logkit.xconf"/>
+       <arg value="-u${build.docs.loglevel}"/>
+       <arg value="-V"/>
+       <arg value="index.html"/>
+       <classpath>
+         <path refid="classpath"/>
+         <fileset dir="${build.dir}">
+           <include name="*.jar"/>
+         </fileset>
+         <pathelement location="${tools.jar}"/>
+         <pathelement location="${build.context}/WEB-INF/classes"/>
+       </classpath>
+     </java> 
+ }}}
+ 
+ 



Mime
View raw message