-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 23-Oct-2001 Peter Eisentraut wrote: > 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.) 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 <[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 iD8DBQE71etAiysnOdCML0URAkk6AJ9Op2uOIfbd4UokyhsJqS1/S4ZgjQCeJZd4 vmRbTwuQadIuhyez/86OpF0= =xk1y -----END PGP SIGNATURE----- ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html