2
votes

Hi I am facing this problem while building a source using ant


Problem: failed to create task or type propertyfile Cause: the class org.apache.tools.ant.taskdefs.optional.PropertyFile was not found. This looks like one of Ant's optional components. Action: Check that the appropriate optional JAR exists in -/usr/share/ant/lib


I am not able to figure out which additional component of ant is missing i did yum install the latest ant package.

Could some one help

Thanks

1

1 Answers

3
votes

This class is in ant-nodeps.jar in your ant_home/lib. Check you have the right jar