Re: [JDBC] Whatever ... JDBC build patch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20-Oct-2001 Peter Eisentraut wrote: >> How do distributors that need to build all driver types proceed ? > > I haven't seen one yet, but theoretically they should configure several > different build trees from one source tree. Of course, this doesn't work > with Ant, but it's trivial with GNU make. Actually, I think you can, if I understand the question. Simply have multiple targets in the build process, one per driver type. Each target builds the driver if and-only-if the needed classes are loaded. Virtually, Ned Wolpert <[EMAIL PROTECTED]> D08C2F45: 28E7 56CB 58AC C622 5A51 3C42 8B2B 2739 D08C 2F45 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD4DBQE71Fx+iysnOdCML0URAvAJAJjcYuLk2CCeL1wooZ2dYTveYKxbAJ4xZ5z4 HzjKi22efx295LsmMfo5kw== =WdGU -END PGP SIGNATURE- ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
Re: [JDBC] Whatever ... JDBC build patch
On Sat, Oct 20, 2001 at 04:15:56AM +0200, Gunnar Rønning wrote: > * Marko Kreen <[EMAIL PROTECTED]> wrote: > | > | * driver type is researched in configure, which is the > | right place for it. > > How do distributors that need to build all driver types proceed ? > > Compile for each platform in different environments ? The standard is to ./configure separately whole tree for every variant. With my patch this can be done more easily tho': cd src/interfaces/jdbc make JARFILE=pg-jdbc1.jar JAVAC=javac-jdk11 clean jdbc1 make JARFILE=pg-jdbc2.jar JAVAC=javac-jdk12 clean jdbc2 CLASSPATH=j2ee.jar:... \ make JARFILE=pg-jdbc2e.jar JAVAC=javac-jdk12 clean jdbc2e This should give a idea of what's possible. In any case they need to set up both jdk1.1 and 1.2... Ofcourse something like the above can be made for current make+Ant setup. -- marko ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster
Re: [JDBC] Whatever ... JDBC build patch
Gunnar Rønning writes: > How do distributors that need to build all driver types proceed ? I haven't seen one yet, but theoretically they should configure several different build trees from one source tree. Of course, this doesn't work with Ant, but it's trivial with GNU make. -- Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster
Re: [JDBC] Whatever ... JDBC build patch
* Marko Kreen <[EMAIL PROTECTED]> wrote: | | * driver type is researched in configure, which is the | right place for it. How do distributors that need to build all driver types proceed ? Compile for each platform in different environments ? -- Gunnar Rønning - [EMAIL PROTECTED] Senior Consultant, Polygnosis AS, http://www.polygnosis.com/ ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly