ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26310] - Ant 1.6 and XDoclet 1.2 "destDir attribute must be present." error
Date Wed, 21 Jan 2004 17:52:38 GMT
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 peter.reilly@corvil.com  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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message