eclipse/eclipse-swttools.patch

27 lines
1.3 KiB
Diff

Index: build.xml
===================================================================
RCS file: /home/eclipse/org.eclipse.swt.gtk64/build.xml,v
retrieving revision 1.43
diff -u -r1.43 build.xml
--- build.xml 18 Mar 2005 13:45:25 -0000 1.43
+++ build.xml 5 Apr 2005 22:27:49 -0000
@@ -20,7 +20,6 @@
<target name="properties" if="eclipse.running">
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
- <!--compile the jar in org.eclipse.swt.tools-->
</target>
<target name="build.update.jar" depends="init">
@@ -188,6 +187,10 @@
</target>
<target name="build.cfiles" depends="build.jars">
+ <!--compile the jar in org.eclipse.swt.tools-->
+ <ant antfile="build.xml" dir="${toolsplugindir}" inheritAll="false" target="clean"/>
+ <ant antfile="build.xml" dir="${toolsplugindir}" inheritAll="false" target="build.jars" />
+
<!-- generate the C code from the (64 bit) SWT PI java classes -->
<!-- assumes the swt.jar has already been built -->
<java classname="org.eclipse.swt.tools.internal.JNIGeneratorApp" classpath="${toolsplugindir}/bin:${toolsplugindir}/swttools.jar:${basedir}/swt.jar"><arg value="org.eclipse.swt.internal.gtk.OS"/><arg value="${basedir}/src/Eclipse SWT PI/gtk/library/"/><arg value="${build.result.folder}/swt.jar"/></java>