ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Ant not passing System values to JUnit task
Date Wed, 03 Dec 2003 07:29:56 GMT
On Tue, 2 Dec 2003, Jeff Dubois <> wrote:

> To quote the ant manual: "Ant provides access to all system
> properties as if they had been defined using a <property> task. For
> example, ${} expands to the name of the operating system."

Inside Ant's VM.

"Normal" Ant properties are not available to a forked <junit> task

If you want to give Ant 1.6beta a try, you can use

<junit ...>
    <propertyref builtin="system"/>

to automagically pass all system properties to the forked VM without
having to enumerate them in your build file.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message