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

Problem using IDE-based move/rename refactor operation

From: Coles, Jim - C <Jim_Coles_at_labs.sbc.com>
Date: 2005-01-20 17:15:06 CET

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
Received on Thu Jan 20 17:56:46 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.