ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Setting multiple properties in one condition
Date Fri, 13 Dec 2002 15:19:30 GMT
And <java>/<junit> as well please, so one can say

<propertyset id="runtime properties">

  <syspropertyset refid="runtime properties" />

  <syspropertyset refid="runtime properties" />

Currently, I have to use entity include to achieve the same thing, and since
the element name is <sysproperty> for <java>/<junit>, but <property>
<ant>, and <param> for <antcall>, entity include doesn't even work!!!

  <propertyset refid="runtime properties" />

  <paramset refid="runtime properties" />

By having this <propertyset>, which would need mechanism to *pull in*
existing properties within it (using a prefix or regex match on the property
name I guess), one could streamline the property/sysproperty/param passing
to quite a few tasks.

Strangely enough, the same applies to <envset> for <exec> / <apply> / <java
fork="true"> / <junit fork="true">... --DD

-----Original Message-----
From: Stefan Bodewig [] 
Sent: Friday, December 13, 2002 9:10 AM
Subject: Re: Setting multiple properties in one condition

On Sat, 14 Dec 2002, Conor MacNeill <>

> Thoughts?

You could have used Dominique's or Diane's ideas 8-)


Now, if you add ids to the <propertset>s and make them refid-able in
<ant> and <antcall> and make them definable outside of <condition> as
well ... +1


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

View raw message