Subject Re: [IB-Java] Win32 Interserver Build
Author Mark O'Donohue
Hi Ken

I can do that (wait a minute)....

Ok, actually I just did it ;-).

Do you mind checking them, as Im not win32 based. I know it's simple
but just in case.

...
...

(Hmm... Now look what you made me do ;-). .. Since I was working in the
area.

I've also updated the javax.jar file replacing the abstract classes with
the new jdbc2 ones. Now you don't need the whole j2ee installed to
compile this just the jdk will do. And I tweaked the firebird/*
build/install scripts for this as well.

Although the packaging instructions work, they obscure a bit building
the interclient in a simple manner. So I updated the README with some
simple instructions to build interserver and the interclient.jar. (I
also added a 4 line Makefile.linux to compile the classes). To build a
package follow Tom's mod's of Borlands instructions, but to play arround
you can do these.

I deleted the obfuscatedClasses, packages/coffee, and packages/crema
trees, these seem the only be used in the obsure build and are no longer
required.

I also applied any changes made to the 1.6 tree to the 2.0 tree. These are:

1. All of Torsten's mods mostly depreciation warnings, including some
datetime stamp things and a few String(byte[], 0) call changes.

2. fix for match on label and or name of column ResultSet.findColumn().

3. New feature Statement.getFetchSize() now returns a result (result
was already around).

4. Test for end of a result set was in wrong place, could cause
exceptions in some circumstances ResultSet.getNextCursorPosition().

(Actually I think Torsten was the instigator for most of the above).

A few more depreciations warnings have crept in, mainly because of the
addition of SQLDATE and SQLTIME datatypes. I didn't feel comfortable
doing those changes now as I don't have time to test them properly, but
they can be added to the list.


Some instructions for checking out the interclient 20 source, without
getting 1.6 (since it will 1/2 the dowload time).

For anon access:

cvs -z3 -d :pserver:cvs.firebird.sourceforge.net:/cvsroot/firebird logon

cvs -z3 -d
:pserver:cvs.anonymous@...:/cvsroot/firebird
checkout interclient/20

For firebird developers - (you need SSH but you get commit access once
registered on the project - contact me to register ;-).

You need ssh (see the cygwin project for win32)

CVS_RSH=ssh
export CVS_RSH

cvs -z3
-dUSERNAME@...@...:/cvsroot/firebird
checkout interclient/20

There is still the docs and the last installshield build in there, and
they should also go sometime as well.

If people here want to have a bit of a look at the code, build it etc,
if we don't get any problems them I'll put a binary up at.
http://sourceforge.net/projects/firebird as an "interclient" package.


PS; I've had this email open all day, and it just gets longer as I think
of more to do, now Im killing time waiting for CVS to checkin the code.

On a personal note I'd like to thank, Joe Shevland, for his web site at

http://www.kpi.com.au/interbase/
I found the blob example was exactly what I needed. I wonder how much
twisting that would take to get that as a wrapper for the JDBC Blob
datatype?

Ok the checkin finished ;-).

See Ya.

Mark



Ken Richard wrote:

> Is there someone around who can update the cvs for interserver? The
> following change is needed to compile interserver with msvc and the provided
> makefiles.
>
> Index: Window.cpp
> ===================================================================
> RCS file: /cvsroot/firebird/interclient/20/dev/interserver/Window.cpp,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 Window.cpp
> 278c278
> < hIcon = LoadImage(hInstance,
> ---
>
>> hIcon = (HICON)LoadImage(hInstance,
>
> 375c375
> < PostMessage(hWnd, WM_DESTROY, 0, 0);
> ---
>
>> PostMessage((HWND)hWnd, WM_DESTROY, 0, 0);
>
>
>
>
>
> Additionally - can add a condition to firebird/make.sh that skips
> isconfig.exe? I don't have delphi and don't want to build it.
>
> Index: make.sh
> ===================================================================
> RCS file: /cvsroot/firebird/interclient/20/dev/firebird/make.sh,v
> retrieving revision 1.1
> diff -r1.1 make.sh
> 145,146c145,149
> < if make -DDELPHI -fMakefile.w32 isconfig.exe
> < then : ; else exit 1 ; fi
> ---
>
>> if [ ! $IC_SKIP_ISCONFIG ]
>> then
>> if make -DDELPHI -fMakefile.w32 isconfig.exe
>> then : ; else exit 1 ; fi
>> fi
>
>
>
>
> To unsubscribe from this group, send an email to:
> IB-Java-unsubscribe@egroups.com
>
>
>
>
--
Your database needs YOU!
http://firebird.sourceforge.net