Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-978

OSGi bundle build fails if space exists in build path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • packaging
    • None

    Description

      While trying to replicate TIKA-997, I copied the Tika 1.2 source release to /Volumes/Ken Backup/. Tika parent/core/parsers/XMP/application built fine, but the OSGi bundle build failed a test - something doesn't like a space in the path to the tika-core.jar file:

      Running org.apache.tika.bundle.BundleIT
      35 [main] INFO org.ops4j.pax.exam.spi.DefaultExamSystem - Pax Exam System (Version: 2.2.0) created.
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.152 sec <<< FAILURE!

      Results :

      Tests in error:
      initializationError(org.apache.tika.bundle.BundleIT): Illegal character in path at index 17: file:/Volumes/Ken Backup/tika-1.2/tika-bundle/target/test-bundles/tika-core.jar

      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

      [INFO]
      [INFO] — maven-failsafe-plugin:2.10:verify (default) @ tika-bundle —
      [INFO] Failsafe report directory: /Volumes/Ken Backup/tika-1.2/tika-bundle/target/failsafe-reports
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Apache Tika parent ................................ SUCCESS [2.218s]
      [INFO] Apache Tika core .................................. SUCCESS [19.498s]
      [INFO] Apache Tika parsers ............................... SUCCESS [1:00.914s]
      [INFO] Apache Tika XMP ................................... SUCCESS [1.895s]
      [INFO] Apache Tika application ........................... SUCCESS [13.102s]
      [INFO] Apache Tika OSGi bundle ........................... FAILURE [18.073s]
      [INFO] Apache Tika server ................................ SKIPPED
      [INFO] Apache Tika ....................................... SKIPPED

      Attachments

        Activity

          People

            Unassigned Unassigned
            kkrugler Kenneth William Krugler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: