Wednesday, December 06, 2006

 

New docs for maven-googlewebtoolkit-plugin

The maven-googlewebtoolkit-plugin (gwt-maven) now has a bit more documentation and a "sample" project. The sample is very simple GWT with RPC using the gwt-maven plugin (does not have datasources and such at this time, still does demonstrate the context.xml and web.xml usage with the plugin).

The docs are HERE.

I had hoped to host these docs on Google Code, as is the project itself (http://code.google.com/p/gwt-maven/) but for some reason any HTML file located there gets a mime type of text/plain (probably by design so you don't do exactly what I was trying to do) and therefore will not render as HTML in decent browsers (works great in IE, not in others).

Comments:
Thanks for the gwt-maven plugin. In order to have html in SVN display correctly, you need to set the appropriate mime type.

If you're using Tortoise SVN to check in stuff, right click folder -> TortoiseSVN -->Settings -->General -> Edit Subversion configuration file and make sure you have the following settings

[auto-props]
*.html=svn:mime-type=text/html
*.css=svn:mime-type=text/css
*.xml=svn:mime-type=text/xml

If the file has already been added, you can modify the mime settings on a per file basis too from the Tortoise SVN file context menu.
 
Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?