Bug 562025 - Can't rebuild launchingsupport.jar on Java 11
Use ECJ to compile this jar, this ensures we can generate Java
1.1 bytecode even when the system JDK cannot
Change-Id: I1e5ce2332b784c7c2cd009c6529900a95bced748
Signed-off-by: Mat Booth <mat.booth@redhat.com>
diff --git a/org.eclipse.jdt.launching/pom.xml b/org.eclipse.jdt.launching/pom.xml
index 26f01d2..bb2748a 100644
--- a/org.eclipse.jdt.launching/pom.xml
+++ b/org.eclipse.jdt.launching/pom.xml
@@ -34,7 +34,7 @@
<phase>compile</phase>
<configuration>
<target>
- <property name="build.compiler" value="extJavac"/>
+ <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
<ant antfile="customBuildCallbacks.xml" dir="." target="pre.@dot"/>
</target>
</configuration>
@@ -43,6 +43,13 @@
</goals>
</execution>
</executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.jdt</groupId>
+ <artifactId>ecj</artifactId>
+ <version>${cbi-ecj-version}</version>
+ </dependency>
+ </dependencies>
</plugin>
</plugins>
</build>