Re: [PATCHES] Ant configuration

From: Ned Wolpert <ned(dot)wolpert(at)knowledgenet(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org, Dave Cramer <Dave(at)micro-automation(dot)net>, Gunnar Rønning <gunnar(at)polygnosis(dot)com>
Subject: Re: [PATCHES] Ant configuration
Date: 2001-10-23 22:12:16
Message-ID: XFMail.20011023151216.ned.wolpert@knowledgenet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-patches

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23-Oct-2001 Peter Eisentraut wrote:
> Gunnar Rnning 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.)

That should work fine. I've been doing that since Ant version 1.3. Do you have
a specific case that doesn't work? (You can always specify absolute paths in
the properties, if you like...)

>> >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.

You can either set-it in the build.xml file via a property tag
<property name="build.compiler" value="jikes"/>
or during the startup of ant using the -D flag. (set the ANT_OPTS var to
"-Dbuild.compiler=jikes" in your environment before running ant)

Virtually,
Ned Wolpert <ned(dot)wolpert(at)knowledgenet(dot)com>

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

iD8DBQE71etAiysnOdCML0URAkk6AJ9Op2uOIfbd4UokyhsJqS1/S4ZgjQCeJZd4
vmRbTwuQadIuhyez/86OpF0=
=xk1y
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Ned Wolpert 2001-10-23 23:14:53 Re: FW: Re: [PATCHES] Ant configuration
Previous Message Barry Lind 2001-10-23 21:45:16 Re: Compliance? Plans?

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-10-24 01:54:48 Re: libpq(win32) s/errno/WSAGetLastError()/
Previous Message Bruce Momjian 2001-10-23 21:29:39 Re: [PATCHES] DatabaseMetadata patch