Bug 12520 - JDTCompilerAdapter does not understand -extdirs
Summary: JDTCompilerAdapter does not understand -extdirs
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0 F2   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-30 22:20 EST by Kristopher Wehner CLA
Modified: 2002-06-03 10:26 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 Kristopher Wehner CLA 2002-03-30 22:20:45 EST
When attempting to use ant integration (in drop 20020321), with the 
build.compiler set to org.eclipse.pde.internal.core.JDTCompilerAdapter, my ant 
script fails with:
Build file: D:\src\olt\est\build.xml
Compiling source files
directory does not exist: -extdirs
------------------------
Eclipse Java Compiler 0.235a
Copyright IBM Corp 2000, 2001. All rights reserved.
<...usage message snipped...>

The relevant portions of the build script are:
<property name="build.compiler" 
value="org.eclipse.pde.internal.core.JDTCompilerAdapter" />

<..large irrelevant detail snipped...>

<javac srcdir="${src}" destdir="${classes}" debug="true" deprecation="true" 
extdirs="${extdirs}"/>

This breaks the extdirs mechanism of the ant javac target. Without using the 
internal JDTCompiler, I get the "cannot use classic compiler" message. This 
would work with jikes theoretically, but there is an internal bug in jikes 
preventing me from confirming this (it crashes building my code).
Comment 1 Rodrigo Peretti CLA 2002-05-18 11:45:03 EDT
It is now supported by the compiler adapter provided by JDT Core 
(org.eclipse.jdt.core.JDTCompilerAdapter). Moving to JDT Core for closure.
Comment 2 Philipe Mulet CLA 2002-05-21 11:14:52 EDT
Closing
Comment 3 David Audel CLA 2002-06-03 10:26:35 EDT
Verified.