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 120991 - creating free-form project with complicated source structure
Summary: creating free-form project with complicated source structure
Status: REOPENED
Alias: None
Product: java
Classification: Unclassified
Component: Freeform (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2007-11-02 16:22 UTC by Daria Titova
Modified: 2010-01-11 04:28 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daria Titova 2007-11-02 16:22:54 UTC
It's inconvenient to add source package folders in New Java Project with Existing Ant Script wizard, in case the project
has complicated source tree structure, because you need to add dozens of deep nested folders.
Example: limewire project (www.limewire.org) has the following structure:
<limewire_root>
 |-components
     |-collection
     |   |-src
     |        |-main
     |        |    |-java
     |        |         |-org...
     |        |-test
     |             |-java
     |                  |-org...
     |-15 more components with the same structure...
So user need to do a lot of mouse clicks and moves to add these source tree.

Product Version: NetBeans IDE Dev (Build 200711020000)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-b05
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
Comment 1 Jesse Glick 2007-11-02 16:42:08 UTC
1. There is no effective GUI component for picking a series of directories more quickly than what we have already.
Fastest is to use the quickfilechooser module; then you can use mnemonics to open it and TAB completion to pick folders.

2. You can also directly edit project.xml, e.g. using copy-and-paste to duplicate large blocks.

3. In this particular case, you should not be making a freeform project at all, because this is a Maven project. Just
unzip limewire.zip. With Mevenide installed, create a new project group of type Project and All Required Projects for
the root dir. You are ready to work.
Comment 2 Alexander Kouznetsov 2007-11-02 16:48:07 UTC
We should scan all the java files in project folder and subfolders and create a list of source root folders based on
package information available in java files. Then we should let user select one of three options for each folder:
sources, test sources or ignore.
Comment 3 Jesse Glick 2007-11-02 18:21:33 UTC
Possible. Performance might be poor for large source trees. No concrete plans to make such GUI changes.
Comment 4 Antonin Nebuzelsky 2010-01-11 04:28:59 UTC
Changing the default component owner to tzezula.