Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2003 15:41:54 +1300 (NZDT)
From:      Jonathan Chen <jonc@chen.org.nz>
To:        FreeBSD-gnats-submit@FreeBSD.org, girgen@pingpong.net
Subject:   ports/48610: database/postgresql-jdbc postgresql.jar is incomplete.
Message-ID:  <200302240241.h1O2fsQZ039370@grimoire.chen.org.nz>

next in thread | raw e-mail | index | archive | help

>Number:         48610
>Category:       ports
>Synopsis:       database/postgresql-jdbc postgresql.jar is incomplete.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 23 18:50:08 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Chen
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD grimoire.chen.org.nz 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Feb 15 15:42:09 NZDT 2003 root@grimoire.chen.org.nz:/usr/obj/usr/src/sys/GRIMOIRE i386
>Description:
On a system running jdk-1.3.1-p8, the postgresql.jar file from
database/postgresql-jdbc does not contain several classes essential
for supporting MetaData functions.
>How-To-Repeat:

    # cd /usr/ports/database/postgresql-jdbc
    # make
    # cd work/postgresql-7.3.2/src/interfaces/jdbc/jars
    # java -cp postgresql-examples.jar:postgresql.jar examples/metadata
    Exception in thread "main" java.lang.NoClassDefFoundError: examples/metadata

>Fix:

The following patch needs to be added to the port:

--- src/interfaces/jdbc/build.xml.orig	Mon Feb 24 15:17:49 2003
+++ src/interfaces/jdbc/build.xml	Mon Feb 24 15:18:14 2003
@@ -104,7 +104,7 @@
     <javac srcdir="${srcdir}" destdir="${builddir}" debug="${debug}">
       <include name="${package}/**" />
 
-      <exclude name="${package}/jdbc1/**" unless="jdbc1"/>
+      <exclude name="${package}/jdbc1/Jdbc1*" unless="jdbc1"/>
       <exclude name="${package}/jdbc2/**" unless="jdbc2"/>
       <exclude name="${package}/jdbc3/**" unless="jdbc3"/>
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302240241.h1O2fsQZ039370>