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 - Build failed when missing classes and invoking javadoc
Summary: Build failed when missing classes and invoking javadoc
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Jancura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-25 10:54 UTC by Milan Kubec
Modified: 2009-11-02 11:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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