On 2010-07-29, Philip Tham wrote: > I am currently blocked with not being able to build after upgrading ant > to the latest version. The errors I am getting are below.
How did you "upgrade"? Please note that the only distributions supported by the Ant team are those you can download from ant.apache.org's download pages. We don't create deb or rpm packages ourselves and usually don't even know anything about the distribution specific changes those packages contain. 1.8.0 is not the latest version, BTW, 1.8.1 is. > following error occurred while executing this line: > jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml:37: > Could > not create task or type of type: componentdef. Sounds as if you had more than version of Ant on your CLASSPATH and the wrong (too old) one was picked up first and now tries to load the antlib descriptor of Ant 1.8.1. Make sure your CLASSPATH is clean and you really use the ant wrapper script provided by the Ant team and not one modified by any other distributor. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
