[pkg-eucalyptus-commits] r238 - in gwt/trunk/debian: . patches

Chris Halls halls at alioth.debian.org
Wed Jul 4 12:10:12 UTC 2012


Author: halls
Date: 2012-07-04 12:10:12 +0000 (Wed, 04 Jul 2012)
New Revision: 238

Added:
   gwt/trunk/debian/patches/build-with-jdt38
Modified:
   gwt/trunk/debian/ant.properties
   gwt/trunk/debian/changelog
   gwt/trunk/debian/patches/series
Log:
Fixes for new eclipse JDT in Debian

There's a new method that must be defined
when implementing some JDT interfaces: ignoreOptionalProblems

Should be backwards compatible

Modified: gwt/trunk/debian/ant.properties
===================================================================
--- gwt/trunk/debian/ant.properties	2012-07-04 12:10:09 UTC (rev 237)
+++ gwt/trunk/debian/ant.properties	2012-07-04 12:10:12 UTC (rev 238)
@@ -17,7 +17,7 @@
 # FIXME: Use wildcards here for jdt
 #jdt.jar                  = /usr/lib/eclipse/plugins/org.eclipse.jdt.core_3.5.*.jar:/usr/lib/eclipse/dropins/jdt/plugins/org.eclipse.jdt.core_3.7.*.jar
 #jdt.jar                  = /usr/lib/eclipse/plugins/org.eclipse.jdt.core_3.5.2.v_981_R35x.jar
-jdt.jar                  = /usr/lib/eclipse/plugins/org.eclipse.jdt.core_3.7.3.dist.jar
+jdt.jar                  = /usr/lib/eclipse/plugins/org.eclipse.jdt.core_3.8.1.dist.jar
 protobuf.jar             = /usr/share/java/protobuf-2.4.1.jar
 commons-logging.jar      = /usr/share/java/commons-logging.jar
 

Modified: gwt/trunk/debian/changelog
===================================================================
--- gwt/trunk/debian/changelog	2012-07-04 12:10:09 UTC (rev 237)
+++ gwt/trunk/debian/changelog	2012-07-04 12:10:12 UTC (rev 238)
@@ -2,10 +2,11 @@
 
   * Upload to Debian (Closes: #677571)
   * Fix clean target when package is not built
-  * Bump version to build against jdt 3.7.3
   * Add target to debian/rules for running dev unit tests
   * patches/build-with-jdt37: Merge changes from gwt trunk to fix problems
     exposed by unit tests
+  * patches/build-with-jdt38: implement new interface build against eclipse
+    jdt 3.8
   * patches/exclude-tomcat.patch: Also exclude from unit tests
   * patches/fix-guava-pkg-path: Fix path in unit tests
   * patches/fix-test-classpath: New patch to use the same classpath for running

Added: gwt/trunk/debian/patches/build-with-jdt38
===================================================================
--- gwt/trunk/debian/patches/build-with-jdt38	                        (rev 0)
+++ gwt/trunk/debian/patches/build-with-jdt38	2012-07-04 12:10:12 UTC (rev 238)
@@ -0,0 +1,26 @@
+--- a/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java
++++ b/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java
+@@ -220,6 +220,10 @@
+     public String toString() {
+       return builder.toString();
+     }
++
++    public boolean ignoreOptionalProblems() {
++      return false;
++    }
+   }
+ 
+   private class CompilerImpl extends Compiler {
+--- a/dev/core/src/com/google/gwt/dev/jdt/AbstractCompiler.java
++++ b/dev/core/src/com/google/gwt/dev/jdt/AbstractCompiler.java
+@@ -122,6 +122,10 @@
+     public String toString() {
+       return unit.toString();
+     }
++
++    public boolean ignoreOptionalProblems() {
++      return false;
++    }
+   }
+ 
+   /**

Modified: gwt/trunk/debian/patches/series
===================================================================
--- gwt/trunk/debian/patches/series	2012-07-04 12:10:09 UTC (rev 237)
+++ gwt/trunk/debian/patches/series	2012-07-04 12:10:12 UTC (rev 238)
@@ -10,3 +10,4 @@
 generated-protobuf-class
 build-with-jdt37
 fix-test-classpath
+build-with-jdt38




More information about the pkg-eucalyptus-commits mailing list