db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Abbott" <br...@dommoni.com>
Subject Re: Derby Build Failure
Date Fri, 27 Aug 2004 16:42:43 GMT
I fixed the problem so, I dont have the output. But basically, I had the
Derby source under a relatively long file path that contained spaces. The
code in org.apache.derbyBuild.splitmessages was dieing on the calls to
String.indexOf(). indexOf was being fed components of my file path, another
element of the path for every space it encountered. I added some calls to
println in splitmessages to make this visible to me. The solution was just
to create a directory, "Derby", at the root of my drive and move the code to
that location. Once that was done, the build worked without any problems.

The exception thrown was StringIndexOutofBoundsException. IndexOf was
returning -1 and it was first on line 44 I believe, I then wrapped that with
a protective conditional and watched it die again a few lines later. Whoever
calls splitmessages (i'm assuming ant), isnt respecting the quotations for
the file path as far as I can tell. Thoughts?


----- Original Message ----- 
From: "Samuel Andrew McIntyre" <fuzzylogic@nonintuitive.com>
To: "Derby Development" <derby-dev@db.apache.org>
Sent: Friday, August 27, 2004 9:16 AM
Subject: Re: Derby Build Failure

> Hi Brian,
> Could you provide a copy of the output from Ant which contains the
> build error? Also, please provide any more information about your setup
> which might help determine the cause of the problem.
> Thanks,
> Andrew

View raw message