Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3729

~/.groovy/grapeConfig.xml file with only comment causes bug report

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.6.5, 1.7-beta-2
    • None
    • None
    • Ubuntu 9.04 Jaunty Jackalope, Groovy HEAD 2009-09-05

    Description

      If the ~/.groovy/grapeConfig.xml file exists and contains only a comment then the folowing message is reported.

      Caught: BUG! exception in phase 'conversion' in source unit
      'XXXX' failed to load settings from file:/home/users/russel/.groovy/grapeConfig.xml: Premature end of file.

      Where XXXX is an elision of the actual path.

      The problem is not that an effectively empty file is not acceptable, the problem is that the error mesage is not reasonable.

      Attachments

        Activity

          People

            paulk Paul King
            russel Dr. Russel Winder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: