Tim,
If you do an ant clean in the jdbc directory, and then do an ant
It should work, the first one created a file without the information,
but now that you have done the configure it will work.
If all else fails you can use the command
ant -Dmajor=7 -Dminor=2 -Dfullversion=7.2development -Ddef_pgport=5432
and that will build the jar
On Tue, 2002-04-30 at 20:59, Tim Pizey wrote:
> Hi,
>
> I have only been on this list a short while.
>
> I am trying to get to grips with the jdbc driver,
> and to this end have downloaded the cvs tree,
> built the latest version of pgsql and am trying to build
> the driver.
>
> Initaillay I did
> cd /inst/pgsql/src/interfaces/jdbc
> ant
>
> but this gave me the error given below,
> so I tried cd /inst/pgsql
> ./configure --with-java --without-readline
> gmake
>
> it gave the same error,
> I am using SuSE Linux 7.2 and jdk 1.3
>
>
> Thanks for any advice.
> timp
>
>
> driver:
> [echo] Configured build for the JDBC2 edition driver
>
> compile:
> [javac] Compiling 62 source files to
> /usr/local/packages/inst/pgsql/src/interfaces/jdbc/build
> [javac]
> /usr/local/packages/inst/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:236:
> ';' expected
> [javac] return ${major};
> [javac] ^
> [javac]
> /usr/local/packages/inst/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:246:
> ';' expected
> [javac] return ${minor};
> [javac] ^
> [javac]
> /usr/local/packages/inst/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:236:
> cannot resolve symbol
> [javac] symbol : variable $
> [javac] location: class org.postgresql.Driver
> [javac] return ${major};
> [javac] ^
> [javac]
> /usr/local/packages/inst/pgsql/src/interfaces/jdbc/org/postgresql/Driver.java:246:
> 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/local/packages/inst/pgsql/src/interfaces/jdbc/build.xml:91: Compile
> failed, messages should have been provided.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
>