Bug 17422

Summary: JDT Compiler Adapter and compatibility with Ant 1.5
Product: [Eclipse Project] JDT Reporter: Rodrigo Peretti <rodrigo>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 2.0   
Target Milestone: 2.0 F2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

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.