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 40900] - javadoc tasks that worked on 1.6.5 fail on 1.7.0Beta3
Date Mon, 06 Nov 2006 22:47:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40900>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40900


peterreilly@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From peterreilly@apache.org  2006-11-06 14:47 -------
Thanks for the report and for the -verbose output,
it helped in tracking down the problem.

I have fixed this in svn.
Unfortunately, the fix will not make the cut
for ant 1.7.0rc1.

If you want to test the fix, apply the following patch to
Javadoc.java, compile ant.jar ($ANT_SRC: ./build.sh or build.bat)
and copy $ANT_SRC/dist/lib/ant.jar to $ANT_HOME/lib


Index: src/main/org/apache/tools/ant/taskdefs/Javadoc.java
===================================================================
--- src/main/org/apache/tools/ant/taskdefs/Javadoc.java (revision 471908)
+++ src/main/org/apache/tools/ant/taskdefs/Javadoc.java (working copy)
@@ -732,7 +732,9 @@
      * @return a new DocletInfo instance to be configured.
      */
     public DocletInfo createDoclet() {
-        doclet = new DocletInfo();
+        if (doclet == null) {
+            doclet = new DocletInfo();
+        }
         return doclet;
     }

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message