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 177112 - free-form project does not allow to have a common classpath for all source folders
Summary: free-form project does not allow to have a common classpath for all source fo...
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Freeform (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2009-11-18 09:29 UTC by swachter1
Modified: 2016-07-07 08:37 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image that shows the situation (63.85 KB, image/png)
2009-11-18 09:29 UTC, swachter1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description swachter1 2009-11-18 09:29:33 UTC
Created attachment 91271 [details]
image that shows the situation

When I try to create a new free-form project then in the "Java Sources Classpath" step the check box "Separate Classpath for Each Source Package Folder" can not set to unchecked because it is read only.

This prevents to have a common classpath for all source folders.
Comment 1 Antonin Nebuzelsky 2009-11-18 14:46:46 UTC
Probably there is some reason for this behaviour?
Comment 2 Jesse Glick 2009-11-18 16:13:44 UTC
Should be enabled if there is >1 source root or >1 compilation unit of a given type. If some are marked as test roots, you need to specify a different classpath for these. You can always fine-tune any of these choices in project.xml later; the GUI intentionally only offers a limited set of configuration options.
Comment 3 swachter1 2009-11-19 01:08:34 UTC
Thanks for the hint, Jesse.

The project has some test folders. After I removed the test folders from the free-form project I could uncheck the "separate classpath" flag.

Maybe the fact that a common classpath can be used only in certain situations could be documented (in the help or even better in the dialog in case that the flag is set and read only).
Comment 4 Jesse Glick 2009-11-19 09:17:01 UTC
Yes, the dialog should be improved to state this explicitly.

By the way you can try http://wiki.netbeans.org/AutomaticProjects as an alternative to freeform projects; feedback welcome.
Comment 5 Antonin Nebuzelsky 2010-01-11 04:29:28 UTC
Changing the default component owner to tzezula.
Comment 6 Martin Balin 2016-07-07 08:37:56 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss