db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimple Bhatia" <dim...@gmail.com>
Subject Re: Errors hen building derby using eclipse
Date Thu, 19 Apr 2007 19:10:05 GMT
Hi Andrew,
I did follow the instructions in BUILDING.txt in the 10.2 branch which i am
trying to build. Here are the content sof my ant.properties




I am notsure whether the IBM JVM is being used but i tried to add the
java14compileclasspth tot he properties file and that did not help either.
Fromt he compile errors, it looks like it doesn't find the classes in the
JCE. I have palced those jarsin %derbsource%/tools/javaas per the
instructions in BUILDING.txt I don't see the classpath being set to
So I don't understand how it will find it.

I also tried to build the source in the workspace from the command line
using ant all but i see the same errors.

Any other suggestions?



On 4/18/07, Andrew McIntyre <mcintyre.a@gmail.com> wrote:
> On 4/18/07, Dimple Bhatia <dimp20@gmail.com> wrote:
> > Hi,
> > I am tryin to build the derby source using eclipse. I am using this link
> i
> > found on the derby wiki
> > -
> >
> http://wiki.apache.org/db-derby/BuildingDerby#head-0c0abaf557bc2cfe0efdbdd9a6098de1db0f6bb2
> > I have followed the instructions in building.txt but when I build i see
> a
> > lot of errors such as below: I tried to add the jce1_2_2.ajr, junit.jarand
> > jdbc2_0-stdext.jar as extnal jars to the project libraries under java
> build
> > path but still the same problem. I am using the Ant builder asper the
> > istrauctions on the above website.
> > I woudl appreciate your hints.
> The classpath for the build is not determined by Eclipse's Java Build
> Path when building inside Eclipse using a custom Ant Builder. Several
> Ant properties need to be set in your ~/ant.properties file or loaded
> with Ant's -propertyfile option. See the file BUILDING.txt that is
> included in your checkout of the Derby source tree for more
> information about how to set these properties. The brief version is:
> * If you are building the trunk, make sure that j14lib is set to the
> location of a JDK 1.4 installation's 'jre/lib' directory in your
> ~/ant.properties and that you can build from the command-line using
> Ant.
> * If you are building one of the branches, be sure to follow all of
> the instructions in BUILDING.txt included with the branch and make
> sure that you have at least the j13lib and j14lib properties set in
> your ~/ant.properties.
> * If you are using an IBM JVM, be sure to follow the instructions in
> section 3.2.2 of BUILDING.txt regarding the setting of the
> java14compile.classpath property.
> HTH,
> andrew

View raw message