25 Mar 2004 19:55
Re: GroovyMarkup with Ant and JUnit
On 25 Mar 2004, at 18:14, Mike Clark wrote: > Calling "ant.javac" in the compileTests() method works brilliantly. > (I heart not having to type angle brackets!) > > Calling "ant.junit" in the test() method, however, gives me: > > Mar 25, 2004 11:10:28 AM groovy.util.AntBuilder createNode > WARNING: Could not convert tag: junit into an Ant task, data type or > property > Mar 25, 2004 11:10:28 AM groovy.util.AntBuilder createNode > WARNING: Could not convert tag: test into an Ant task, data type or > property > > Am I missing something obvious, or is this just a limitation of > GroovyMarkup at this point? Just a thought - could it just be that ant-optional-${version}.jar isn't on your classpath? i.e. that Ant can't see the 'junit' task (which AFAIK is in the optional jar? James ------- http://radio.weblogs.com/0112098/
RSS Feed