Results 1 to 4 of 4

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

  1. #1
    Join Date
    May 2006
    Location
    Madrid
    Posts
    383

    Default 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. #2
    Join Date
    Dec 2005
    Posts
    935

    Default

    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
    Alan Stewart
    Spring Roo Committer
    twitter @alankstewart

  3. #3
    Join Date
    May 2006
    Location
    Madrid
    Posts
    383

    Default

    Thanks anyway.

  4. #4
    Join Date
    Jan 2010
    Location
    Mislata - Valencia - Spain
    Posts
    163

    Default

    Mario Martínez Sánchez
    Project Manager & Software Architect
    --------------------------
    Disid Technologies S.L.
    http://www.disid.com
    --------------------------
    gvNIX
    http://gvnix.googlecode.com
    http://www.gvnix.org

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •