Andrew Overholt 5d24e6
--- build.xml.compilelibs	2008-07-25 09:15:34.000000000 -0400
Andrew Overholt 5d24e6
+++ build.xml	2008-07-25 09:15:40.000000000 -0400
Andrew Overholt 5d24e6
@@ -1,7 +1,7 @@
Andrew Overholt 5d24e6
 <project name="Eclipse SDK Source Build" default="run" basedir=".">
Andrew Overholt 5d24e6
 
Andrew Overholt 5d24e6
 	
Andrew Overholt 5d24e6
-	<target name="run" depends="fetch,insertBuildId,compile,install"/>
Andrew Overholt 5d24e6
+	<target name="run" depends="fetch,insertBuildId,compile,compilelibs,install"/>
Andrew Overholt 5d24e6
 
Andrew Overholt 5d24e6
 	
Andrew Overholt 5d24e6
 	<target name="allElements">
Andrew Overholt 5d24e6
@@ -71,6 +71,33 @@
Andrew Overholt 5d24e6
 		<record name="compilelog.txt" action="stop"/>
Andrew Overholt 5d24e6
 	</target>
Andrew Overholt 5d24e6
 
Andrew Overholt 5d24e6
+	<target name="compilelibs" depends="init,clean,compile" if="libsconfig">
Andrew Overholt 5d24e6
+		<ant antfile="${buildDirectory}/plugins/org.eclipse.swt.${installWs}.${installOs}.${installArch}/build.xml" target="build.nativeLibraries" dir="${buildDirectory}/plugins/org.eclipse.swt.${installWs}.${installOs}.${installArch}"/>
Andrew Overholt 5d24e6
+	
Andrew Overholt 5d24e6
+		<property name="launcherlibs" value="${buildDirectory}/features/org.eclipse.equinox.executable"/>
Andrew Overholt 5d24e6
+		<exec dir="${launcherlibs}/library/${installWs}/" executable="sh" failonerror="true">
Andrew Overholt 5d24e6
+			<arg line="build.sh"/>
Andrew Overholt 5d24e6
+		</exec>
Andrew Overholt 5d24e6
+		<copy file="${launcherlibs}/library/${installWs}/eclipse" todir="${buildDirectory}/eclipse/"/>
Andrew Overholt 5d24e6
+
Andrew Overholt 5d24e6
+		<property name="launcherfragment" value="org.eclipse.equinox.launcher.${installWs}.${installOs}.${installArch}"/>
Andrew Overholt 5d24e6
+
Andrew Overholt 5d24e6
+		<copy file="${launcherlibs}/library/${installWs}/eclipse" todir="features/org.eclipse.equinox.executable/contributed/${installWs}/${installOs}/${installArch}/"/>
Andrew Overholt 5d24e6
+		<copy todir="${buildDirectory}/plugins/${launcherfragment}">
Andrew Overholt 5d24e6
+			<fileset dir="${launcherlibs}/library/${installWs}">
Andrew Overholt 5d24e6
+				<include name="**/*.so"/>
Andrew Overholt 5d24e6
+			</fileset>
Andrew Overholt 5d24e6
+		</copy>
Andrew Overholt 5d24e6
+
Andrew Overholt 5d24e6
+		
Andrew Overholt 5d24e6
+		<exec dir="plugins/org.eclipse.core.filesystem/natives/unix/${installOs}" executable="make" failonerror="true"/>
Andrew Overholt 5d24e6
+		<move file="plugins/org.eclipse.core.filesystem/natives/unix/${installOs}/liblocalfile_1_0_0.so" todir="plugins/org.eclipse.core.filesystem.${installOs}.${installArch}/os/${installOs}/${installArch}">
Andrew Overholt 5d24e6
+		</move>
Andrew Overholt 5d24e6
+		
Andrew Overholt 5d24e6
+		<ant dir="plugins/org.eclipse.update.core.${installOs}/src" antfile="build.xml"/>
Andrew Overholt 5d24e6
+
Andrew Overholt 5d24e6
+	</target>
Andrew Overholt 5d24e6
+
Andrew Overholt 5d24e6
 	
Andrew Overholt 5d24e6
 	<target name="install" depends="init">
Andrew Overholt 5d24e6
 		<echo message="Assembling..."/>