Grails 3-DataSource.groovy和插件有关 [英] Grails 3 - where's the DataSource.groovy and about plugins

查看:102
本文介绍了Grails 3-DataSource.groovy和插件有关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我下载了Grails 3 M1并创建了一个项目.即使在将MySQL驱动程序添加到依赖项之后,也没有DataSource.groovy-我想也许它将看到该驱动程序,并且知道需要DataSource.groovy.

So I downloaded Grails 3 M1 and created a project. There's no DataSource.groovy, even after the MySQL driver was added to the dependencies - I thought maybe it will see the driver and know a DataSource.groovy is needed.

第二,插件.我找到了Grails 3插件页面( https://github.com/grails3-plugins )去安装这些?是否有新的存储库?例如. Maven上最新的Scaffolding插件是从2014年3月开始的.较旧的插件仍然可以使用吗?

Secondly, plugins. I found the Grails 3 plugin page (https://github.com/grails3-plugins) How does one go about installing these? Is there a new repository? E.g. the newest Scaffolding plugin on Maven is from March 2014. Will the older plugins still work?

谢谢.

推荐答案

It is quite useful this official GRAILS 3.x documentation about config files no more present in release 3 and new files needed.

我尝试按照建议扩展答案:

I try to extend the answer as suggested:

不再创建以前由Grails 2.x创建的某些文件.这些文件已被删除或添加了适当的替换.下表列出了不再使用的文件:(请参见下表)"

"Some files that were previously created by Grails 2.x are no longer created. These have either been removed or an appropriate replacement added. The following table lists files no longer in use: (see table below)"

这篇关于Grails 3-DataSource.groovy和插件有关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆