Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-07-01 20:45:11 +0000
committerAlexander Kurtakov2020-07-01 20:48:58 +0000
commitc1e9cb6e5631856269a07a4f84be4e15967ca958 (patch)
tree044b2a47c088705d8c0c5c4d6e2511be381b4973 /bundles
parent050e060ba718706af8e3bf39ba0576fe9645677e (diff)
downloadeclipse.platform.swt-c1e9cb6e5631856269a07a4f84be4e15967ca958.tar.gz
eclipse.platform.swt-c1e9cb6e5631856269a07a4f84be4e15967ca958.tar.xz
eclipse.platform.swt-c1e9cb6e5631856269a07a4f84be4e15967ca958.zip
Remove javac source and target setting in ant build.
Release is enough and this removes the warnings for using source and target in the build. Building with Java 1.8 is no longer of interest for automated builds and it still works inside the workbench for development purposes. Change-Id: I5d2bde1bbc7e071fa7d778bb20a2b86158af059d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.swt/buildFragment.xml6
1 files changed, 1 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/buildFragment.xml b/bundles/org.eclipse.swt/buildFragment.xml
index 244a263c68..c26efab320 100644
--- a/bundles/org.eclipse.swt/buildFragment.xml
+++ b/bundles/org.eclipse.swt/buildFragment.xml
@@ -28,8 +28,6 @@
<property name="destination" value="${fragmentdir}/target" />
<property name="javacVerbose" value="false" />
<property name="logExtension" value=".xml" />
- <property name="javacSource" value="1.8" />
- <property name="javacTarget" value="1.8" />
<property name="javacRelease" value="8" />
<condition property="bootclasspath" value="">
<equals arg1="${swt.os}" arg2="macosx"/>
@@ -40,8 +38,6 @@
</fileset>
</path>
<property name="bootclasspath" refid="path_bootclasspath" />
- <property name="bundleJavacSource" value="${javacSource}" />
- <property name="bundleJavacTarget" value="${javacTarget}" />
<property name="bundleBootClasspath" value="${bootclasspath}" />
<condition property="p2.publish.parts" value="true">
<istrue value="${p2.gathering}" />
@@ -71,7 +67,7 @@
<delete dir="${temp.folder}/@dot.bin" />
<mkdir dir="${temp.folder}/@dot.bin" />
<antcall target="copy.${swt.ws}.src"/>
- <javac destdir="${temp.folder}/@dot.bin" verbose="${javacVerbose}" debug="${debug}" failonerror="yes" bootclasspath="${bundleBootClasspath}" source="${bundleJavacSource}" target="${bundleJavacTarget}" release="${javacRelease}" includeantruntime="false">
+ <javac destdir="${temp.folder}/@dot.bin" verbose="${javacVerbose}" debug="${debug}" failonerror="yes" bootclasspath="${bundleBootClasspath}" release="${javacRelease}" includeantruntime="false">
<src path="${temp.folder}/@dot.src/"/>
<compilerarg line="-log '${temp.folder}'/@dot.bin${logExtension}" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />
<compilerarg line="${compilerArg}" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />

Back to the top