NEWBIE ant build.xml FAILED !! - Mailing list pgsql-interfaces

From impala
Subject NEWBIE ant build.xml FAILED !!
Date
Msg-id 20020308104626.84450.qmail@web14910.mail.yahoo.com
Whole thread Raw
Responses Re: NEWBIE ant build.xml FAILED !!
List 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/


pgsql-interfaces by date:

Previous
From: "Nicolas Bazin"
Date:
Subject: Additional fixes to ecpg - please apply patch
Next
From: Fernando de la Fuente Garcia
Date:
Subject: Problem trying to connect to a database with PGACCESS