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 47889

Summary: Build failed when missing classes and invoking javadoc
Product: java Reporter: Milan Kubec <mkubec>
Component: ProjectAssignee: Jan Jancura <jjancura>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Milan Kubec 2004-08-25 10:54:00 UTC
[dev-200408241800, JDK 1.5.0 b63]

If project contains no classes and user invokes
'Generate Javadoc for project' build fails. I know
it's correct, but error message exposes link to
build script which is not OK. Maybe some
preconditions (are there any classes?) check could
be done before invoking the action.
Comment 1 Jesse Glick 2004-08-25 19:33:33 UTC
Too pathological to waste CPU time checking for it in advance, IMHO.
Comment 2 Milan Kubec 2004-08-25 21:33:22 UTC
Well, then it should be fixed another way, but bare link to build.xml
cannot be exposed to user after build failed. User will see the link
and click it and then what ..? Will fix the problem in the script?
Comment 3 Jesse Glick 2004-08-25 23:28:26 UTC
No, the user will create some source files! Why would you try to
generate Javadoc if you had no source files?? Sorry, I really don't
consider this important enough to fix. You can always construct some
pathological situation that the IDE doesn't produce a perfect response
for, but we're not going to fix all of them; there are more important
things to spend time on.
Comment 4 Milan Kubec 2004-08-26 07:44:11 UTC
Sorry, I don't share your optimism, the world is far from ideal and
user can easily invoke that action by accident if more project nodes
are expanded in Projects view and he wants to invoke Javadoc for one
of them, but does it for the other one. You get to this pathological
situation by two clicks (e.g. on just created library). I'm reopening
and lowering the priority, because I still think that the situation
should be handled better than showing link to build script.
Comment 5 Jesse Glick 2004-08-27 02:19:24 UTC
As you like, but I have no plans to waste time on it.
Comment 6 David Strupl 2009-03-31 16:03:21 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 7 Quality Engineering 2009-11-02 11:04:33 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX