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 185717 - [69cat] No response on Diff To..
Summary: [69cat] No response on Diff To..
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 17:23 UTC by ulfzibis
Modified: 2014-06-05 12:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2010-05-07 17:23:22 UTC
[ BUILD # : 201005050200 ]
[ JDK VERSION : 1.6.* ]

- open java.lang.Character.java from Favourites->JDK.src.zip
- select your custom Character.java from Project browser
- select Tools->Diff To..
- in "Files open in Editor" select Character.java and "Diff"
--> nothing happens

It seems, there is no diff possible on r/o files.
Please allow diffing of r/o files !!
Comment 1 Peter Pis 2010-05-10 07:15:32 UTC
Reassigning.
Comment 2 Ondrej Vrabec 2010-05-13 08:48:49 UTC
You may select only existing files in the file chooser. The problem with java.lang.Character.java is that it physically does not exist (the opened file in the editor is a virtual file).
Think of "Files open in Editor" as a shortcut in navigation in the file chooser, when you select the virtual file, there's no existing file to navigate to. The problem is that the file is actually displayed in "Files open in Editor".
We should either remove such files from the view or find some hack to force "opening" non-existent files with the chooser.

BTW, to achieve the demanded diff, select Tools > Diff from the popup on the virtual file and in the chooser select the existing file.
Comment 3 ulfzibis 2010-05-27 22:11:08 UTC
(In reply to comment #2)
> ... or find some hack to force
> "opening" non-existent files with the chooser.
That would be great, as I frequently use the sources from JDK's src.zip to compare.
Additionally I sometimes wished to edit zip-archived files and write them back.