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 2004/08/31 17:57:05 UTC
DO NOT REPLY [Bug 30966] New: -
Javadoc Tag file cannot contain spaces
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=30966>.
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=30966
Javadoc Tag file cannot contain spaces
Summary: Javadoc Tag file cannot contain spaces
Product: Ant
Version: 1.6.2
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Other
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: flynnk@itd.nrl.navy.mil
I am using XDoclet for J2EE development, and wanted to exclude the XDoclet tags
from my Javadoc task.
I created a file with the following contents (called xdocletTags.txt):
ejb.bean:t:"EJB"
ejb.create-method:m:"Create Method"
ejb.interface-method:m:"Interface Method"
ejb.persistent-field:m:"Persistent Field"
ejb.pk:t:"Primary Key"
ejb.transaction:m:"Transaction"
struts.action:t:"Struts Action"
I included it by saying:
<javadoc destdir="doc/api/"
packagenames="mil.navy.nrl.itd.dimwit.*"
classpathref="cp"
serialwarn="true">
<packageset dir="src/"/>
<packageset dir="gensrc/"/>
<tag dir="." includes="xdocletTags.txt"/>
</javadoc>
This gives a bunch of errors:
---------- Documentation ----------
Buildfile: build.xml
api:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source files for package Method...
[javadoc] javadoc: warning - No source files for package Method
[javadoc] Loading source files for package Method...
[javadoc] javadoc: warning - No source files for package Method
[javadoc] Loading source files for package mil.navy.nrl.itd.dimwit.ejb...
[javadoc] Loading source files for package mil.navy.nrl.itd.dimwit.web...
[javadoc] Constructing Javadoc information...
[javadoc] javadoc: warning - No source files for package Method
[javadoc] javadoc: warning - No source files for package Method
[javadoc] Standard Doclet version 1.5.0-beta2
---Truncated for brevity---
The following file works:
ejb.bean:t:"EJB"
ejb.create-method:m:"CreateMethod"
ejb.interface-method:m:"InterfaceMethod"
ejb.persistent-field:m:"PersistentField"
ejb.pk:t:"PrimaryKey"
ejb.transaction:m:"Transaction"
struts.action:t:"StrutsAction"
Looks like the generated javadoc command line has badly placed spaces due to the
quotes being removed?
Thanks,
Kenn
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org