Permalink
Browse files

dependency update

grails 2.0 support fix
  • Loading branch information...
1 parent 0033c33 commit dcd0a0f85658f0c98372f03ab5b50d3f9071ea0b Karol Balejko committed Sep 12, 2011
View
@@ -6,6 +6,11 @@
</projects>
<buildSpec>
<buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
@@ -15,6 +20,7 @@
<nature>com.springsource.sts.grails.core.nature</nature>
<nature>org.eclipse.jdt.groovy.core.groovyNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
<linkedResources>
<link>
@@ -1,10 +1,10 @@
-class GroovydevTwitterBootstrapGrailsPlugin {
+class TwitterBootstrapGrailsPlugin {
// the plugin version
- def version = "0.1"
+ def version = "0.2"
// the version or versions of Grails the plugin is designed for
def grailsVersion = "1.3.7 > *"
// the other plugins this plugin depends on
- def dependsOn = [:]
+ def dependsOn = ['resources':'1.0 > *']
// resources that are excluded from plugin packaging
def pluginExcludes = [
"grails-app/views/error.gsp"
@@ -46,30 +46,4 @@ Unless required by applicable law or agreed to in writing, software distributed
// URL to the plugin's documentation
def documentation = "http://grails.org/plugin/twitter-bootstrap"
- def doWithWebDescriptor = { xml ->
- // TODO Implement additions to web.xml (optional), this event occurs before
- }
-
- def doWithSpring = {
- // TODO Implement runtime spring config (optional)
- }
-
- def doWithDynamicMethods = { ctx ->
- // TODO Implement registering dynamic methods to classes (optional)
- }
-
- def doWithApplicationContext = { applicationContext ->
- // TODO Implement post initialization spring config (optional)
- }
-
- def onChange = { event ->
- // TODO Implement code that is executed when any artefact that this plugin is
- // watching is modified and reloaded. The event contains: event.source,
- // event.application, event.manager, event.ctx, and event.plugin.
- }
-
- def onConfigChange = { event ->
- // TODO Implement code that is executed when the project configuration changes.
- // The event is the same as for 'onChange'.
- }
}
View
@@ -1,6 +1,6 @@
#Grails Metadata file
#Fri Sep 09 21:32:24 CEST 2011
app.grails.version=1.3.7
-app.name=groovydev-twitter-bootstrap
+app.name=twitter-bootstrap
plugins.hibernate=1.3.7
plugins.tomcat=1.3.7
@@ -1,7 +1,7 @@
modules = {
bootstrap {
- resource url:'/js/bootstrap-1.2.0.css', disposition: 'head'
+ resource url:[plugin: 'twitter-bootstrap', dir: 'css', file:'bootstrap-1.2.0.css'], disposition: 'head'
}
}
@@ -13,19 +13,9 @@ grails.project.dependency.resolution = {
grailsPlugins()
grailsHome()
grailsCentral()
-
- // uncomment the below to enable remote dependency resolution
- // from public Maven repositories
- //mavenLocal()
- //mavenCentral()
- //mavenRepo "http://snapshots.repository.codehaus.org"
- //mavenRepo "http://repository.codehaus.org"
- //mavenRepo "http://download.java.net/maven/2/"
- //mavenRepo "http://repository.jboss.com/maven2/"
}
- dependencies {
- // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
-
- // runtime 'mysql:mysql-connector-java:5.1.13'
+ plugins {
+ compile ":resources:latest.integration"
}
+ dependencies { }
}
View
@@ -1,4 +1,4 @@
-<plugin name='groovydev-twitter-bootstrap' version='0.1' grailsVersion='1.3.7 &gt; *'>
+<plugin name='twitter-bootstrap' version='0.2' grailsVersion='1.3.7 &gt; *'>
<author>Karol Balejko</author>
<authorEmail>kb@groovydev.org</authorEmail>
<title>Twitter Bootstrap CSS framework resource files</title>
@@ -39,6 +39,8 @@ Unless required by applicable law or agreed to in writing, software distributed
<resource>DataSource</resource>
<resource>UrlMappings</resource>
</resources>
- <dependencies />
+ <dependencies>
+ <plugin name='resources' version='1.0 &gt; *' />
+ </dependencies>
<behavior />
</plugin>
File renamed without changes.

0 comments on commit dcd0a0f

Please sign in to comment.