Announcement Announcement Module
Collapse
No announcement yet.
Spring roo removes all the comments in the Java files. Any workaround? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring roo removes all the comments in the Java files. Any workaround?

    Hello:

    Spring roo removes all the comments (you know, // for lines and /**/ for blocks) in the Java files whenever a command is executed. It's really annoying.

    I presume that keeping the comments is a difficult feature to be implemented. Maybe impossible. But I can raise a JIRA ticket if you think it's feasible.

    Apart from using a repository in order to recover the comments from the history, is there any workaround or trick for this issue?

    Thanks.

  • #2
    Unfortunately until we move off JavaParser to another type binding library, comments will continue to be stripped off. This is planned for Roo 1.3.
    Alan

    Comment


    • #3
      Thanks anyway.

      Comment


      • #4
        Related issue:

        https://jira.springsource.org/browse/ROO-635

        Comment

        Working...
        X