Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/buildFragment.xml')
-rw-r--r--bundles/org.eclipse.swt/buildFragment.xml25
1 files changed, 0 insertions, 25 deletions
diff --git a/bundles/org.eclipse.swt/buildFragment.xml b/bundles/org.eclipse.swt/buildFragment.xml
index b4944c59d5..180c92ca32 100644
--- a/bundles/org.eclipse.swt/buildFragment.xml
+++ b/bundles/org.eclipse.swt/buildFragment.xml
@@ -156,7 +156,6 @@
<fileset dir="${plugindir}/Eclipse SWT Program/common/"/>
</copy>
<antcall target="copy.translationfiles"/>
- <antcall target="replace64"/>
</target>
<target name="copy.gtk.src">
@@ -192,7 +191,6 @@
<fileset dir="${plugindir}/Eclipse SWT WebKit/gtk/"/>
</copy>
<antcall target="copy.translationfiles"/>
- <antcall target="replace64"/>
</target>
<target name="copy.win32.src">
@@ -223,7 +221,6 @@
<fileset dir="${plugindir}/Eclipse SWT Program/win32/"/>
</copy>
<antcall target="copy.translationfiles"/>
- <antcall target="replace64"/>
</target>
<target name="copy.translationfiles" if="includetranslationfiles">
@@ -233,28 +230,6 @@
</copy>
</target>
- <target name="is64">
- <condition property="is64" value="true">
- <or>
- <equals arg1="${swt.arch}" arg2="x86_64"/>
- <equals arg1="${swt.arch}" arg2="ia64"/>
- <equals arg1="${swt.arch}" arg2="ppc64le"/>
- <equals arg1="${swt.arch}" arg2="s390x"/>
- <equals arg1="${swt.arch}" arg2="sparcv9"/>
- <equals arg1="${swt.arch}" arg2="aarch64"/>
- </or>
- </condition>
- <echo>Is64=${is64}</echo>
- </target>
-
- <target name="replace64" depends="is64" unless="is64">
- <echo>Converting java files to 32 bit</echo>
- <replace dir="${copy.src.dir}" includes="**/*.java" value="int /*long*/" token="long /*int*/"/>
- <replace dir="${copy.src.dir}" includes="**/*.java" value="int[] /*long[]*/" token="long[] /*int[]*/"/>
- <replace dir="${copy.src.dir}" includes="**/*.java" value="float /*double*/" token="double /*float*/"/>
- <replace dir="${copy.src.dir}" includes="**/*.java" value="float[] /*double[]*/" token="double[] /*float[]*/"/>
- </target>
-
<target name="build.sources" depends="init">
<available property="src.zip" file="${build.result.folder}/src.zip" />
<antcall target="src.zip" />

Back to the top