eclipse/eclipse-swttools.patch
2007-06-27 15:56:57 +00:00

15 lines
948 B
Diff

--- build.xml.orig 2007-02-22 10:14:59.000000000 -0500
+++ build.xml 2007-03-01 10:38:05.000000000 -0500
@@ -228,6 +228,11 @@
</target>
<target name="build.cfiles" depends="build.jars">
+ <!-- delete swttools.jar so that it will be compiled in the build.jars target -->
+ <ant antfile="build.xml" dir="${toolsplugindir}" inheritAll="false" target="clean"/>
+ <!--compile swtools.jar in org.eclipse.swt.tools-->
+ <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.C"/><arg value="${basedir}/src/Eclipse SWT PI/common/library/"/><arg value="${build.result.folder}/swt.jar"/></java>