Troubleshooting
Problem
Could not load definitions from resource net/sf/antcontrib/antcontrib.properties.
Symptom
antcontrib.properties not found warning message while running ant command on one of the build XML's provided by Sterling.
Error Messageant.cmd -f ycd_load_reference_implementation.xml transactiondata -logfile
ycd_load_reference_implementation_transactiondata.log
The
following error is thrown.
[taskdef] Could not load definitions
from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
[taskdef] Processing file YFS_custom.xml
[taskdef] Processing
file inv_costing_tables.xml
[taskdef] Processing file
inv_resource_tables.xml
[taskdef] Processing file inv_tables.xml
Resolving The Problem
This warning is thrown by ant build command when ant-contrib.jar is missing
from the classpath. Solution is to add ant-contrib.jar in dynamicclasspath.cfg
file.
VENDOR_JAR=D:\Y8.0\Foundation\jar\ant-contrib.jar
ant-contrib.jar can be downloaded from
http://sourceforge.net/projects/ant-contrib/files/
Historical Number
NFX6701
Product Synonym
[<p><b>]Severity[</b><p>];Critical
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21558212