Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2987

ivy xml parsing issues related to change of the xml schema to 1.1

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.10
    • Fix Version/s: 1.11-rc-1
    • Known Issue Of:

      Description

      Gradle 1.10 started generating ivy xmls with xml schema v 1.1:

      //Gradle 1.10:
      <?xml version="1.1" ...
      //Gradle 1.9-:
      <?xml version="1.0" ...
      

      I've verified that there are some issues parsing those ivy files by standard java tools based on xerces. Basically, the parsing is not reliable.

        Activity

        Show
        szczepiq Szczepan Faber added a comment - Possibly related: http://forums.gradle.org/gradle/topics/dependency_resolution_problem_in_gradle_1_10
        Show
        szczepiq Szczepan Faber added a comment - Another possibly related: http://forums.gradle.org/gradle/topics/there_appears_to_be_a_bug_in_gradle_1_10_in_regards_to_the_new_ivyxmlmoduledescriptorwriter
        Show
        bmuschko Benjamin Muschko added a comment - - edited Here're other reports of the issue: http://forums.gradle.org/gradle/topics/dependency_corruption_in_1_10 http://forums.gradle.org/gradle/topics/gradle_1_10_cant_handle_ivy_xml_generated_by_itself_with_xml_version_1_1
        Hide
        szczepiq Szczepan Faber added a comment -

        Anyone who is facing this problem can you try latest gradle nightly and let us know? http://gradle.org/nightly

        Show
        szczepiq Szczepan Faber added a comment - Anyone who is facing this problem can you try latest gradle nightly and let us know? http://gradle.org/nightly
        Hide
        krosenvold Kristian Rosenvold added a comment -

        Thanks, latest build solved the problem. Remember to clear out .gradle/cache to get rid of the "xml 1.1" files.

        Show
        krosenvold Kristian Rosenvold added a comment - Thanks, latest build solved the problem. Remember to clear out .gradle/cache to get rid of the "xml 1.1" files.

          People

          • Assignee:
            szczepiq Szczepan Faber
            Reporter:
            szczepiq Szczepan Faber
          • Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development