SANDERS, JOHN D. (SBCSI) <mailto:[EMAIL PROTECTED]> once said: > I have about ready to kill myself over this one. I have some support > files (jar.files) that need to be linked in during the compile but > this just does not seem to work. Anyone got any ideas? > [...] > <target name="compile" depends="init" > description="Compiles the programs"> > <javac srcdir="${root.dir}" destdir="build/classes" /> > <classpath refid="jar.files" /> > </target>
<classpath> needs to be an element of <javac>: <javac ...> <classpath refid="jar.files"/> </javac> Alternatively, there is a classpathref attribute on <javac>: <javac ... Classpathref="jar.files" .../> Good luck! David Harkness Sr. Software Engineer Sony Pictures Digital Networks (310) 482-4756 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]