forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Brondsema <d...@brondsema.net>
Subject Re: using -Dproperty=value
Date Thu, 26 Aug 2004 13:34:04 GMT
On Wed, 25 Aug 2004, Dave Brondsema wrote:

> On Mon, 23 Aug 2004, Dave Brondsema wrote:
>
> >
> > Before copyless we could do /forrest -Dproject.skin=skinname/ to override
> > anything loaded from a properties file.  To achieve the same affect now, I
> > locally modified ForrestConfModule.java to check system properties and I
> > have to call forrest like this: /forrest -Dproject.skin=skinname
> > "-Dforrest.jvmargs=-Dproject.skin=skinname/
> >
> > Any ideas on how to make this easier?  Is there a way to pass all the
> > system properties to the java instance running cocoon instead of having to
> > specify them again in forrest.jvmargs?
> >
>
> The latest (CVS) Ant has a clonevm option for the <java> task, which
> copies the bootpath and system properties when forking the process.  I
> will try this in conjuction with my modification to ForrestConfModule and
> see if it works.
>

Replying to myself again... I just commited a fix for this issue.  And it
doesn't use the new clonevm so we can stay on a stable Ant release.

-- 
Dave Brondsema : dave@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
http://csx.calvin.edu : student org

Mime
View raw message