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.

Bug 24782

Summary: "Apply Patch" action does not work.
Product: utilities Reporter: Jiri Kovalsky <jkovalsky>
Component: DiffAssignee: Martin Entlicher <mentlicher>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: Localized exception about impossibility to apply a patch.
Mentioned patch file.
The file I wanted to patch.

Description Jiri Kovalsky 2002-06-14 16:05:07 UTC
Development build #200206140100 of NetBeans 3.4
Windows 2000 with JDK 1.4.1 beta build #12

Description:
============
"Apply Patch" action always throws localized
exception that the patch is not applicable. Please
take a look at the patch and patched file.

Steps to reproduce:
===================
1. Mount CVS filesystem and change some
[Up-to-date] file.
2. "CVS|Diff Textual" it and save the output to file.
3. Delete the file and "Update" it back.
4. Invoke "Tools|Apply Patch"and point to the patch. 
5. Push "Patch" button and the exception is thrown.
Comment 1 Jiri Kovalsky 2002-06-14 16:06:47 UTC
Created attachment 6264 [details]
Localized exception about impossibility to apply a patch.
Comment 2 Jiri Kovalsky 2002-06-14 16:07:51 UTC
Created attachment 6265 [details]
Mentioned patch file.
Comment 3 Jiri Kovalsky 2002-06-14 16:08:48 UTC
Created attachment 6266 [details]
The file I wanted to patch.
Comment 4 Martin Entlicher 2002-06-17 17:53:06 UTC
Might be caused by different line endings on Windows.
Starting to work on it...
Comment 5 Martin Entlicher 2002-06-18 13:01:45 UTC
Fixed in dev build Jun 19.
Comment 6 Jiri Kovalsky 2002-06-19 16:23:08 UTC
Verified in development build #200206190100 of NetBeans 3.4.
Comment 7 Quality Engineering 2003-06-30 17:41:17 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.