Bug 185717 - [69cat] No response on Diff To..
[69cat] No response on Diff To..
Status: NEW
Product: utilities
Classification: Unclassified
Component: Diff
6.x
PC Windows XP
: P4 (vote)
: TBD
Assigned To: Tomas Stupka
diff-issues@utilities
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-07 17:23 UTC by ulfzibis
Modified: 2010-05-27 22:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo