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.
Created attachment 133236 [details] Screenshot 1. Get jEdit 5.0.0 source code here: http://sourceforge.net/projects/jedit/files/jedit/5.0.0/jedit5.0.0source.tar.bz2/download (or the latest from the svn repository). 2. Create a project folder jEditFreeForm and place the jEdit directory and all of its project files in it. 3. Run NetBeans and choose File>>Create New Project>>Java: Jave Free-Form project. 4. Click Next to Name and Location. 6. Location: %Path%\jEditFreeForm\jEdit Build Script: %Path%/jEditFreeForm\jEdit\build.xml Project Folder: %Path%\jEditFreeForm Project Name: (Use default jedit). 7. click Next to Source Package Folders and notice 5 duplicate entries for the source package folder "jEdit" is listed. See attached screenshot, project.xml and logfile. Workaround: delete the extra entries. Product Version: NetBeans IDE 7.3 (Build 201302132200) Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Created attachment 133237 [details] project.xml
Created attachment 133238 [details] Logfile
I set-up a small Ant project outside of NetBeans and created a free-form project with it and this does not occur, so there is something about the jEdit 5 project that makes this problem occur.
Created attachment 133240 [details] build.xml from jEdit source 5.0.0
This only occurs when choosing Project Folder first and then choosing Location. If Location is chosen first, then Build Script, it works OK. Workaround #2: Choose Location first and then Build Script Bug still valid in: Product Version: NetBeans IDE Dev (Build 201307032300) Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Sorry, Comment 5 is NOT correct. This only occurs when you choose %Path%\jEditFreeForm\jEdit as the Location. If %Path%\jEditFreeForm is chosen as Location, this does not occur. Workaround #2: Choose %Path%\jEditFreeForm for Location in Step 6.
Fixed jet-main 3038b60fa056
Integrated into 'main-silver', will be available in build *201309010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3038b60fa056 User: Tomas Zezula <tzezula@netbeans.org> Log: #228117:Freeform project wizard creates duplicate source package directories in project.xml
V. fixed in: Product Version: NetBeans IDE Dev (Build 201309010001) Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b40 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)