This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 46578

Summary: Option -splitindex conflicts with -noindex
Product: java Reporter: Milan Kubec <mkubec>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41537    

Description Milan Kubec 2004-07-26 16:20:42 UTC
[dev-20040722, JDK 1.5.0 b58]

It's easily possible to create non-working javadoc
settings. When user unchecks 'index' checkbox
under Generate part of javadoc settings the last
one (Separate Index per Letter) can stay checked
and then it contradicts with unchecked index. The
errror then says:

javadoc: error - Option -splitindex conflicts with
-noindex

Correct behavior should be to uncheck 'Separate
Index per Letter' when user unchecks 'index'.
Comment 1 Jesse Glick 2004-08-17 04:41:37 UTC
I already fixed this. BTW Milan this has nothing whatsoever to do with
the javadoc module (which is not involved in Javadoc generation in
4.0, and handles only search and AutoComment); purely an aspect of the
j2seproject module.
Comment 2 Milan Kubec 2004-08-17 16:26:43 UTC
Still reproducible for me on beta 1 candidate 200408170540, JDK 1.5.0 b63.
Comment 3 Milan Kubec 2004-08-17 16:29:12 UTC
I actually reproduced it on Windows.
Comment 4 Jesse Glick 2004-08-17 17:35:34 UTC
I don't know about beta 1 candidate but in a trunk build at least it
works. (Note: the checkbox for splitindex will not be unchecked when
you uncheck index, it will only appear disabled, but the option will
be turned off internally.)
Comment 5 Milan Kubec 2004-08-19 16:05:53 UTC
Verified in dev-200408181800.