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 246439 - Menu compile disabled after change of file reference
Summary: Menu compile disabled after change of file reference
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on: 246485 246438 246950
Blocks:
  Show dependency tree
 
Reported: 2014-08-13 13:55 UTC by ulfzibis
Modified: 2015-03-04 11:14 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 ulfzibis 2014-08-13 13:55:45 UTC
[ JDK VERSION : 1.7.0_55 ]

STEPS:
   1) Steps from bug 246438.

ACTUAL:
   Compile & Compile Package actions in "Test Packages" are greyed out

WORKAROUNG:
   Clean and Build again Project B.
Comment 1 Jiri Prox 2014-08-14 10:00:04 UTC
Compile may be disabled if you've run your code before (using Compile on Save), It works same as for source packages.

Can you try clean&build the project
Comment 2 ulfzibis 2014-08-14 15:39:16 UTC
(In reply to Jiri Prox from comment #1)
> Compile may be disabled if you've run your code before (using Compile on
> Save), It works same as for source packages.

The problem occurred while trying to solve problem from bug 246374.
When I change the Test Libraries file reference from
    test/
to
    build/test/classes/
or vices versa, I want reliable indication from the error badges in both cases: Bug 246438.
If they don't work correctly, at least I want to successfully invoke to compile the concerned files in
    KVB/KomPrüfStand/test/de/DMS/KVB/KomPruefStand/
to check, if the choosen file reference succeeds my needs.

> Can you try clean&build the project

This is what I mentioned as WORKAROUND.
Comment 3 Tomas Zezula 2015-03-04 11:14:00 UTC
The compile works fine for me in attached projects on de.DMS.KVB.KompPruefStand and enclosed classes (after fox of bug 246438).
Adding build/test/classes/ on classpath will mark project as broken when cleaned.