Subject Re: reworked IC16 sources available - need help
Author e@flavors.com
--- In IB-Java@egroups.com, "Torsten Welches" <torsten.welches@n...>
wrote:
> Hi all,
>
> I have uploaded a ZIP file with the reworked sources for
InterClient
> 1.6. I chose to put the file into IB-Java's files section
> http://www.egroups.com/files/IB-Java/
>[etc.]

FYI...

I downloaded these sources, replacing those in the interclient cvs
tree, and compiled them with jikes on Windows using this batch file
(note that the lines starting with jikes, rem, and jar are a single
line):

-----------------------------------------------
cd Interbase\interclient\16\dev\packages

jikes -classpath %JIKESPATH%;%eJARS%\jndi.jar;%eJARS%\jta-
spec1_0_1.jar;%eJARS%\jdbc2_0-stdext.jar borland\jdbc\*.java
com\inprise\sql\*.java interbase\interclient\utils\*.java
interbase\interclient\*.java

rem javac com\inprise\sql\*.java interbase\interclient\utils\*.java
interbase\interclient\*.java

jar cfm ..\..\..\..\..\ic16.jar ..\..\..\..\..\ic16.mf
borland\jdbc\*.class com\inprise\sql\*.class
interbase\interclient\utils\*.class interbase\interclient\*.class

del borland\jdbc\*.class
del com\inprise\sql\*.class
del interbase\interclient\utils\*.class
del interbase\interclient\*.class

cd ..\..\..\..\..
--------------------------------------------------

The environment variables JIKESPATH and eJARS identify the compile
context; on my machine they are:
eJARS=C:\jdk1.3\jre\lib\ext
JIKESPATH=.;C:\jdk1.3\jre\lib\rt.jar

ic16.mf just contains...

Main-Class: interbase.interclient.Tester

I tested interclient with

java -jar ic16.jar
=>
got connection with 49 records

Testing requires that the extension jars
jdbc2_0-stdext.jar
jndi.jar
jta-spec1_0_1.jar
are in the extensions directory,
e.g., C:\Program Files\JavaSoft\JRE\1.3\lib\ext

While none of this is earth shaking, I thought you might like to know
that the sources compile and build for me, and that building
interclient can be done easily with free tools.

e