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

Re: [Subclipse-users] changing file case with re-factor

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-06-28 16:36:18 CEST

On 6/28/07, Bradley Wagner <bradley.wagner@hannonhill.com> wrote:
> Not sure if this a Subclipse or SVN problem, but when I try to rename a
> file using the Re-factor menu and only change its case, I get a message that
> the re-factor failed and there is a red SVN warning in the console:
>
>
> Path is not a working copy directory
> svn: Path
> '/Users/bradley/Java/workspace/product/src/java/com/company/object/xml/AFile.java'
> is not a directory
>
> Weird message given that the path its referencing is a file.

This is a limitation of Subversion on case-insensitive file systems
like Windows and OSX. The easiest workaround is probably to do the
rename in the repository browser and then update. Of course you lose
some of the things refactoring will do for you, but that is the only
way that works.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu Jun 28 16:36:20 2007

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