开发者

grails and version control specific to plugins

开发者 https://www.devze.com 2023-03-10 07:30 出处:网络
I am using 1.3.7 on a windows system, the plugins are placed in a different folder and I have made a few changes in the code related to the plugins.

I am using 1.3.7 on a windows system, the plugins are placed in a different folder and I have made a few changes in the code related to the plugins.

I now need to check in this project into svn, how do i go about doing it ? specifically how do i check in he plugins ?

When a team mate of mine checks out this project, where will he find the plugins ?

I realize that similar questions have been asked here and here

However they do not address this specifi开发者_如何学Pythonc problem.


The plugins you have made need to be made inline. i.e. they will be in your grails-app folder.

To make a plugin inline create a folder say "custom-plugins" in your grails-app folder and copy the modified plugin there. Now in your BuildConfig.groovy add following lines

grails.plugin.location.'plugin-name'="custom-plugins/plugin-name"

repeat this for different plugins you have changed.

I personally prefer to add "custom" in the name of modified plugin to differentiate it from original.

0

精彩评论

暂无评论...
验证码 换一张
取 消