Builds fail during splitmessages step if path contains spaces
-------------------------------------------------------------

         Key: DERBY-249
         URL: http://issues.apache.org/jira/browse/DERBY-249
     Project: Derby
        Type: Bug
  Components: Build tools  
    Versions: 10.0.2.2, 10.1.0.0    
    Reporter: Samuel Andrew McIntyre
    Priority: Trivial


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to