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.
1. Right click on Maven Java Project and choose Rename. 2. Change the project name and the folder name and click OK. Result: Source Packages and Test Packages do not show. Project will not run because no Main file is found. Workaround: Clean & Build or Restart NetBeans. Product Version: NetBeans IDE 7.4 RC1 (Build 201309162201) Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b50 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b108 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
caused by reworked NbMavenProjectImpl.Updater which keeps on listening on old project location.
(In reply to Milos Kleint from comment #1) > caused by reworked NbMavenProjectImpl.Updater which keeps on listening on > old project location. hmm.. not as easy. there's some timing interplay when the old project stumbles on top of the new one and events get fired too early (before the entire project structure gets moved)
http://hg.netbeans.org/core-main/rev/2369020e577b http://hg.netbeans.org/core-main/rev/dcdca81ee40b avoid using FileObject in MavenProject caches and Project equals/hashcode and reset cache in SimpleFileOwnerQueryImplementation to prevent the old invalid project piggybacking back into usage after being discarded by the ProjectManager both changes appear to fix the problem for me.
Integrated into 'main-silver', will be available in build *201309270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/dcdca81ee40b User: Milos Kleint <mkleint@netbeans.org> Log: #236276 have all caches based on File not FileObject, same directory renamed FileObjects change path and wreak havoc in caches, also avoid FileObject in project's equals/hashcode methods
verified in Product Version: NetBeans IDE Dev (Build 201311040001) Updates: Updates available Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Mac OS X version 10.9 running on x86_64; UTF-8; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/dev Cache directory: /Users/tomas/Library/Caches/NetBeans/dev
http://hg.netbeans.org/releases/rev/6062d852ccf6 http://hg.netbeans.org/releases/rev/7c0d4f453bb0
verified in patch1 Product Version: NetBeans IDE 7.4 (Build 201310111528) Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 1 Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Mac OS X version 10.9 running on x86_64; UTF-8; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/7.4 Cache directory: /Users/tomas/Library/Caches/NetBeans/7.4