Community
Participate
Working Groups
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).
It is now supported by the compiler adapter provided by JDT Core (org.eclipse.jdt.core.JDTCompilerAdapter). Moving to JDT Core for closure.
Closing
Verified.