Are you struggling with this annoying error while configuring your ant script.
You know that the following code is causing the issue
<taskdef resource="net/sf/antcontrib/antlib.xml" >
<classpath>
<pathelement location="C:\Users\Token\Desktop\ant\lib" />
</classpath>
</taskdef>
but you are not able to resolve it.
Try to redefine this code in a different way
<path id="ant-contrib.classpath">
<pathelement location="C:\Users\Token\Desktop\ant\lib\ant-contrib-1.0b3.jar"/>
</path>
<taskdef resource="net/sf/antcontrib/antlib.xml"
classpathref="ant-contrib.classpath"/>
This has worked for me
No comments:
Post a Comment