You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/05/11 09:20:03 UTC
DO NOT REPLY [Bug 8997] New: -
javadocs build fails with sun's jdk1.4
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=8997>.
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=8997
javadocs build fails with sun's jdk1.4
Summary: javadocs build fails with sun's jdk1.4
Product: Xerces2-J
Version: 2.0.1
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Other
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: vivek.pandey@sun.com
CC: vivek.pandey@sun.com
I am trying to generate javadocs of xerces-j cvs source. My environment is
using sun's jdk1.4.
ant target javadocs fails with jdk1.4.
It gives the message 'javadocs: -locale option should be first on the
commandline)'.
This bug is fixed when javadoc's -locale option is in the left of any other
doclet option on the command line. Attaching the cvs diff, applyting it
corrects the problem.
See javadoc help page in jdk1.4 docs,
javadoc options:
"-locale language_country_variant
Important - The -locale option must be placed ahead (to the left) of any
options provided by the standard doclet or any other doclet. Otherwise, the
navigation bars will appear in English. This is the only command-line option
that is order-dependent. "
Verified the fix, that javadocs target builds with this fix on jdk1.3.1 and jdk
1.4.
-vivek.
cvs diff -w build.xml (in directory D:\apache\xml-xerces\java\)
Index: build.xml
===================================================================
RCS file: /home/cvspublic/xml-xerces/java/build.xml,v
retrieving revision 1.78
diff -w -r1.78 build.xml
313a314
> locale='en_US'
318c319
< locale='en_US'/>
---
> />
320a322
> locale='en_US'
326c328
< locale='en_US'/>
---
> />
328a331
> locale='en_US'
333c336
< locale='en_US'/>
---
> />
340a344
> locale='en_US'
346c350
< locale='en_US'/>
---
> />
350a355
> locale='en_US'
355c360
< locale='en_US'/>
---
> />
*****CVS exited normally with code 1*****
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org