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=26310>. 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=26310 Ant 1.6 and XDoclet 1.2 "destDir attribute must be present." error ------- Additional Comments From [EMAIL PROTECTED] 2004-01-21 17:52 ------- I can confirm that this is a problem however for my simple class the problem also exists in ant 1.5.2 The class is: package task; import org.apache.tools.ant.Task; public class ShowDestDir extends Task { private String destDir; public void setDestDir(String n) { this.destDir = n; } public void execute() { log("destdir is " + destDir); destDir = null; } } The build file is: <project default="go"> <taskdef name="showdestdir" classname="task.ShowDestDir" classpath="classes"/> <target name="go"> <showdestdir destdir="hello"/> </target> </project> The result for 1.6.0 and 1.5.2 is: Buildfile: xdoc.xml go: [showdestdir] destdir is hello go: [showdestdir] destdir is null --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]