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 43342] New: - javadoc fails with illegal package name
Date Mon, 10 Sep 2007 17:33:18 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=43342>.
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=43342

           Summary: javadoc fails with illegal package name
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: c.koehler@levigo.de


Javadoc fails with illegal package name using footer or bottom tags. The problem
seems to be that in the class Javadoc the footer and the bottom html content is
added untrimmed and unescaped.
See 
org.apache.tools.ant.taskdefs.Javadoc.execute(){
...
        if (footer != null) {
            toExecute.createArgument().setValue("-footer");
            toExecute.createArgument().setValue(expand(footer.getText()));
        } 
...}
The text returned by footer.getText() has leading newline and tab characters,
which will be interpreted by the javadoc command as package declarations. These
newline and tab characters are not specified in our build.xml, so these
characters seems to be added after the call while processing the javadoc task.

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