NEWBIE ant build.xml FAILED !!

From: impala <bhnnc(at)yahoo(dot)co(dot)uk>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: NEWBIE ant build.xml FAILED !!
Date: 2002-03-08 10:46:26
Message-ID: 20020308104626.84450.qmail@web14910.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hi
I am new with postgres and still struggling with the
driver installation phase. I downloaded
postgresql-7.2.tar.gz. I also extract the ant tar file
and put the ANT_HOME/bin in the .bashrc PATH.
After running ./configure --with-java and gmake, I
ran ant in ../interfaces/jdbc where the build.xml file
is located. I encountered the following errors when
running ant.
The ant version is 1.4.1
Do I still need to edit the build.xml file manually?

Buildfile: build.xml

all:

prepare:

check_versions:

driver:
[echo] Configured build for the JDBC2 edition
driver

compile:
[javac] Compiling 40 source files to
/usr/share/mypgs/postgresql-7.2/src/interfaces/jdbc/build
[javac]
/usr/share/mypgs/postgresql-7.2/src/interfaces/jdbc/org/postgresql/Driver.java:234:
';' expected
[javac] return ${major};
[javac] ^
[javac]
/usr/share/mypgs/postgresql-7.2/src/interfaces/jdbc/org/postgresql/Driver.java:244:
';' expected
[javac] return ${minor};
[javac] ^
[javac]
/usr/share/mypgs/postgresql-7.2/src/interfaces/jdbc/org/postgresql/Driver.java:234:
cannot resolve symbol
[javac] symbol : variable $
[javac] location: class org.postgresql.Driver
[javac] return ${major};
[javac] ^
[javac]
/usr/share/mypgs/postgresql-7.2/src/interfaces/jdbc/org/postgresql/Driver.java:244:
cannot resolve symbol
[javac] symbol : variable $
[javac] location: class org.postgresql.Driver
[javac] return ${minor};
[javac] ^
[javac] Note: Some input files use or override a
deprecated API.
[javac] Note: Recompile with -deprecation for
details.
[javac] 4 errors

BUILD FAILED

/usr/share/mypgs/postgresql-7.2/src/interfaces/jdbc/build.xml:72:
Compile failed, messages should have been provided.

Total time: 7 seconds

Can someone PLEASE help me with this problem?I don't
know where I'm going wrong. Can the problem be at ant?

Thanks
Nic

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Fernando de la Fuente Garcia 2002-03-08 11:28:57 Problem trying to connect to a database with PGACCESS
Previous Message rolf.ostvik 2002-03-08 09:40:47 Re: PL/pgSQL Syntax Problem