Giter Site home page Giter Site logo

Comments (2)

tbroyer avatar tbroyer commented on May 24, 2024

I'd bet you're not passing -XjsInteropMode to compilerArgs like you do (did?) with codeserverArgs.
Actually, it looks like you try to configure the plugin like it's the org.codehaus.mojo:gwt-maven-plugin. Please use the gwt:help goal to learn about how to configure this plugin (e.g. mvn gwt:help to list goals, and mvn gwt:help -Dgoal=compiler -Ddetail=true to get help on a specific goal, gwt:compile in this example).
Closing this issue as it looks like a misconfiguration on your part. Will reopen if needed.

$ mvn clean compile gwt:compile -Dgwt.logLevel=INFO

Why on earth are you calling the gwt:compile goal explicitly rather than using lifecycle phases? (prepare-package or package) If you want to skip tests, ask Maven to skip them (-DskipTests, or even -Dmaven.test.skip to skip compiling them).

I tested with and without true in my pom.xml. Neither helped.

Which true are you talking about?

from gwt-maven-plugin.

awcoding avatar awcoding commented on May 24, 2024

Which true are you talking about?

Oops, a minor markdown error. I was trying with gwt.draftCompile to both true and false.

I'd bet you're not passing -XjsInteropMode to compilerArgs like you do (did?) with codeserverArgs

I'm working with two projects, the one generated by your archetype and a legacy gwt project that I'm trying to convert to use gwt-2.8 w/jsinterop. I was able to get the archetype-based one working by putting compilerArgs in the root pom,client, and shared. It was already in the root (and I think the client) but definitely not shared. The other proj is a bit of a frankenstein, I'll keep at it. Thanks alot for your help.

from gwt-maven-plugin.

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.