From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24025 invoked by alias); 11 Jul 2002 16:55:58 -0000 Mailing-List: contact rhug-rhats-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rhug-rhats-owner@sources.redhat.com Received: (qmail 24011 invoked from network); 11 Jul 2002 16:55:57 -0000 Received: from unknown (HELO potter.sfbay.redhat.com) (205.180.83.107) by sources.redhat.com with SMTP; 11 Jul 2002 16:55:57 -0000 Received: from dhcp-172-16-25-188.sfbay.redhat.com (vpn3-1.sfbay.redhat.com [172.16.25.1]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g6BGujQ28052; Thu, 11 Jul 2002 09:56:46 -0700 Subject: rhug RPMS available From: Anthony Green To: rhug-rhats@sources.redhat.com Cc: java@gcc.gnu.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 11 Jul 2002 09:55:00 -0000 Message-Id: <1026406553.1956.54.camel@dhcppc2> Mime-Version: 1.0 X-SW-Source: 2002-07/txt/msg00004.txt.bz2 Now that libgcj 3.1 RPMS available for Red Hat Linux, I've placed my first rhug RPMS up for ftp... ftp://sources.redhat.com/pub/rhug/RPMS/i386 and ftp://sources.redhat.com/pub/rhug/SRPMS I used Red Hat Network and up2date to get libgcj3, however I think it is also available via rpmfind.net and other sources. These are some of my first RPMS, so comments would be appreciated. The spec files are checked into cvs. I used "make dist" to generate tarballs, and then "rpm -ta rhug-foo.tar.gz" to build the RPMS. These first RPMS are for gnu.readline, rhino (the Mozilla javascript interpreter), and the postgresql jdbc driver. This is enough to do some database scripting... ---- cut here ---------------------- #!/usr/bin/js user = "myname"; pass = "mypassword"; driver = "org.postgresql.Driver"; url = "jdbc:postgresql://myserver.foo.com/mydb"; // Set up the postgresql jdbc driver. java.sql.DriverManager.registerDriver (java.lang.Class.forName (driver).newInstance()); // Establish a connection... con = java.sql.DriverManager.getConnection(url, user, pass); // Prepare and execute the query pstmt = con.prepareStatement ("SELECT name FROM people"); rset = pstmt.executeQuery(); // Report the results rset.first(); while (! rset.isAfterLast()) { print (rset.getString(1)); rset.next(); } // Close everything rset.close(); con.close(); ---- cut here ---------------------- AG