BTW, here is the ant output:
-----------------------------------------
$ ant -verbose
Apache Ant version 1.6.2 compiled on July 16 2004
Buildfile: build.xml
Detected Java version: 1.4 in: c:\j2sdk1.4.2_04\jre
Detected OS: Windows XP
parsing buildfile C:\projects\test\build.xml with URI =
file:///C:/projects/test /build.xml
Project base dir set to: C:\projects\test
Build sequence for target `compile' is [compile]
Complete build sequence is [compile, ]
compile:
[javac] HelloMail.java added as HelloMail.class doesn't exist.
[javac] Compiling 1 source file to C:\projects\test\bin
[javac] Using modern compiler
[javac] Compilation arguments:
[javac] '-d'
[javac] 'C:\projects\test\bin'
[javac] '-classpath'
[javac] 'C:\projects\test\bin;C:\projects\test;C:\projects\test\src;C:\proje
cts\test\lib\mail.jar;C:\projects\test\lib\activation.jar;C:\javadev\apache-ant-
1.6.2\lib\xml-apis.jar;C:\javadev\apache-ant-1.6.2\lib\xercesImpl.jar;C:\javadev
\apache-ant-1.6.2\lib\jsch-0.1.18.jar;C:\javadev\apache-ant-1.6.2\lib\ant.jar;C:
\javadev\apache-ant-1.6.2\lib\ant-xslp.jar;C:\javadev\apache-ant-1.6.2\lib\ant-x
alan1.jar;C:\javadev\apache-ant-1.6.2\lib\ant-weblogic.jar;C:\javadev\apache-ant
-1.6.2\lib\ant-vaj.jar;C:\javadev\apache-ant-1.6.2\lib\ant-trax.jar;C:\javadev\a
pache-ant-1.6.2\lib\ant-swing.jar;C:\javadev\apache-ant-1.6.2\lib\ant-stylebook.
jar;C:\javadev\apache-ant-1.6.2\lib\ant-starteam.jar;C:\javadev\apache-ant-1.6.2
\lib\ant-nodeps.jar;C:\javadev\apache-ant-1.6.2\lib\ant-netrexx.jar;C:\javadev\a
pache-ant-1.6.2\lib\ant-launcher.jar;C:\javadev\apache-ant-1.6.2\lib\ant-junit.j
ar;C:\javadev\apache-ant-1.6.2\lib\ant-jsch.jar;C:\javadev\apache-ant-1.6.2\lib\
ant-jmf.jar;C:\javadev\apache-ant-1.6.2\lib\ant-jdepend.jar;C:\javadev\apache-an
t-1.6.2\lib\ant-javamail.jar;C:\javadev\apache-ant-1.6.2\lib\ant-jai.jar;C:\java
dev\apache-ant-1.6.2\lib\ant-icontract.jar;C:\javadev\apache-ant-1.6.2\lib\ant-c
ommons-net.jar;C:\javadev\apache-ant-1.6.2\lib\ant-commons-logging.jar;C:\javade
v\apache-ant-1.6.2\lib\ant-apache-resolver.jar;C:\javadev\apache-ant-1.6.2\lib\a
nt-apache-regexp.jar;C:\javadev\apache-ant-1.6.2\lib\ant-apache-oro.jar;C:\javad
ev\apache-ant-1.6.2\lib\ant-apache-log4j.jar;C:\javadev\apache-ant-1.6.2\lib\ant
-apache-bsf.jar;C:\javadev\apache-ant-1.6.2\lib\ant-apache-bcel.jar;C:\javadev\a
pache-ant-1.6.2\lib\ant-antlr.jar;C:\j2sdk1.4.2_04\lib\tools.jar'
[javac] '-sourcepath'
[javac] 'C:\projects\test\src'
[javac] '-g:none'
[javac]
[javac] The ' characters around the executable and arguments are
[javac] not part of the command.
[javac] File to be compiled:
[javac] C:\projects\test\src\HelloMail.java
BUILD SUCCESSFUL
Total time: 4 seconds