Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3447

Comment structures added by a builder are not written in the ITD

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.4.RELEASE, 1.2.5.RELEASE
    • Fix Version/s: 2.0.0.M2
    • Component/s: @ CORE
    • Labels:
      None
    • Environment:
      All

      Description

      Builders allow comment structures from Metadata, but not included in the AJ file when write to disk.

      It is possible same problem affects comments into properties, classes, methods, ...

      Example:

      ...
      CommentStructure comments = new CommentStructure();
      JavadocComment javadoc = new JavadocComment("My javadoc comment");
      comments.addComment(javadoc, CommentStructure.CommentLocation.BEGINNING);
      ...
      MethodMetadataBuilder methodBuilder = new MethodMetadataBuilder(...);
      methodBuilder.setCommentStructure(comments);
      ...
      builder.addMethod(methodBuilder.build());
      itdTypeDetails = builder.build();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jcgarcia Juan Carlos García del Canto
                Reporter:
                mmartinez Mario Martínez Sánchez - gvNIX - DISID
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: