You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/12/18 22:36:21 UTC
DO NOT REPLY [Bug 5494] New: -
Javadoc sourcefiles does not support line breaks
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=5494>.
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=5494
Javadoc sourcefiles does not support line breaks
Summary: Javadoc sourcefiles does not support line breaks
Product: Ant
Version: 1.4.1
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Minor
Priority: Other
Component: Core tasks
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: sloan@sgi.net
If I try to do a javadoc like so:
<javadoc
sourcepath="${src}/com/keymoneyplayers/registry"
sourcefiles="${src}/com/keymoneyplayers/registry/*.java,
${src}/com/keymoneyplayers/registry/file/*.java,
${src}/com/keymoneyplayers/registry/timed/*.java"
defaultexcludes="yes"
destdir="${build}/api"
author="true"
use="true"
windowtitle="Registry API">
<doctitle><![CDATA[<h1>Registry</h1>]]></doctitle>
<bottom><![CDATA[<i>Copyright © 2001 Sloan Seaman.
All Rights Reserved.</i>]]></bottom>
<group title="Group 1 Packages"
packages="com.keymoneyplayers.registry*"/>
</javadoc>
I get the following error:
[javadoc] javadoc: No package, class, or source file found named C:\tt2\beta\
C:\tt2\beta\src\com\keymoneyplayers\registry\file\*.java.
[javadoc] 2 errors
[javadoc] javadoc: No package, class, or source file found named C:\tt2\beta\ C
:\tt2\beta\src\com\keymoneyplayers\registry\timed\*.java.
If I do it like so (with no line breaks in sourcefiles)
<javadoc
sourcepath="${src}/com/keymoneyplayers/registry"
sourcefiles="${src}/com/keymoneyplayers/registry/*.java,${src}/com/keymo
neyplayers/registry/file/*.java,${src}/com/keymoneyplayers/registry/timed/*.java
"
defaultexcludes="yes"
destdir="${build}/api"
author="true"
use="true"
windowtitle="Registry API">
<doctitle><![CDATA[<h1>Registry</h1>]]></doctitle>
<bottom><![CDATA[<i>Copyright © 2001 Sloan Seaman.
All Rights Reserved.</i>]]></bottom>
<group title="Group 1 Packages"
packages="com.keymoneyplayers.registry*"/>
</javadoc>
It works fine.
Line feeds work in other parts of ant, but not this section.
Also, (possible other bug) shouldn't sourcepath be srcdir?
Thanks!
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>