You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Bryan Galligan <bG...@drkoop.com> on 2000/05/09 18:03:48 UTC

javac problems

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