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.
[ BUILD # : 6.7 M2 ] [ JDK VERSION : 1.6.* ] I installed NB 6.7 M2 and imported settings from my 6.5. Then I opened copy of project, which run fine under NB 6.5, and got compile errors (see Attachment). Run single test (here java.nio.cs.CharsetsTest) didn't run either. If I right-click->Goto Source on unknown item (here ExtendedCharsets), I was leaded to wrong location of another version of this java file.
Created attachment 79148 [details] Compile errors
Created attachment 79150 [details] leaded to wrong location of another version of this java file
Maybe you like to check out my project: https://java-nio-charset-enhanced.dev.java.net/ (checkout Subversion revision=694) To run from NetBeans 6.5, 2nd JDK must be installed (here: JDK 6u03). Be aware to first Run make\src\build.tools.charsetmapping.GenerateCharsetData.java from configuration "GenerateCharsetData", then Build again from "default" configuration, to move the generated files to "build" and "dist". After you can run the test classes, e.g. CharsetsTest.java.
j2se project type, reassigning for evaluation.
Have you tried to start the IDE with the clean userdir?
Can userdir be cleaner as after fresh installation of IDE ? I noticed, that files in nbproject folder have been modified automatically just after opening the project, which was created by 6.0, and updated later by 6.1, 6.5. Maybe this is the cause for my problems.
1) I can not build your project: /x/java-nio-charset-enhanced/nbproject/build-impl.xml:386: The following error occurred while executing this line: /x/java-nio-charset-enhanced/nbproject/build-impl.xml:201: srcdir "/x/java-nio-charset-enhanced/resources" does not exist! looks like something missing in svn? 2) Run single test was renamed, use main menu/Run/Test File instead, please.
Good catch. Folder resources is indeed missing in svn repository. I didn't recognize this, as I just took a local copy of my work space. Your should add "resources" manually. BTW: Doesn't "Run make\src\build.tools.charsetmapping.GenerateCharsetData.java" work without "Build" from classes in userdir cache, as it would create this folder? If this doesn't help, I will zip you a copy of my workspace. Then you too also would see the diff between repo and local contents of nbproject. > 2) Run single test was renamed, ... I know, thanks anyway.
Now you can checkout revision 696. (I have corrected nbproject/config/GenerateCharsetsData.properties) To run from NetBeans 6.5, 2nd JDK must be installed (here: JDK 6u03). Enable CoS and first Run-Single make\src\build.tools.charsetmapping.GenerateCharsetData.java from configuration "GenerateCharsetData", then Build again from "default" configuration, to move the generated files to "build" and "dist". After you can run the test classes, e.g. CharsetsTest.java. Then install NB 6.7 M2 with importing settings from 6.5. Open project, and try to run-single java.nio.cs.CharsetsTest. If I right-click->Goto Source on unknown item (here ExtendedCharsets) from test/sun.nio.cs.LagacyCharset, I was leaded to wrong location of another version of this java file. > 2) Run single test was renamed, ... Please note Issue 155537.
I can reproduce this issue with 6.7M3. :-(
Ulf addressed the comments hence removing INCOMPLETE keyword and raising priority to P2 because this is a fundamental problem.
I'll try to look at it.
Any news, progress ? I'm heavily waiting to evaluate 6.7 by this project. It's the main I'm currently working on.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/91a948675403 changeset 1bdd2229f405 in main/nb-javac details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=1bdd2229f405
Integrated into 'main-golden', will be available in build *200904161401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/91a948675403 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #161599: Project doesn't run anymore - fixed. Sig files should be preferred over class files.
Runs fine if project is imported in NB 6.7 Beta, but uses 450 MB memory for first scan. In 6.5 it only needed ~80 MB.