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=5702>. 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=5702 The <javac> task doesn't support the nested "include" element [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [EMAIL PROTECTED] 2002-01-07 02:10 ------- I changed your second target to <target name="ASimpleHelloObject" unless="ASimpleHelloObject" depends="init"> <echo file="ASimpleHelloObject.java"> public class ASimpleHelloObject {} </echo> <echo message="Wrote ASimpleHelloObject.java" /> </target> to give javac something to do. It all works for me Buildfile: build.xml init: ASimpleHelloObject: [echo] Wrote ASimpleHelloObject.java compile: [javac] Compiling 1 source file to /home/conor/dev/antdev/bugs/bug5702 run: BUILD FAILED /home/conor/dev/antdev/bugs/bug5702/build.xml:23: java.lang.NoSuchMethodException The exception is expected, of course. I can only guess that your installation is somehow broken, perhaps you have an old version of Ant in your path, perhaps one that came with an old version of Tomcat - can't think of anything else. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>