Subject Re: compiling jaybird driver to target 1.1 JVMs
Author Roman Rokytskyy
Hi,

> I found sources for ver 1.6 and 2.01 on the Borland site.

Sources from Firebird have Ant build script by David Jencks that
simplifies the build if you know what Ant is.

> Now, if I can just ask what I need to do to go about compiling this
> stuff. It doesn't look like plain ol' Java.

InterClient is type 3 driver, part in Java, part in C++. Java part is
still old plain Java, C++ is also buildable (I managed to build it
also with Borland C++, but default compilers are MSVC for Windows and
gcc for Linux). In theory you do not need to build C++ part if you
have it already.

> Here's a list of the top level directories in the 1.6 source:
> >>
> Directory of C:\download\java\IC16_sources\cvs
>
> 24/07/2000 15:08 11 Entries
> 24/07/2000 15:07 53 Repository
> 24/07/2000 15:07 76 Root
> 24/07/2000 15:07 27 Tag
> 4 File(s) 167 bytes
> 2 Dir(s) 2,893,586,432 bytes free

Yes, this is just CVS snapshot. These files belong to CVS, don't
change them.

> C:\download\java\IC16_sources>dir dev
>
> 09/06/2003 22:53 <DIR> .
> 09/06/2003 22:53 <DIR> ..
> 09/06/2003 22:52 <DIR> CVS
> 09/06/2003 22:58 <DIR> docs
> 09/06/2003 22:53 <DIR> examples
> 09/06/2003 22:53 <DIR> install
> 09/06/2003 22:53 <DIR> interserver
> 09/06/2003 22:53 <DIR> jbuilder_help
> 09/06/2003 22:53 <DIR> obfuscatedClasses
> 09/06/2003 22:53 <DIR> packages
> 09/06/2003 22:53 <DIR> sbin
> 02/05/2000 22:14 4,997 varmap.txt
> 1 File(s) 4,997 bytes
> 11 Dir(s) 2,893,586,432 bytes free
> >>
>
> I take it the source is in some kind of CVS storage format. I had a
> look on the Firebird pages on Sourceforge, and at Borland's website,
> but I could not find anything on just _how_ to go about building the
> driver.

No, this is just Borland's directory structure they've chosen for
InterClient. Java part is located in packages/. Just compile it with
any standard compiler.

> Is there a how-to that you could point me to? If not, and I just
> need to roll up my sleeves and learn about CVS, and doing that will
> make it clear, then please just say so :-))

CVS does not help you with build, but you might need it when working
with JayBird. Bugs are fixed in CVS code quite fast, but releases
happen quite rarely. You need CVS to fetch latest changes from the
repository.

Best regards,
Roman Rokytskyy