Here is the build.xml file that I use to build, and test the program.
<project name="Xlang" basedir="." default="run">
<property name="target" value="bin/${ant.project.name}.jar"/>
<target name="build">
<mkdir dir="build"/>
<mkdir dir="bin"/>
<javac srcdir="src" destdir="build" debug="true"/>
<jar destfile="${target}" index="true" basedir="build" includes="**/*.class">
<manifest>
<attribute name="Main-class" value="${ant.project.name}"/>
</manifest>
</jar>
</target>
<target name="run" depends="build">
<java jar="${target}" fork="true"/>
</target>
</project>
Thanks!
-----Original Message-----
From: Jan de Visser [mailto:jdevisser@digitalfairway.com]
Sent: Tuesday, July 13, 2004 1:17 PM
To: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] JDBC connection issue
On July 13, 2004 02:05 pm, Young Nam wrote:
> I've included both jar files in the CLASSPATH. Same error.
But you still haven't shown us how you start your program...
JdV!!
--
--------------------------------------------------------------
Jan de Visser jdevisser@digitalfairway.com
Baruk Khazad! Khazad ai-menu!
--------------------------------------------------------------
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)