Hi,

Using ANT tool to build my project in MAC Platform.

Getting the following error

CLASSPATH element
/Users/rrr/workspace/_xxx_/_yyy_/ant-contrib-1.0b2.jar is not a JAR.

when below is executed.

    <taskdef resource="net/sf/antcontrib/antlib.xml">
        <classpath>
            <pathelement
location="/Users/rrr/workspace/_xxx_/_yyy_/ant-contrib-1.0b3.jar"/>
        </classpath>
    </taskdef>


some details:-

Apache Ant(TM) version 1.10.12 compiled on October 13 2021
Trying the default build file: build.xml
Buildfile: /Users/rrr/workspace/_xxx_/_yyy_/build.xml
Detected Java version: 1.8 in:
/Library/Java/JavaVirtualMachines/temurin-8.jdk/Contents/Home/jre
Detected OS: Mac OS X

Reply via email to