Bug 61864 - I200405110010 Pasted file doesnt update package explorer
Summary: I200405110010 Pasted file doesnt update package explorer
Status: RESOLVED DUPLICATE of bug 56870
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-12 05:01 EDT by Neil Swingler CLA
Modified: 2004-05-26 11:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Swingler CLA 2004-05-12 05:01:27 EDT
I build 200405110010

I copied a file (under version control) to the same package using copy/paste.
The file was correctly created but did not show up in the package explorer. I
opened a new resource perspective and it showed up there.

After eclipse restart it shows correctly in the package explorer.

There was nothing in the log file.
Comment 1 Neil Swingler CLA 2004-05-12 05:02:23 EDT
I should add that I tried to refresh the directory in the package explorer and
that made no difference.
Comment 2 Dirk Baeumer CLA 2004-05-12 05:16:57 EDT
Which version control system are you using ? Was the file read-only when you 
copied it ?
Comment 3 Neil Swingler CLA 2004-05-12 08:29:44 EDT
Clearcase. Yes the file was read only. This always worked before.
Comment 4 Dirk Baeumer CLA 2004-05-13 06:54:47 EDT
Neil, we had a bug with read-only files and copy/paste but we thought we have 
fixed it for 200405110010. 

Can you constantly reproduce it ? If so can you please do the following (we do 
not have ClearClease, so I only tested it under CVS and normal read-only 
files). Add a .options file to your Eclipse installation and start Eclips 
with -debug. The .options file should have the following content

# Turn on debug tracing for org.eclipse.jdt.core plugin
org.eclipse.jdt.core/debug=true

# Print notified Java element deltas
org.eclipse.jdt.core/debug/javadelta=true
org.eclipse.jdt.core/debug/javadelta/verbose=true

This will print the deltas generated by the Java model to the console. If you 
start eclipse via the eclipse exe you have to add a argument like -vm 
C:\jdk1.4.2\bin\java.exe when start eclipe to get a Java VM with a command 
console.
Comment 5 Neil Swingler CLA 2004-05-13 07:56:16 EDT
Dirk, I have already moved to 200405130010 and I can't reproduce the problem now.
Comment 6 Dirk Baeumer CLA 2004-05-13 09:04:21 EDT
OK, I keep the PR open. Neil, if you see it again using the latest build can 
you please try to run with debug enabled. We had problems with the delta 
processing and the debug trace would help figuring out what goes wrong.
Comment 7 Dirk Baeumer CLA 2004-05-26 11:06:43 EDT

*** This bug has been marked as a duplicate of 56870 ***