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 139087 [details] Screenshot 1. Download jEdit 5.1 sources here: http://sourceforge.net/projects/jedit/files/jedit/5.1.0/ 2. Make a project folder jEditProject-5.1-freeform and extract the jEdit folder from the jedit5.1.0source.tar.bz2 archive into the project folder. 3. Run NetBeans and goto File >> New Project >> Categories: Java, Projects: Java Free-form Project 4. Choose Location: <path>/jEditProject-5.1-freeform/jEdit Build Script: <path>/jEditProject-5.1-freeform/jEdit/build.xml Project Name: jEdit Project Folder: <path>/jEditProject-5.1-freeform 5. Click Next and then Next again. 6. Notice jEdit source folder is added 5 times in "Source Package Folders:" (See Issue 228117) and remove extraneous entries and test folder from "Test Package Folders:". 7. Click Finish and free-form project is created. 8. Goto Project Properties >> Categories: Java Sources and set Source Level: JDK 1.6 and Encoding: UTF-8. Click OK. 9. Make sure you have ANT_HOME set and %ANT_HOME%\bin set in your System path! 10. Build project. 11. Goto Project Properties >> Categories: Java Sources Classpath and click "Add JAR/Folder..." button. 12. Navigate to /lib/compile/jsr305.jar and add it with relative path. 13. Click OK and watch some of the red error badges go away on packages in the file. 14. Now we add more JARs to Java Sources Classpath per step #11 and #12. Notice "jEdit has been prepended to the exsiting entry. Now add /lib/ant-contrib/ant-contrib.jar and /lib/ant-contrib/ant.jar. Click OK If we continue to invoke the Java Sources Classpath and add JAR files, jEdit is prepended to each existing entry, breaking the NetBeans classpath. (See attached screenshot) Workaround: Use the same folder for Project and Source Files. Product Version: NetBeans IDE Dev (Build 201308212300) Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b55 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b38 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Fixed jet-main 48949008b5d8
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/48949008b5d8 User: Tomas Zezula <tzezula@netbeans.org> Log: #234809:Adding Java sources classpath prepends source folder name each time a jar is added
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)