Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Classpath issue with <javac > task

Classpath issue with <javac > task

2007-06-12       - By query
Reply:     1     2     3     4     5  

?
Hi,

I have been using ANT tool to compile java source files.

<javac srcdir="${src}" destdir="${dst}" includeAntRuntime="no" includes="**/*
.java">
  <classpath refid="app.path"/>
</javac>

In the log file, it is displaying the destination folder also in the classpath
though I have not defined it in classpath.
Is it <javac> task bug?

Log file:

[javac] Using modern compiler
   [javac] Compilation arguments:
   [javac] '-d'
   [javac] 'E:\ANTBUILD\eg\tempclass'
   [javac] '-classpath'
   [javac] 'E:\ANTBUILD\eg\tempclass';C:\PROGRA~1\jdk1.5.0;E:\ANTBUILD\eg\eg1
.jar
   [javac] '-sourcepath'
   [javac] 'E:\ANTBUILD\eg\tempsource'
   [javac] '-g:none'
   [javac]
   [javac] The ' characters around the executable and arguments are
   [javac] not part of the command.

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.