Comments (2)
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.
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)
- Version 1.0.0 do not support GWT 2.1.0 HOT 5
- Lombok not working with codeserver HOT 2
- Custom Linkers? HOT 2
- Source path from Inherited GWT.xml files are not being considered HOT 13
- GWT compilation failing with error, tried upgrading guice to 4.0 from 3.0 HOT 3
- Integration with GWT Eclipse Plugin seems partially broken HOT 6
- GWT 2.9.0 HOT 2
- GWT Multimodule modulename specificaiton HOT 1
- Redirected gwt artifacts cause a NPE when generating modules HOT 4
- Cannot compile GWT project using com.google.gwt:2.10.0-new-groupid-2 HOT 4
- API incompatibility issue with version 1.0.1 HOT 2
- Change default structure? HOT 2
- java process doesn't start. HOT 1
- Critical CVEs detected in transitive jar dependencies. HOT 1
- Validation warning, plugin should declare these Maven artifacts in `provided` scope HOT 1
- Upgrade to GWT 2.10.0 HOT 3
- goal codeserver fails when web app dependencies are managed in a BOM pom HOT 3
- [Question] How can i activate the debug logging ? because i keep getting the error: Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly HOT 5
- Release versión with GWT 2.11.0 support HOT 2
- [Question] Can I hide the devmode gui? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt-maven-plugin.