NEWBIE ant build.xml FAILED !!

Поиск
Список
Период
Сортировка
От impala
Тема NEWBIE ant build.xml FAILED !!
Дата
Msg-id 20020308104626.84450.qmail@web14910.mail.yahoo.com
обсуждение исходный текст
Ответы Re: NEWBIE ant build.xml FAILED !!
Список 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 по дате отправления:

Предыдущее
От: "Nicolas Bazin"
Дата:
Сообщение: Additional fixes to ecpg - please apply patch
Следующее
От: Fernando de la Fuente Garcia
Дата:
Сообщение: Problem trying to connect to a database with PGACCESS