DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4372>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4372 Javac task always generates optional -sourcepath switch ------- Additional Comments From [EMAIL PROTECTED] 2001-12-20 00:13 ------- Trying to change the tone. I think your problem is that you are misusing the srcdir attribute. It should point to the directory containing the top of the package dir structure. Otherwise, not only -sourcepath will be wrong but also the ability to check if the file is already compiled. Please try this way: <target name="xxx"> <javac srcdir="D:\project\src" destdir="D:\project\output"> <classpath> <pathelement location="D:\project\src"/> </classpath> <include name="com/abc/xxx/*" /> </javac> </target> This should work as you expect. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
