The following comment has been added to this issue:
Author: Matt Raible
Created: Thu, 2 Sep 2004 3:27 PM
Body:
On 2nd check, this patch does seem to work. The NPE was caused by recompiling and not
including the new xdoclet-xdoclet-module-version.jar. If there are no objections, I'd
like to check this in. I've tested it with Ant 1.6.2 and Ant 1.5.4.
The error seems to occur when you try to run an XDoclet task twice in the same Ant
execution.
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-879?page=comments#action_14745
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-879
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-879
Summary: Fix for "destDir attribute must be present."
Type: Improvement
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Core
Versions:
1.2.1
Assignee: xdoclet-devel (Use for new issues)
Reporter: Matt Raible
Created: Sun, 25 Apr 2004 11:57 PM
Updated: Thu, 2 Sep 2004 3:27 PM
Environment: Windows XP, JDK 1.4.2, Ant 1.6.1
Description:
When I do an "ant clean" and try to run "webdoclet" on my project, I get the following
error:
"destDir attribute must be present."
According to the following Ant bug report:
It is a bug in the xdoclet code.
At the end of the execute method, it cleans up (nulls)
some internal variables. This code also incorrectly nulls the
destdir attribute.
http://issues.apache.org/bugzilla/show_bug.cgi?id=26310
I'll attach a patch that seems to fix this problem. Note that it only happens when I
do a clean checkout and the first build on my project.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel