DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12024>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12024

[PATCH] Enable junit to inherit Ant properties as system properties





------- Additional Comments From [EMAIL PROTECTED]  2003-05-12 14:10 -------
<propertyset> is now a nested element of the <ant> task variations and as
<syspropertyset> for <java> and <junit>.

There is currently no way to specify "all Ant properties" AFAICS, but to pass
all properties that match a certain pattern to your testcases with a prefix of
"ant" would look like this:

<junit ...>
  <syspropertyset>
    <propertyref regexp="${pattern}"/>
    <mapper type="glob" from="*" to "ant*"/>
  </syspropertyset>
</junit>

this is a rather complex example and there are simpler selections mechanisms 
than
regular expressions.

Leaving the report open to remind me that docs are still missing.

Reply via email to