ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remie Bolte" <re...@backbase.com>
Subject Re: User properties
Date Wed, 12 Nov 2008 12:36:49 GMT
Hi Stefan,

I achieved my goal using the following:

                <syspropertyset>
                    <propertyref builtin="commandline" />
                </syspropertyset>

This selects all the properties I want to be passed to my new process.

Thanks for your help!

Cheers,

Remie


On Wed, Nov 12, 2008 at 1:22 PM, Stefan Bodewig <bodewig@apache.org> wrote:

> On 2008-11-12, Remie Bolte <remie@backbase.com> wrote:
>
> > This would make the properties available as system properties in Java
> > applications, right?
>
> Right.
>
> > If I would be invoking an ant script using the java task (i need to
> switch
> > JDK), and i would want to pass certain properties, would this also work?
>
> Yes.  System properties are available as Ant properties, they are not
> user properties, though.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message