Coder Social home page Coder Social logo

Comments (4)

tmjee avatar tmjee commented on June 27, 2024

Just realize, should be using this patch instead else it'll break gwt

diff --git a/archetype/src/main/resources/archetype-resources/html/pom.xml b/archetype/src/main/resources/archetype-resources/html/pom.xml
index 3261267..546b11f 100644
--- a/archetype/src/main/resources/archetype-resources/html/pom.xml
+++ b/archetype/src/main/resources/archetype-resources/html/pom.xml
@@ -16,6 +16,7 @@

<gwt.module>${package}.${gameName}</gwt.module>
<gwt.name>${rootArtifactId}</gwt.name>

  • <gwt.version>2.4.0</gwt.version>
@@ -37,6 +38,22 @@ org.codehaus.mojo gwt-maven-plugin - ${gwt.version} - - false - - - - com.google.gwt - gwt-user - ${gwt.version} - - - com.google.gwt - gwt-dev - ${gwt.version} - - maven-eclipse-plugin

from playn.

samskivert avatar samskivert commented on June 27, 2024

I can't read your patches because they're being formatted improperly. Can you pleade indent them four spaces so that I can see the XML?

from playn.

tmjee avatar tmjee commented on June 27, 2024

here you go, wish github has feature to add attachment, it'd much easier,
Let me know how it goes.

From 60e3b6edb04af346dcc05968bc9786ecf2d85065 Mon Sep 17 00:00:00 2001
From: tmjee <tmjee@tmjee-laptop.(none)>
Date: Sat, 12 Nov 2011 10:29:49 +1100 
Subject: [PATCH 4/4] allow specific configurable gwt in archetype

---
.../resources/archetype-resources/html/pom.xml     |   17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/archetype/src/main/resources/archetype-resources/html/pom.xml b/archetype/src/main/resources/archetype-resources/html/pom.xml
index 3261267..546b11f 100644
--- a/archetype/src/main/resources/archetype-resources/html/pom.xml
+++ b/archetype/src/main/resources/archetype-resources/html/pom.xml
@@ -16,6 +16,7 @@
   <properties>
     <gwt.module>${package}.${gameName}</gwt.module>
     <gwt.name>${rootArtifactId}</gwt.name>
+    <gwt.version>2.4.0</gwt.version>
   </properties>

   <dependencies>
@@ -37,6 +38,22 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>gwt-maven-plugin</artifactId>
+        <version>${gwt.version}</version>
+        <configuration>
+           <disableClassMetadata>false</disableClassMetadata>
+        </configuration>
+        <dependencies>
+          <dependency>
+            <groupId>com.google.gwt</groupId>
+            <artifactId>gwt-user</artifactId>
+            <version>${gwt.version}</version>
+          </dependency>
+          <dependency>
+            <groupId>com.google.gwt</groupId>
+            <artifactId>gwt-dev</artifactId>
+            <version>${gwt.version}</version>
+          </dependency> 
+        </dependencies>
       </plugin>
       <plugin>
         <artifactId>maven-eclipse-plugin</artifactId>
-- 
1.7.1

from playn.

samskivert avatar samskivert commented on June 27, 2024

Not sure if this is still an issue with GWT 2.5.0 being used across the board.

from playn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.