Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Complete support for Grails 2 Resources plugin

  • Loading branch information...
commit 89e07e4f1703161eb7f13934c497523ec8054d30 1 parent 35c7f1d
@robpurcell robpurcell authored dawsonsystems committed
View
1  .gitignore
@@ -4,6 +4,7 @@ grails-gwt-*.zip
plugin.xml
/web-app/
.idea/
+/target/
.project
.classpath
View
3  application.properties
@@ -1,5 +1,6 @@
#Grails Metadata file
-#Sat Jun 16 09:06:45 BST 2012
+#Wed Jun 27 23:22:10 BST 2012
app.grails.version=2.0.4
app.name=grails-gwt
+plugins.resources=1.2-RC1
plugins.tomcat=2.0.4
View
4 grails-app/conf/BuildConfig.groovy
@@ -13,10 +13,10 @@ grails.project.dependency.resolution = {
//for the release plugin..
build "org.apache.httpcomponents:httpclient:4.0.3"
build "org.apache.ivy:ivy:2.2.0"
+ build "org.grails.plugins:resources:1.2-RC1"
}
plugins {
- test(":spock:0.6") { export=false }
- compile ":release:2.0.0"
+ test(":spock:0.6")
}
}
View
14 grails-app/resourceMappers/org/codehaus/groovy/grails/plugins/gwt/GwtResourceMapper.groovy
@@ -0,0 +1,14 @@
+package org.codehaus.groovy.grails.plugins.gwt
+
+import org.grails.plugin.resource.mapper.MapperPhase
+
+class GwtResourceMapper {
+
+ def phase = MapperPhase.MUTATION
+
+ static defaultIncludes = ['/gwt/**']
+
+ def map(resource, config) {
+
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.