Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

Updated GPE Changes Property Variables #116

@richip

Description

@richip

It seems the current release version of GPE changed the Eclipse property names for several GPE properties as well as the name of the GDT settings file. The trend appears to be a change from the domain com.google to com.gwtplugins. The changes are reflected by the following (untested) patch:

diff --git a/gwt-gradle-plugin/src/main/java/de/richsource/gradle/plugins/gwt/GwtEclipsePlugin.java b/gwt-gradle-plugin/src/main/java/de/richsource/gradle/plugins/gwt/GwtEclipsePlugin.java
index 9971675..1ef5265 100644
--- a/gwt-gradle-plugin/src/main/java/de/richsource/gradle/plugins/gwt/GwtEclipsePlugin.java
+++ b/gwt-gradle-plugin/src/main/java/de/richsource/gradle/plugins/gwt/GwtEclipsePlugin.java
@@ -36,10 +36,10 @@ import de.richsource.gradle.plugins.gwt.eclipse.internal.GdtOptionsImpl;
 // TODO choose different name as this is no real plugin
 public class GwtEclipsePlugin {
 
-	public static final String ECLIPSE_NATURE = "com.google.gwt.eclipse.core.gwtNature";
-	public static final String ECLIPSE_BUILDER_PROJECT_VALIDATOR = "com.google.gwt.eclipse.core.gwtProjectValidator";
-	public static final String ECLIPSE_BUILDER_WEBAPP_VALIDATOR = "com.google.gdt.eclipse.core.webAppProjectValidator";
-	public static final String ECLIPSE_GWT_CONTAINER = "com.google.gwt.eclipse.core.GWT_CONTAINER";
+	public static final String ECLIPSE_NATURE = "com.gwtplugins.gwt.eclipse.core.gwtNature";
+	public static final String ECLIPSE_BUILDER_PROJECT_VALIDATOR = "com.gwtplugins.gwt.eclipse.core.gwtProjectValidator";
+	public static final String ECLIPSE_BUILDER_WEBAPP_VALIDATOR = "com.gwtplugins.gdt.eclipse.core.webAppProjectValidator";
+	public static final String ECLIPSE_GWT_CONTAINER = "com.gwtplugins.gwt.eclipse.core.GWT_CONTAINER";
 	public static final String GENERATE_GDT_TASK = "generateGdt";
 	
 	private static final Logger logger = Logging.getLogger(GwtEclipsePlugin.class);
@@ -73,7 +73,7 @@ public class GwtEclipsePlugin {
 				configureGenerateGdt(gdtExtension);
 				
 				GenerateGdt generateGdt = project.getTasks().create(GENERATE_GDT_TASK, GenerateGdt.class);
-				generateGdt.setSettingsFile(project.file(".settings/com.google.gdt.eclipse.core.prefs"));
+				generateGdt.setSettingsFile(project.file(".settings/com.gwtplugins.gdt.eclipse.core.prefs"));
 				project.getTasks().getByName(EclipsePlugin.getECLIPSE_TASK_NAME()).dependsOn(generateGdt);
 				
 				project.afterEvaluate(new Action<Project>() {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions