[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Problem using IDE-based move/rename refactor operation

From: <jim.mochel_at_ascentialsoftware.com>
Date: 2005-01-20 18:02:01 CET

My experience is that you do have to use the plugins to have everything
tracked correctly. Especially if you copy or delete incorrectly from the IDE
you can put the working copy into an invalid state that takes some work to
recover from.

Jim

-----Original Message-----
From: Coles, Jim - C [mailto:Jim_Coles@labs.sbc.com]
Sent: Thursday, January 20, 2005 11:15 AM
To: users@subversion.tigris.org
Subject: Problem using IDE-based move/rename refactor operation

Hello all,
   I am wanting to use my Java IDE (websphere) to do my Java class and
package moving and renaming. Of course, I want to take advantage of the
IDE's refactoring to avoid broken references, etc.. The problem is, I
can not then easily get my Subversion directories and file names back in
sync with my local files system counterparts. Here's what I'm doing:

1. Have Java elements like this:
[local] ./com.one.two.Class1.java

2. Add corresponding directories and file to Subversion ==>
[svn ] ./com.one.two.Class1.java

Everything is in sync at this point.

3. Use IDE-based refactoring to move Class1 to another package ==>
[local] ./com.one.two.[empty]
[local] ./com.one.another.Class1.java
[svn ] ./com.one.two.Class1.java

Now, of course, Subversion is all out of whack and has no way of knowing
that [local]./com.one.another.Class1.java corresponds to
[svn]./com.one.two.Class1.java.

What are my options?

Do I HAVE to use a subversion plugin for my IDE so that it can
coordinate local and svn move/renames with the IDEs refactoring logic?

Or, do I have to do an 'svn move/rename' first and just do without
move/rename refactoring within my IDE?

That's it,

Jim Coles

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 20 18:04:32 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.