开发者

spring roo backup command lost my files

开发者 https://www.devze.com 2022-12-23 16:38 出处:网络
I generated spring roo project and modifies .jspx files to my styles.Unfortunately, when i used the backup command, spring roo was auto-generated files to the original one.Thus, my .jspx files are noy

I generated spring roo project and modifies .jspx files to my styles. Unfortunately, when i used the backup command, spring roo was auto-generated files to the original one. Thus, my .jspx files are noy my styles. 开发者_开发问答How should i do to recovery my files back from this command.


Check the comment in this JIRA-Issue about "Adding field overwrites changes in *.jspx". By default, the automatically created views (.jspx) are maintained by Roo. You can

  • turn this off by setting "automaticallyMaintainView = false" and edit everything freely (of course, there will be no changes made to the views anymore if you add a field to an entity)

  • use your own jspx files that Roo doesn't even know about

  • wait until Roo 1.1 in which the Roo support for views is moving to the element level (as I understand it), see this issue where it is explained in the comments. I think this will allow for .jspx files which are partly user- and partly roo-managed.

0

精彩评论

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