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 34580] New: - javadoc task breakiterator attribute ignored if doclet element present
Date Fri, 22 Apr 2005 16:56:37 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=34580>.
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=34580

           Summary: javadoc task breakiterator attribute ignored if doclet
                    element present
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: darragh-apache@peelmeagrape.net


breakiterator attribute on javadoc is ignored if a doclet element is provided.
Code like this

if (breakiterator && doclet == null) {
    toExecute.createArgument().setValue("-breakiterator");
}

is the cause. I can't think of a reason why this would be the case. I can still
configure the task by passing say -breakiterator as an additionalparam, and if I
can do that (and it works) when I've a doclet element then there's no reason why
the attribute shouldn't work. Also the default is false, so if there are
scenarios where setting to true would break the expected funtonality of the
doclet then that's a configuration error.

In any case the documentation mentions nothing about this.

based on the history in bug 11569 -
http://issues.apache.org/bugzilla/show_bug.cgi?id=11569 - it looks like someone
applied the linksource patch and blindly duplicated the pattern for the
breakiterator.

the code above should be replaced with 

if (breakiterator) {
    toExecute.createArgument().setValue("-breakiterator");
}

-- 
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