ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Paul Arzul)
Subject which compiler is ant using?
Date Sun, 10 Sep 2000 16:11:29 GMT
the ant user manual says i can specify which compiler to use
with the build.compiler property, yet the property is
not set by default, so i am not sure which compiler it 
thinks it is using:

<?xml version="1.0"?>

<project name="Test" default="jdk" basedir=".">
  <target name="jdk">
    <echo message="${build.compiler}" />

Buildfile: test.xml



Total time: 0 seconds

for the moment i am having to trust the documentation that
classic is the default for jdk 1.1/1.2, and modern for 1.3.

since i have and require both jdk 1.2 and 1.3, the issue 
arose as to which it was going to use.

thanks in advance,

- p

View raw message