ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <>
Subject Re: preprocessing java source
Date Wed, 11 Sep 2002 00:10:13 GMT
On 9/9/02 12:53 PM, "Dominique Devienne" <> wrote:
> Then in Ant's <javac>, conditionally include/compile/package the correct
> code depending on the jdk/platform, as Ant does itself when compiling its
> optional jar.

The trick is to remember the distinction between runtime and compile time
portability; as soon as you pre-process or otherwise tailor your build to
the compile time platform, you lose that runtime portability.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message