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 47325

Summary: IDE tries to open not generated javadoc
Product: java Reporter: Milan Kubec <mkubec>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P4    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41537    

Description Milan Kubec 2004-08-17 16:44:54 UTC
[beta 1 candidate 200408170540, JDK 1.5.0 b63]

After following build that was indeed successful,
but actually no javadoc was generated because of
the error - IDE tries to open not generated
javadoc in web browser.

Such build shouldn't be considered as successful
or at least it should test existence of the file
that is being opened before attempting to open it.

init:
Created dir:
E:\work\Projects\JavaProject2\dist\javadoc
Warning: Leaving out empty argument '-windowtitle'
Generating Javadoc
Javadoc execution
javadoc: error - Option -splitindex conflicts with
-noindex
1 error
Browsing:
file:/E:/work/Projects/JavaProject2/dist/javadoc/index.html
javadoc:
BUILD SUCCESSFUL (total time: 4 seconds)
Comment 1 Jesse Glick 2004-08-17 17:30:58 UTC
<javadoc> should set failonerror="true".
Comment 2 Jesse Glick 2004-08-18 22:44:19 UTC
committed     Up-To-Date  1.29       
java/j2seproject/src/org/netbeans/modules/java/j2seproject/resources/build-impl.xsl
Comment 3 Milan Kubec 2004-08-19 14:13:37 UTC
Verified in dev-200408181800.