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

Empty file - 'compilation unit' - genarates an apparent error message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.0.M1
    • Fix Version/s: 1.2.0.RC1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows STS 2.8.0 M2 and windows command line.

      Description

      If you have an empty java file (or a file with the contents commented out) then ROO reports the following

      . java.lang.IllegalArgumentException: Compilation unit contents required

      AND appears NOT to go on to parse the other files (well - no "updated" messages are produced). This is NOT the case with 1.1.5. which was happy with empty 'compilation units' as is the SUN 1.6.26 compiler.

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            rogerpf Roger Pfister
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: