Bug 17422 - JDT Compiler Adapter and compatibility with Ant 1.5
Summary: JDT Compiler Adapter and compatibility with Ant 1.5
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 F2   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-23 13:43 EDT by Rodrigo Peretti CLA
Modified: 2002-06-03 11:50 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Peretti CLA 2002-05-23 13:43:32 EDT
build F1

Ant 1.5 is still in beta1 so Eclipse will ship with the Ant 1.4.1 version. It 
is likely that once 1.5 is released users will want to use it with Eclipse.

The 1.5 beta1 breaks the JDT Compiler Adapter by removing a method from its 
superclass. We should investigate a fix that works for both versions and 
include it for 2.0 if possible.
Comment 1 Olivier Thomann CLA 2002-05-23 14:31:23 EDT
I have a new version of the JDTCompilerAdapter class that works fine with both ant 1.5 and ant 
1.4.1.
I added a method which does something similar to the old addExtdirsToClasspath. So I 
don't rely on the abstract class defined in ant for this support. I think they should have 
deprecated this method first instead of removing it.
I can release the new version if 
necessary.
Comment 2 Matthew Conway CLA 2002-05-24 10:35:59 EDT
Yes, please release the new version - typedefs in ant 1.4.1 are broken, so I
need to use 1.5 instead, and the broken JDTCompilerAdapter causes me grief
Comment 3 Olivier Thomann CLA 2002-05-24 10:54:46 EDT
I release the fix. It should be in the next build. The extdirs option works as 
expected and there is no more binary compatibility problems with 1.5. The 
missing method will reappear in 1.5Beta2, but I will keep this fix anyway.
Comment 4 David Audel CLA 2002-06-03 11:49:35 EDT
Verified.