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 43669 - Cannot run single file unless whole project is compilable
Summary: Cannot run single file unless whole project is compilable
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: David Konecny
Depends on:
Blocks: 41537
  Show dependency tree
Reported: 2004-05-21 13:43 UTC by pfelenda
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description pfelenda 2004-05-21 13:43:01 UTC
[trunk 200405201800], jdk1.4.2_03

Steps to reproduce:
- I open MyTestClass which is in project
- I compiled it (without errors)
- I try run it from menu Run|Run Other|Run
-> The IDE start compilation of other class from
project ??? -> some errors appeared from these
classes -> the MyTestClass does not run.

Why is compiled these classes before launching my
class ? I can't run entire project, but only the 
specified class.
Comment 1 Jesse Glick 2004-05-21 16:24:05 UTC
Should probably depend on compile-single-file rather than compile?
Comment 2 pfelenda 2004-05-21 17:33:49 UTC
Comment 3 David Konecny 2004-05-25 12:04:32 UTC
Fixed in:
new revision: 1.13; previous revision: 1.12
new revision: 1.12; previous revision: 1.11
Comment 4 pfelenda 2004-08-17 15:36:29 UTC
Verified in 4.0 beta 1. It is possible to run a class from projects with
broken sources.