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 48054 - [40cat] Changing the main class of a project collapses the Source and Test folders.
Summary: [40cat] Changing the main class of a project collapses the Source and Test fo...
Status: CLOSED DUPLICATE of bug 47451
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: Jesse Glick
Depends on:
Reported: 2004-08-27 10:18 UTC by lleland
Modified: 2006-03-24 10:18 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 lleland 2004-08-27 10:18:32 UTC
[ JDK VERSION : J2SE 1.5.0 ]

1. In the project explorer, expand the Source and Test folders.
1. Right click a project root and choose Properties.
2. Select "Run | Running Project" in the left tree.
3. Click the Browse button to the right of the Main Class field, and choose a different main class.
4. Click OK

The Source and Test directories of that project in the project explorer will now automatically collapse. They should remain in the state they had prior to changing the main class.
Comment 1 Jesse Glick 2004-08-27 22:16:22 UTC

*** This issue has been marked as a duplicate of 47451 ***
Comment 2 Marian Mirilovic 2005-07-12 10:13:11 UTC