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 622] - Javadoc task fails if 'bottom' attribute is set to empty string
Date Mon, 07 Jan 2002 13:45:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=622>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=622

Javadoc task fails if 'bottom' attribute is set to empty string

mpichler@hyperwave.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From mpichler@hyperwave.com  2002-01-07 05:45 -------
It seems that empty strings are still not handled properly
for the javadoc task. E.g. on empty classpath and bottom:

    <javadoc sourcepath="${src.dir}" destdir="${javadoc.dir}"
      packagenames="${javadoc.packages}" classpath="">
      <bottom></bottom>
    </javadoc>

the command line:
  [javadoc] Javadoc args: C:\lib\jdk13\jre\..\bin\javadoc.exe -d 
C:\prj\hgdev\proto\src\java\ant\docs\api -bottom  -classpath  -sourcepath 
C:\prj\hgdev\proto\src\java\ant\src -version -author com.hyperwave.tools.ant

causes the String "-classpath" to be used as bottom string for each page
under Windows (using Win2k), whereas the command executes fine under Linux.

I think that Commandline.getArguments() should return Strings containing ""
under Windows for empty strings, whereas it is fine to use empty strings
under Linux.

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


Mime
View raw message