Re: the build - Mailing list pgsql-jdbc

From Nic Ferrier
Subject Re: the build
Date
Msg-id 87smsij036.fsf@pooh-sticks-bridge.tapsellferrier.co.uk
Whole thread Raw
In response to Re: the build  (Barry Lind <blind@xythos.com>)
List pgsql-jdbc
Barry Lind <blind@xythos.com> writes:

> Nic Ferrier wrote:
> > But the important point is that the test MUST be done to the target
> > java platform and NOT the platform running ant as it is done at the
> > moment.
>
> Why isn't the platform running ant the same as the target platform?

Because you might well want to cross compile, maybe use javac to compile
code to run on gij (the GNU java interpreter).


> ISTM that ant is designed to support multiple compilers (at least javac
> and jikes) so supporting gcj shouldn't be to difficult.

Yes, I can compile the code with GCJ. I'm already doing that. But
choosing which version to compile is more difficult.

>
> Are you trying to use gcj to compile to bytecode or to native?

bytecode. for now. It works. But the integration with the build is
zero.

Are you wedded to using ANT to auto-select the version to build? If
so would you accept an ANT task to do the selection properlt (ie:
based on the target VM).


Nic

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: setCatalog
Next
From: Dave Cramer
Date:
Subject: Re: setCatalog