ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Galligan <bGalli...@drkoop.com>
Subject javac problems
Date Tue, 09 May 2000 16:03:48 GMT
i am trying to get this build file to work but i keep getting an error that
says:
Compiling 70 source files to /home/cujo/cujo/BOB/build
javac: invalid flag: -sourcepath
use: javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath
path][-nowrite][-deprecation][-d dir][-J<runtime flag>] file.java...

why am i getting this error and what does it mean?   in my buildfile i have
defined a srcdir like so:
<target name="compile3" depends="prepare">
 	   <javac srcdir="${src}"
  	      destdir="${build}"
  	      includes="**/*.java"
  	      filtering="on"
  	      debug="on" />
</target>

where build and src are both defined in the first target.  why isn't it
getting all the java files and compiling them instead of outputting this
sourcepath error?  could this have something to do with the classpath?
thanks



bryan


Mime
View raw message