From: | Nic Ferrier <nferrier(at)tapsellferrier(dot)co(dot)uk> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | installation failure using ANT with 7.3 CVS |
Date: | 2002-10-02 11:50:42 |
Message-ID: | 874rc56ovh.fsf_-_@pooh-sticks-bridge.tapsellferrier.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
I was trying to build 7.3 on my ppc/gnu-linux box. It's just a little
iMac (perfectly all right for most stuff). Builds work ok but the ANT
installation target fails (the relevant console messages are below).
This could be for several reasons:
- maybe I really don't have enough memory to copy the target
directory to the destination
- maybe my java (blackdown 1.3 for PPC) is broken somewhere
- maybe there's a problem with ANT
However, I fixed this problem by altering the Makefile so that it did
the installation on behalf of the Java code. Here's the new
installation target:
# The install target used to do this:
# $(ANT) -buildfile $(srcdir)/build.xml install \
# -Dinstall.directory=$(javadir) $(properties)
install: installdirs
cp jars/postgresql.jar jars/postgresql-examples.jar $(javadir)
If the installation mechanism must rely on the build mechanism then
I'm not sure how to fix this.
Nic Ferrier
"make install" console messages >>>>>
/usr/local/bin/ant -buildfile ./build.xml install \
-Dinstall.directory=/usr/local/share/postgresql/java -Dmajor=7 -Dminor=3 -Dfullversion=7.3b2 -Ddef_pgport=5432 -Denable_debug=no
Buildfile: ./build.xml
all:
prepare:
BUILD FAILED
java.lang.OutOfMemoryError
at java.lang.reflect.Method.copy(Method.java:278)
at java.lang.reflect.Method.getParameterTypes(Method.java:90)
at org.apache.tools.ant.IntrospectionHelper.<init>(IntrospectionHelper.java:212)
at org.apache.tools.ant.IntrospectionHelper.getHelper(IntrospectionHelper.java:384)
at org.apache.tools.ant.ProjectHelper.storeChild(ProjectHelper.java:380)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:255)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:202)
at org.apache.tools.ant.Task.maybeConfigure(Task.java:257)
at org.apache.tools.ant.Task.perform(Task.java:316)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Total time: 7 seconds
java.lang.OutOfMemoryError
at java.lang.reflect.Method.copy(Method.java:278)
at java.lang.reflect.Method.getParameterTypes(Method.java:90)
at org.apache.tools.ant.IntrospectionHelper.<init>(IntrospectionHelper.java:212)
at org.apache.tools.ant.IntrospectionHelper.getHelper(IntrospectionHelper.java:384)
at org.apache.tools.ant.ProjectHelper.storeChild(ProjectHelper.java:380)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:255)
at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:202)
at org.apache.tools.ant.Task.maybeConfigure(Task.java:257)
at org.apache.tools.ant.Task.perform(Task.java:316)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
.
.
.
<<<<< "make install" console messages.
From | Date | Subject | |
---|---|---|---|
Next Message | beh | 2002-10-02 13:23:02 | Huh? ErrorCode/SQLstate are null? |
Previous Message | Dave Cramer | 2002-10-02 09:50:07 | Re: jdbc performance tips? |