Community
Participate
Working Groups
When using org.eclipse.releng.eclipsebuilder to build the jdt component against a prebuilt platform component via a baseLocation setting, the classpath entry for org.apache.ant is not set correctly. ie. the build.xml for org.eclipse.jdt.core contains the following: - <target name="jdtcore.jar" depends="init" unless="jdtcore.jar" description="Create jar: jdtcore.jar."> <delete dir="${temp.folder}/jdtcore.jar.bin" /> <mkdir dir="${temp.folder}/jdtcore.jar.bin" /> - <!-- compile the source code --> - <javac destdir="${temp.folder}/jdtcore.jar.bin" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bootclasspath}" classpath="../../../t1/plugins/org.eclipse.core.boot/boot.jar;../org.apache.ant /ant.jar;../../../t1/plugins/org.eclipse.core.runtime/runtime.jar;../../../t1/p lugins/org.apache.xerces/xmlParserAPIs.jar;../../../t1/plugins/org.apache.xerce s/xercesImpl.jar;../../../t1/plugins/org.eclipse.core.resources/resources.jar;. ./../../t1/plugins/org.eclipse.core.resources.macosx/resources.jar;../../../t1/ plugins/org.eclipse.core.resources.linux/resources.jar;../../../t1/plugins/org. eclipse.core.resources.win32/resources.jar;../../../t1/plugins/org.eclipse.core .resources.qnx/resources.jar;../../../t1/plugins/org.eclipse.ant.core/antsuppor t.jar;../../../t1/plugins/org.eclipse.team.core/team.jar" source="${javacSource}" target="${javacTarget}"> <src path="batch/" /> <src path="codeassist/" /> <src path="compiler/" /> <src path="eval/" /> <src path="formatter/" /> <src path="dom/" /> <src path="model/" /> <src path="search/" /> </javac> "../org.apache.ant/ant.jar" should be ";../../../t1/plugins/org.apache.ant/ant.jar" in the classpath.
The location for ant is wrong because the specification of its location is wrong in the build.properties. The jars.extra.classpath entries are used as is in the classpath. If the jars that are being refered are part of plugins people must use platform urls. So in the case of jdt.core the entry should say: jars.extra.classpath=platform:/plugin/org.apache.ant/ant.jar
reassign but to JDT Core.
Verified that the change suggested by Pascal works.
Change integrated.
Fixed
Verified.