Eclipse Source Build [message #1385340] |
Thu, 05 June 2014 13:46  |
Eclipse User |
|
|
|
I am trying to build the source of Eclipse IDE using ant. The build is getting failed
with
BUILD FAILED
Target "Files\Java\jdk1.7.0_45\jre\lib\rt.jar" does not exist in the project "Ec
lipse SDK Source Build".
Build.xml file
<project name="Eclipse SDK Source Build" default="run" basedir=".">
<!--directory in which to collect installable eclipse-->
<property name="buildLabel" value="result" />
<!-- directory where to perform the build -->
<property name="buildDirectory" value="${basedir}" />
<!-- default setting for bootclasspath if none specified -->
<property name="bootclasspath" value="${java.home}/lib/rt.jar" />
<echo> ${basedir} </echo>
<echo> ${java.home} </echo>
<!--this property required as of Eclipse 3.0 stream builds > 20031126 -->
<property name="buildingOSGi" value="true" />
<!-- default target that runs complete build -->
<target name="run" depends="compile,install" />
<!-- all features required to build eclipse sdk and javadoc -->
<target name="allElements">
<ant antfile="${buildDirectory}/features/org.eclipse.sdk/build.xml" target="${target}" dir="${buildDirectory}/features/org.eclipse.sdk" />
</target>
<!--
Compiles jars for all sdk plugins, and generates javadoc.
Deletes previously compiled jars first.
-->
<target name="compile" depends="init,clean">
<record name="compilelog.txt" action="start" />
<antcall target="allElements">
<param name="target" value="build.jars" />
</antcall>
<record name="compilelog.txt" action="stop" />
</target>
<!--
This target will create install for a specified eclipse configuration
-->
<target name="install" depends="init">
<!--this task is used in the gather.bin.parts target of a feature build.xml-->
<taskdef name="eclipse.idReplacer" classname="org.eclipse.pde.internal.build.tasks.IdReplaceTask" classpath="${buildDirectory}/plugins/org.eclipse.pde.build/lib/pdebuild-ant.jar" />
<!--insert build ID values-->
<replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
<include name="**/about.mappings" />
</replace>
<replace dir="${buildDirectory}" value="${timestamp}" token="@build@">
<include name="**/configuration/config.ini" />
</replace>
<!--root directory of zip file-->
<property name="collectingFolder" value="eclipse" />
<property name="archivePrefix" value="eclipse" />
<property name="zipargs" value="" />
<ant antfile="assemble.org.eclipse.sdk.${configuration}.xml" />
</target>
<!-- Only deletes jars that are to be compiled, i.e. xercesImpl.jar and ant.jar do not get deleted -->
<target name="clean" depends="init">
<antcall target="allElements">
<param name="target" value="clean" />
</antcall>
</target>
<target name="init">
<property file="label.properties" />
<property name="configuration" value="${installOs}.${installWs}.${installArch}" />
<property name="archiveName" value="${installOs}-${installWs}-${installArch}-sdk.zip" />
</target>
</project>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03364 seconds