This should help: http://ant-contrib.sourceforge.net/ Cheers, Martin On 2017-12-24 03:04 PM, Syd Bauman wrote:
The problem, of course, originates on line 30 of build_utilities.xml: <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
The versions of `ant` are exactly the same on the two systems, BTW: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
I do not find a file called 'antcontrib.properties' on either system.
When I run `ant test` from Stylesheets/Test2 on an Ubuntu system, it works. (Well, to be more precise, it eventually fails due to diff reasons you already know about>) But if I run it on my Mac, I get
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
I have a reasonable suspicious that this is a problem with my `ant` configuration, since it does not matter what target I use (even `ant werp`), this error is generated. Although I get a lot more occurrences of it with `ant test`, and then the build eventually fails with "Problem: failed to create task or type foreach Cause: The name is undefined.".
Thoughts?