Giter Site home page Giter Site logo

Comments (2)

tbroyer avatar tbroyer commented on May 23, 2024

Firstly, I want to say it's a relief to know that there is some kind of future for the maven-gwt-plugin. The closing down of codehaus is a shock to me, and I suspect will frighten many devs around the world. So many thanks.

CodeHaus may be closed, but Mojo is still alive and well: http://www.mojohaus.org / https://github.com/mojohaus/
And Mojo's Maven Plugin for GWT has been hosted on GitHub for a while: https://github.com/gwt-maven-plugin/gwt-maven-plugin
So the closing of CodeHaus shouldn't be what frightens you about the future of Mojo's Maven Plugin for GWT.
See also https://groups.google.com/d/topic/codehaus-mojo-gwt-maven-plugin-users/_WhNPQUNyd8

I think one of the most useful aspects of the codeaus mojo is that it generates all your java resource classes from the ,css files. To start doing this by hand is going to be a P.I.T.A.

Is there a plan to do CSS generation in your plugin ?

I strongly believe those should be one-off tasks (same for i18n), so no there's no plan to add that to this plugin (at least for now; and even then, not in a way that would make it easy/pleasant to use as part of your build – i.e. really oriented to being called from the command line, as a thin wrapper around the GWT InterfaceGenerator). But the InterfaceGenerator doesn't work with GSS, and GSS is going to totally replace the old GWT-CSS syntax by the end of the year (it was planned for 2.8, but finally postponed to let more time for people to migrate), so it's actually more likely that it'll never happen, unless the InterfaceGenerator is updated to accept GSS as input.

or is there a new way that I'm obviously not aware of ?

You can either call the InterfaceGenerator by hand, or through the maven-antrun-plugin. The doc for the InterfaceGenerator can be found at http://www.gwtproject.org/doc/latest/DevGuideClientBundle.html#Automatically_generating_interfaces
See #18 for how to run it through the Apache Maven AntRun Plugin.

from gwt-maven-plugin.

biancashouse avatar biancashouse commented on May 23, 2024

Music to my ears.
I've been using the mojo so long now that I hadn't noticed InterfaceGenerator.
All my mvn goals get run by ant scripts already and my poms do sometimes use AntRun, so it'll be nice to be able to separate out the CSS generation stuff and remove some of the pom complexity - I totally agree with that separation.
Your detailed response is really appreciated. Thanks.

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.