forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Brondsema <d...@brondsema.net>
Subject Re: temporarily override parts of cli.xconf
Date Fri, 26 Sep 2003 16:33:38 GMT
Quoting Jeff Turner <jefft@apache.org>:

> 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.
> 

Would it be possible make forrest pass all CLI parameters?  Maybe something like 
--CLI.followLinks=false  so anything prefixed with CLI gets passed on?  That 
way, as the CLI changes forrest doesn't have to also to accomodate new features.

-- 
Dave Brondsema
dave@brondsema.net
http://www.brondsema.net - personal
http://www.splike.com - programming

Mime
View raw message