是否可以在Grails2.3.6中使用infoVis JIT插件?
我很难将集成到Grails2.0.7项目中。不幸的是,插件附带的文档没有提供足够的信息让我理解如何将插件集成到mey GSP中。示例链接也都是死链接。 有没有人知道我可以在哪里找到jit插件的GSP示例,或者可以为我提供一个? 或者甚至可以让插件与Grails2.3.6一起工作 下面是我的buildConfig.groovy的摘录是否可以在Grails2.3.6中使用infoVis JIT插件?,grails,plugins,jit,infovis,Grails,Plugins,Jit,Infovis,我很难将集成到Grails2.0.7项目中。不幸的是,插件附带的文档没有提供足够的信息让我理解如何将插件集成到mey GSP中。示例链接也都是死链接。 有没有人知道我可以在哪里找到jit插件的GSP示例,或者可以为我提供一个? 或者甚至可以让插件与Grails2.3.6一起工作 下面是我的buildConfig.groovy的摘录 repositories { inherits true // Whether to inherit repository definitions from
repositories {
inherits true // Whether to inherit repository definitions from plugins
grailsPlugins()
grailsHome()
mavenLocal()
grailsCentral()
mavenCentral()
// uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
//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 e.g.
compile: ":jit:0.2:"
}
plugins {
// plugins for the build system only
build ":tomcat:7.0.50.1"
// plugins for the compile step
compile ":scaffolding:2.0.2"
compile ':cache:1.1.1'
compile ":pure-css:0.4.2"
compile: ":jit:0.2:"
// plugins needed at runtime but not for compilation
runtime ":hibernate:3.6.10.8" // or ":hibernate4:4.3.1.1"
runtime ":database-migration:1.3.8"
runtime ":resources:1.2.1"
runtime ":jquery:1.11.0"
// Uncomment these (or add new ones) to enable additional resources capabilities
//runtime ":zipped-resources:1.0.1"
//runtime ":cached-resources:1.1"
//runtime ":yui-minify-resources:0.1.5"
// An alternative to the default resources plugin is the asset-pipeline plugin
//compile ":asset-pipeline:1.5.0"
// Uncomment these to enable additional asset-pipeline capabilities
//compile ":sass-asset-pipeline:1.5.1"
//compile ":less-asset-pipeline:1.5.0"
//compile ":coffee-asset-pipeline:1.5.0"
//compile ":handlebars-asset-pipeline:1.0.0.3"
}
提前谢谢。
Chris插件页面中的文档和示例链接工作正常。有什么问题吗?在谷歌文档文件中有指向gsp源文件的链接。那些不起作用。这正是我真正需要的。我在最初的帖子中编辑了my BuildConfig.groovy。我怀疑这可能就是问题所在。这里是我需要的文档链接引导我:将compile::jit:0.2:“添加到插件闭包,而不是依赖项闭包。我已经尝试过了。然后我发现,它说要将它添加到插件页面上的依赖项闭包中。不管怎样,当我把-tag包含在我的gsp的head部分时,它告诉我它无法识别这个标签。此外,在运行应用程序时,控制台从未提及下载插件。它也不会出现错误。