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 5494] New: - Javadoc sourcefiles does not support line breaks
Date Tue, 18 Dec 2001 21:36:21 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=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 &#169; 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 &#169; 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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message