Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-488

Fix build by moving to Xerces xmlresolver 1.2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: Version 2.6
    • Fix Version/s: None
    • Component/s: Tools
    • Labels:

      Description

      Since XML Commons Resolver moved to Xerces and is only available in version 1.2, perhaps it's time to move to that version, since the current build does not work.

      Suggested diff:

      Index: build.xml
      ===================================================================
      — build.xml (revision 1381753)
      +++ build.xml (working copy)
      @@ -170,7 +170,7 @@

      <target name="xcresolver.zip" depends="check.xcresolver.zip, dirs" unless="xcresolver.zip.exists">
      <get dest="external/lib/xcresolver.zip"

      • src="http://www.apache.org/dist/xml/commons/binaries/xml-commons-resolver-1.1.zip"
        + src="http://www.apache.org/dist/xerces/xml-commons/xml-commons-resolver-1.2.zip"
        verbose="true" usetimestamp="true" ignoreerrors="true"/>
        </target>

      @@ -186,8 +186,8 @@
      <include name="*/resolver.jar"/>
      </patternset>
      </unzip>

      • <copy file="external/lib/xml-commons-resolver-1.1/resolver.jar" tofile="build/lib/resolver.jar"/>
      • <delete dir="external/lib/xml-commons-resolver-1.1"/>
        + <copy file="external/lib/xml-commons-resolver-1.2/resolver.jar" tofile="build/lib/resolver.jar"/>
        + <delete dir="external/lib/xml-commons-resolver-1.2"/>
        </target>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jespersm Jesper Steen Møller
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: