blob: 0f77f3634b72a9aa8be6430f18eb11813926e131 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
--- build.xml 2008-06-11 17:43:11.000000000 +0200
+++ build.xml 2008-05-02 07:33:57.000000000 +0200
@@ -1,7 +1,7 @@
<project name="Eclipse SDK Source Build" default="run" basedir=".">
<!-- default target that runs complete build -->
- <target name="run" depends="fetch,insertBuildId,compile,install" />
+ <target name="run" depends="fetch,insertBuildId,compile,compilelibs,install" />
<!-- all features required to build eclipse sdk and javadoc -->
<target name="allElements">
@@ -71,6 +71,33 @@
<record name="compilelog.txt" action="stop" />
</target>
+ <target name="compilelibs" depends="init,clean,compile" if="libsconfig">
+ <property name="launcherlibs" value="${buildDirectory}/features/org.eclipse.equinox.executable" />
+ <exec dir="${launcherlibs}/library/${installWs}/" executable="sh" failonerror="true">
+ <arg line="build.sh -java ${java5.home}" />
+ </exec>
+ <copy file="${launcherlibs}/library/${installWs}/eclipse" todir="${buildDirectory}/eclipse/" />
+
+ <property name="launcherfragment" value="org.eclipse.equinox.launcher.${installWs}.${installOs}.${installArch}" />
+
+ <copy file="${launcherlibs}/library/${installWs}/eclipse" todir="features/org.eclipse.equinox.executable/contributed/${installWs}/${installOs}/${installArch}/" />
+ <copy todir="${buildDirectory}/plugins/${launcherfragment}">
+ <fileset dir="${launcherlibs}/library/${installWs}">
+ <include name="**/*.so" />
+ </fileset>
+ </copy>
+
+ <!-- build liblocalfile -->
+ <exec dir="plugins/org.eclipse.core.filesystem/natives/unix/linux" executable="make" failonerror="true" />
+ <move file="plugins/org.eclipse.core.filesystem/natives/unix/linux/liblocalfile_1_0_0.so" todir="plugins/org.eclipse.core.filesystem.linux.${installArch}/os/linux/${installArch}">
+ </move>
+ <!-- build libupdate -->
+ <ant dir="plugins/org.eclipse.update.core.linux/src" antfile="build.xml" />
+
+ </target>
+
+
+
<!--create an installable eclipse runtime-->
<target name="install" depends="init">
<echo message="Assembling..." />
|