forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: temporarily override parts of cli.xconf
Date Fri, 26 Sep 2003 13:21:47 GMT
On Fri, Sep 26, 2003 at 09:04:14AM +0100, Upayavira wrote:
> Dave Brondsema wrote:
> >On Thu, 25 Sep 2003, Upayavira wrote:
...
> >>Command line parameters should automatically override their xconf
> >>equivalents. Try it and let me know if this is not the case.
> >>
> >>Regards, Upayavira
...

> >Could you give an example?  I tried using the options listed on
> >http://wiki.cocoondev.org/Wiki.jsp?page=CommandLine  Neither of the
> >following worked.
...
> 
> I'm assuming here that parameters to Forrest are passed on to the CLI. I 
> have absolutely no idea about that.

Only some Forrest command-line params are passed on to the Cocoon CLI:

 <java classname="org.apache.cocoon.Main"
   fork="true"
   dir="${project.ctxt-dir}"
   failonerror="true"
   maxmemory="${forrest.maxmemory}">
   <jvmarg line="${forrest.jvmargs}"/>
   <jvmarg value="-Djava.endorsed.dirs=${forrest.home}/lib/endorsed${path.separator}${java.endorsed.dirs}"/>
   <arg value="--logLevel=${project.debuglevel}"/>
   <arg value="--Logger=${project.logger}"/>
   <arg value="--logKitconfig=${project.logkitfile}"/>
   <arg value="--destDir=${project.site-dir}"/>
   <arg value="--xconf=${project.configfile}"/>
   <arg value="${project.start-uri}"/>
   <classpath>
     <path refid="forrest.cp"/>
   </classpath>
 </java>

Any others that people want can be added.

--Jeff

> 
> Regards, Upayavira
> 

Mime
View raw message