Hi,
I just had a look at Javadoc task and there were a few things I noticed.
firstly shouldn't this
public void execute() throws BuildException {
if (sourcePath == null && destDir == null ) {
String msg = "sourcePath and destDir attributes must be set!";
throw new BuildException(msg);
}
be something like (swap && to ||)
public void execute() throws BuildException {
if (sourcePath == null || destDir == null ) {
String msg = "sourcePath and destDir attributes must be set!";
throw new BuildException(msg);
}
also would it be possible to translate paths in the form "blah/blee/" to
"blah/blee" because some tools have problems with it. (And this could be
one in Path object with relative ease).
Cheers,
Pete
*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power." |
| -Abraham Lincoln |
*------------------------------------------------------*