This bug causes user data loss.
Steps to reproduce:
- create a simple makefile based project
- call Delete on the project node, do not check "Also delete sources..."
Result: The makefile being used in the project is also deleted.
fixed, change set:
QA, please, verify fix
Integrated into 'main-golden', will be available in build *201103100400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Alexander Simon <firstname.lastname@example.org>
Log: fixed Bug #196494 Deleting a makefile based project deletes the makefile
The fix is verified in dev build.
Vladimir V, please, review fix.
fixed in relase70:
>> Fix confirmed in cnd-main and nb7.0, it fixes the bug. But in case of
>> an old-style makefile project (< version 74), the generated makefile
>> in the project directory is now not deleted. It should. A better fix
>> would be to check project version and also delete master makefile if
>> version < 74 (or so?). This is not needed now.
муrified in RC1 build 20110317