Re: [PATCHES] Ant configuration - Mailing list pgsql-jdbc

From Peter Eisentraut
Subject Re: [PATCHES] Ant configuration
Date
Msg-id Pine.LNX.4.30.0110222117400.825-100000@peter.localdomain
Whole thread Raw
In response to Re: [PATCHES] Ant configuration  (Gunnar Rønning <gunnar@polygnosis.com>)
Responses Re: [PATCHES] Ant configuration  (Ned Wolpert <ned.wolpert@knowledgenet.com>)
List pgsql-jdbc
Gunnar Rønning writes:

> | * In numerous attempts I have failed to convince Ant to place the built
> | files in a tree different from the source tree.  This really makes it a
> | pain to build for multiple architectures (in Java, architecture =
> | different jdk).
>
> <javac srcdir="${src}"
>          destdir="${build}"
>          classpath="xyz.jar"
>          debug="on"
>   />
>
>
> Is that what you want ?

Yes, but ant refused to recognize the srcdir as absolute and thinks it's
relative to the build dir.  (Or at least it was something stupid like
that; it's been a while.)

> >From the Ant manual :
>
> It is possible to use different compilers. This can be selected with
> the "build.compiler" property.

Yeah, but how do you set the "build.compiler" property?  This requires
pretty advanced knowledge.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-jdbc by date:

Previous
From: Ned Wolpert
Date:
Subject: Re: [PATCHES] Ant configuration
Next
From: Barry Lind
Date:
Subject: Re: FW: Re: [PATCHES] Ant configuration