Thread: JDBC build fails
Can someone please fix this? Building JDBC staffs in current has been broken for a while(7.2.x is ok). Maybe current JDBC build process requires more recent version of ant than I have, I don't know. But if so, that should be stated somewhere in the docs explicitly, I think. /usr/bin/ant -buildfile ./build.xml all \ -Dmajor=7 -Dminor=3 -Dfullversion=7.3devel -Ddef_pgport=5432 -Denable_debug=yes Buildfile: ./build.xml all: prepare: BUILD FAILED /usr/local/src/pgsql/current/pgsql/src/interfaces/jdbc/./build.xml:155: Could not create task of type: condition. Commonsolutions are to use taskdef to declare your task, or, if this is an optional task, to put the optional.jar in thelib directory of your ant installation (ANT_HOME). FYI, my build tools are: Java: 1.3.0 Ant: 1.3
I am not seeing any jdbc build failure here. I am using: Ant version 1.4 compiled on September 3 2001 --------------------------------------------------------------------------- Tatsuo Ishii wrote: > Can someone please fix this? Building JDBC staffs in current has been > broken for a while(7.2.x is ok). Maybe current JDBC build process > requires more recent version of ant than I have, I don't know. But if > so, that should be stated somewhere in the docs explicitly, I think. > > /usr/bin/ant -buildfile ./build.xml all \ > -Dmajor=7 -Dminor=3 -Dfullversion=7.3devel -Ddef_pgport=5432 -Denable_debug=yes > Buildfile: ./build.xml > > all: > > prepare: > > BUILD FAILED > > /usr/local/src/pgsql/current/pgsql/src/interfaces/jdbc/./build.xml:155: Could not create task of type: condition. Commonsolutions are to use taskdef to declare your task, or, if this is an optional task, to put the optional.jar in thelib directory of your ant installation (ANT_HOME). > > FYI, my build tools are: > > Java: 1.3.0 > Ant: 1.3 > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
> Tatsuo, > > Yes, ant version 1.4.1 or later is required to build the driver Then it should be noted somewhere in the docs. Also, that should be noted in the "incompatibilty section" of the release note for 7.3. -- Tatsuo Ishii > see http://jakarta.apache.org/ant > > Dave > On Sat, 2002-04-13 at 23:28, Barry Lind wrote: > > Dave, > > > > This was your change I believe. Can you respond? > > > > thanks, > > --Barry > > > > Tatsuo Ishii wrote: > > > Can someone please fix this? Building JDBC staffs in current has been > > > broken for a while(7.2.x is ok). Maybe current JDBC build process > > > requires more recent version of ant than I have, I don't know. But if > > > so, that should be stated somewhere in the docs explicitly, I think. > > > > > > /usr/bin/ant -buildfile ./build.xml all \ > > > -Dmajor=7 -Dminor=3 -Dfullversion=7.3devel -Ddef_pgport=5432 -Denable_debug=yes > > > Buildfile: ./build.xml > > > > > > all: > > > > > > prepare: > > > > > > BUILD FAILED > > > > > > /usr/local/src/pgsql/current/pgsql/src/interfaces/jdbc/./build.xml:155: Could not create task of type: condition. Commonsolutions are to use taskdef to declare your task, or, if this is an optional task, to put the optional.jar in thelib directory of your ant installation (ANT_HOME). > > > > > > FYI, my build tools are: > > > > > > Java: 1.3.0 > > > Ant: 1.3 > > > > > > > > > ---------------------------(end of broadcast)--------------------------- > > > TIP 6: Have you searched our list archives? > > > > > > http://archives.postgresql.org > > > > > > > > > > >