ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patri...@exinet.co.za (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:

---8<---
<?xml version="1.0"?>

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

returns:
---8<---
Buildfile: test.xml

jdk:
${build.compiler}

BUILD SUCCESSFUL

Total time: 0 seconds
--->8---

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


Mime
View raw message