ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RaviVerma <ravi...@yahoo.com>
Subject ANT: Build Script Error: net/sf/antcontrib/antlib.xml. It could not be found
Date Wed, 12 Aug 2009 02:20:03 GMT

Hi,
This is my earnest request and appeal to all ANT users.
Please help me as I am unable to resolve this error.

Initially this was the error message:

  [taskdef] Could not load definitions from resource
net/sf/antcontrib/antlib.xml. It could not be found.

init:
     [echo] initupdate Build Started at Tue Aug-11 14:56:9:532 EDT 2009 for
the Iteration: R1_5 !!!
[propertyfile] Updating property file: /u06/bacms/props/bldstats.properties

updateview:

BUILD FAILED
file:/u06/bacms/xml/clean_build.xml:164: Could not create task or type of
type: stopwatch.

Ant could not find the task or a class this task relies upon.


********* The script had following lines:
<taskdef resource="net/sf/antcontrib/antlib.xml">
        <classpath>
        <pathelement
location="/home/bacmsadm/apache-ant-1.7.1/lib/ant-contrib-1.0b3.jar" />
        </classpath>
        </taskdef>
******************************


The new error is as follows:

BUILD FAILED
file:/u06/bacms/xml/clean_build.xml:72: taskdef class "ignore"/> cannot be
found

Total time: 4 seconds


*****************************

The class path does not have the ant - contrib in path..


Please advise.
Any help will be grately appreciated...


Thanks,

Ravi Verma


-- 
View this message in context: http://www.nabble.com/ANT%3A-Build-Script-Error%3A-net-sf-antcontrib-antlib.xml.-It-could-not-be-found-tp24928972p24928972.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message