Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-249

Builds fail during splitmessages step if path contains spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.0.2.2, 10.1.1.0
    • 10.0.2.2, 10.1.1.0
    • Build tools
    • None

    Description

      If the path to the Derby source files contains a space, for example /opt/My Local Drive/derbysource, then the build will fail at the splitmessages step with the following error:

      [java] Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      [java] at java.lang.String.substring(String.java:1444)
      [java] at org.apache.derbyBuild.splitmessages.main(splitmessages.java:44)

      splitmessages should be improved to handle spaces in the path to the message files.

      Attachments

        1. derbyall_report.txt
          4 kB
        2. derby-249.status
          0.0 kB
        3. derby-249.diff
          0.5 kB

        Activity

          People

            dyret Dyre Tjeldvoll
            fuzzylogic Samuel Andrew McIntyre
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: