diff options
Diffstat (limited to 'java/eclipse-devel/files/patch-plugins-swt-amd64-build.xml')
-rw-r--r-- | java/eclipse-devel/files/patch-plugins-swt-amd64-build.xml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/java/eclipse-devel/files/patch-plugins-swt-amd64-build.xml b/java/eclipse-devel/files/patch-plugins-swt-amd64-build.xml new file mode 100644 index 000000000000..5b5f70bfe5f8 --- /dev/null +++ b/java/eclipse-devel/files/patch-plugins-swt-amd64-build.xml @@ -0,0 +1,43 @@ +--- plugins/org.eclipse.swt.gtk.freebsd.amd64/build.xml.orig Fri Aug 17 17:35:50 2007 ++++ plugins/org.eclipse.swt.gtk.freebsd.amd64/build.xml Fri Aug 17 17:49:35 2007 +@@ -40,18 +40,17 @@ + + <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"> +- <delete dir="${temp.folder}"/> ++ <!-- <delete dir="${temp.folder}"/> + <mkdir dir="${temp.folder}"/> + <antcall target="build.jars"/> + <antcall target="gather.bin.parts"> + <param name="destination.temp.folder" value="${temp.folder}/"/> + </antcall> + <zip zipfile="${plugin.destination}/${full.name}.jar" basedir="${temp.folder}/${full.name}" filesonly="false"/> +- <delete dir="${temp.folder}"/> ++ <delete dir="${temp.folder}"/> --> + </target> + + <target name="@dot" depends="init" unless="@dot" description="Create jar: @dot."> +@@ -231,7 +230,9 @@ + + <target name="build.cfiles" depends="build.jars"> + <!-- generate the C code from the (64 bit) SWT PI java classes --> +- <!-- assumes the swt.jar has already been built --> ++ <!-- compile the jar in org.eclipse.swt.tools --> ++ <ant antfile="build.xml" dir="${toolsplugindir}" inheritAll="false" target="build.jars" /> ++ <!-- assumes the swttools.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> + <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> + <java classname="org.eclipse.swt.tools.internal.JNIGeneratorApp" classpath="${toolsplugindir}/bin:${toolsplugindir}/swttools.jar:${basedir}/swt.jar"><arg value="org.eclipse.swt.internal.accessibility.gtk.ATK"/><arg value="${basedir}/src/Eclipse SWT PI/gtk/library/"/><arg value="${build.result.folder}/swt.jar"/></java> +@@ -345,6 +346,8 @@ + <delete file="${plugin.destination}/${full.name}.jar"/> + <delete file="${plugin.destination}/${full.name}.zip"/> + <delete dir="${temp.folder}"/> ++ <!-- delete swttools.jar so that it will be compiled in the build.jars target --> ++ <ant antfile="build.xml" dir="${toolsplugindir}" inheritAll="false" target="clean" /> + </target> + + <target name="refresh" depends="init" if="eclipse.running"> |