Community
Participate
Working Groups
When I start a build file with a jar task I always get the following error: > The <jar> task doesn't support the "destfile" attribute. The same build file can be processed without problems on the command line.
Which Ant are you using from the command line? Ant 1.4.1 was integrated with Eclipse 2.0.2. From the Ant documentation "destfile" was introduced after 1.4.1. Note that "jarfile" is compatible with 1.4.1 and 1.5.1. The latest Eclipse M3 and integration builds have integrated Ant 1.5.1 and the problem no longer exists.
In fact I'm using 1.5.1 ...