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 103539 [details] screenshot cnd.projects.TestMakefileBasedProject.testMakefileBasedProjectAdd test from http://elif:8080/hudson/view/IDE-tests/job/ss-test-intel-S2-2/55/testReport Latest correct build: NetBeans Platform Dev (Build cnd-build-4051-on-101127) First wrong build: NetBeans Platform Dev (Build cnd-build-4054-on-101128) Scenario: - in Makefile based project select some folder (real project should be selected) and call New File wizard - Select "C Source File" and press Next - Check "Location" and "Folder" fields ==> In Solaris Studio and old NetBeans builds: "Folder" text field is empty, "Location" field is equal to source location ==> in new NetBeans builds: "Folder" field contains path to project location, "Location" field contains relative path source folder
Fixed: changeset: 184214:25e8c552b8d6 user: Thomas Preisler <thp@netbeans.org> date: Tue Dec 07 17:04:21 2010 -0800 summary: #192807 - regression in "New File" wizard if it is called from makefile based project Logical folder (FileObject) in node context was not normalized causing the regression in the wizard: LogicalFolderNode.java createLFNLookup(...) ..... String rootPath = folder.getRootPath(); FileObject fo = RemoteFileUtil.getFileObject(conf.getBaseDirFileObject(), rootPath); fo = RemoteFileUtil.normalizeFileObject(fo); // See 192807 <==== added this
Integrated into 'main-golden', will be available in build *201012090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/25e8c552b8d6 User: Thomas Preisler <thp@netbeans.org> Log: #192807 - regression in "New File" wizard if it is called from makefile based project
I see this problem again (test fails for 4 latest times)
Regression after latest "full remote" changes. Logical folder has not normalized file object in lookup.
http://hg.netbeans.org/cnd-main/rev/2a0519d87729
Integrated into 'main-golden', will be available in build *201101180000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2a0519d87729 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #192807 - regression in "New File" wizard if it is called from makefile based project