"Anthony Guselnikov" <firstname.lastname@example.org> wrote on
04/26/2006 03:58:12 PM:
> I'm having a problem with subclipse plug-in, and I'm trying to figure
> it justifies filing a bug report.
> Whenever I copy and paste a resource into a Java package subclipse
> the files that I paste as deleted (with a red "X"),
> and then after I commit, it marks them as as new (with a question mark).
> same doesn't happen when I import the same
> resource from a file system.
> For example, say I have a sample.properties file in com.abc package in
> project A, and sample.properties file in com.xyz package in project B.
> If I copy this sample.properties in project A and paste it into com.xyz
> package in project B, if com.xyz already has sample.properties file, and
> is subversion-controlled, subclipse will mark the file with a red "X".
> If, on the other hand I import from a file system by right clicking on
> com.xyz package and selecting (Import/File System), subversion will
> to mark the file as
This is really an Eclipse issue, although I do not believe they consider
bug. As a Team Provider, Subclipse implements a Team API called the
MoveDeleteHook. Eclipse then tells us when a file is deleted so that we
delete. That is what is happening here. It is impossible for us to know
this should not really be a delete. What need to happen is for Eclipse to
tell us it is a delete.
Subclipse does support a Subversion property named DeferFileDelete. You
this in one of your project folders and it makes our MoveDeleteHook not
svn delete command when Eclipse tells us a file is deleted. So that fixes
problem. If you have this property set and you really delete a file, then
you have to do is bring up the Commit dialog. The file will show as
"missing" and if you select it as part of the Commit, it will be
can also mark the file as deleted from the Show Pending Operations view.
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Wed Apr 26 22:04:42 2006