Bug 27352 - jar task always returns error
Summary: jar task always returns error
Status: CLOSED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Darin Swanson CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
Depends on:
Blocks:
 
Reported: 2002-11-28 14:31 EST by chris CLA
Modified: 2002-11-30 10:22 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chris CLA 2002-11-28 14:31:48 EST
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.
Comment 1 Darin Swanson CLA 2002-11-29 19:36:21 EST
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.
Comment 2 chris CLA 2002-11-30 10:22:29 EST
In fact I'm using 1.5.1 ...