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 114027 - cannot use the same classpath for all packages
Summary: cannot use the same classpath for all packages
Status: RESOLVED DUPLICATE of bug 72337
Alias: None
Product: java
Classification: Unclassified
Component: Freeform (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-28 16:11 UTC by Daria Titova
Modified: 2008-10-21 14:07 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 Daria Titova 2007-08-28 16:11:06 UTC
When creating a project with existing Ant script and specifying Source and Test package folders separately on Source
Package Folders panel, then on Java Sources Classpath panel 'Separate Classpath for Each Source Package Folder' checkbox
is disabled and user have to add all jars/folders for each source package folders (there may be lots of packages).
So, in case user have many source package folders and many jars/folders for classpath it is inconvenient to add all
jars/folders for each source package.
Once we have divided source packages into the source and the test groups, it may be useful to provide the possibility to
add classpath for the source and the test groups separately.

Product Version: NetBeans IDE Dev (Build 200708211200) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System:
Windows XP version 5.1 running on x86;
Comment 1 Jesse Glick 2007-08-28 17:48:36 UTC
You can get the desired behavior by editing project.xml directly. (You can either add all the source packages to one
compilation unit, in which case they may freely refer to one another; or you can retain separate compilation units but
avoid redundancy by defining properties in the <properties> section which can be referred to from the <classpath>s of
each compilation unit.) The GUI customizer only offers to set up the most common configurations; for anything advanced
it is best to go to project.xml.
Comment 2 Milan Kubec 2008-10-21 14:07:15 UTC
Duplicate of RFE planned for next release.

*** This issue has been marked as a duplicate of 72337 ***