How do you work in a team with spring roo?

久未见 提交于 2019-12-08 15:29:45

问题


I'm evaluating Spring-Roo to use in one of my projects but I'm not sure how can it work within a team.

  • Everybody in the team can use the roo console?
  • How do you commit your changes to svn?
  • How do you manage merges and branching?

Thanks!


回答1:


I think here is what I would do:

  1. The "Architect Think Tank" in the team can create the basic bootstrap application once they have very hign level domain model carved out.
  2. This can then go into SVN.
  3. Followed by this team members can fire roo console either from command prompt or STS and start making changes to their respective modules!
  4. This then is managed like any other project i.e. team members who create new entities, fields check their changes into svn.

I don't quite see the need for branches. Merging is required even for normal development with multiple team members so I don't see why would it be difficult with Roo.

Does that make sense?




回答2:


From Ben Alex in the Spring Roo forum:

In general I wouldn't recommend checking the ITDs into source control given Roo can rebuild them (a bit like your javac compiler builds .class files so you don't check those in).

Git is an exception to this general advice though, because Roo has addon-git which offers a very good automatic integration at a commit tracking level with what Roo's doing (including the ITDs).

One thing to note is that there is no official support for SVN that I've seen, only an addon for git. Another user suggested using Maven's support for Subversion.

Your build/deploy procedures will also be a factor.



来源:https://stackoverflow.com/questions/5388434/how-do-you-work-in-a-team-with-spring-roo

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!