Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-2159

Class path and bootstrap class path are not set correctly for test harness in Gump build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.1
    • 2.7
    • TestHarness-TestCase
    • None
    • PatchAvailable

    Description

      The nightly Gump build is failing on the xml-xalan2-smoketest "project." This is because of interactions between the way Gump sets up the class path and bootstrap class path for invoking ant and how the xml-xalan/test/build.xml file puts together the class path and bootstrap class path for the xalantest task.

      In particular, Gump places xml-apis.jar, xercesImpl.jar and xalan.jar on the boot class path. The build.xml, however, takes the class path and specifies that as the bootstrap class path for the xalantest task. It also adds the xercesImpl.jar and xml-apis.jar files that can be found in xml-xalan/java/bin to the bootstrap class path, so that it doesn't actually perform integration testing, which is what Gump was intended to do.

      The problem can be resolved by copying through the class path and bootstrap class path settings for the smoketest.gump target.

      Attachments

        1. patch.j2159.txt
          1 kB
          Henry Zongaro

        Activity

          People

            zongaro@ca.ibm.com Henry Zongaro
            zongaro@ca.ibm.com Henry Zongaro
            Joanne Tong Joanne Tong
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: