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

[Subclipse-users] package rename bugs

From: Peter Mb <mb.peter_at_yahoo.com>
Date: Fri, 4 Jan 2008 07:55:15 -0800 (PST)

Hello all,

In our company we are developing a Java application using the Eclipse
 platform on Windows. We use Subversion for Version Control and Subclipse
 eclipse plugin.

We are experiencing some package rename peculiarities. Some of which I
 have been able to reproduce.

First, sometimes, when renaming packages having a common parent
 package, the old parent package remains, both locally and in the repository.

Start out with packages

  org.cmopany.core.dao
  org.cmopany.core.dto
  org.cmopany.core.model

 Each holding a single java file.

Correct the typo by renaming each package, commit and you end up with

  org.cmopany.core
  org.company.core.dao
  org.company.core.dto
  org.company.core.model

both locally and in the repository.

(See the attached 'empty-old-package.log' for a console trail)

The org.cmopany.core package is empty. The java files are (correctly)
 moved to the properly named packages.

We also witnessed situations in which the java file where not properly
 moved. I have thus far not been able to reproduce this behaviour.

Second, renaming a middle package component, after having succesfully
 renamed and commited the last package component results in an error when
 trying to submit: "Item is out-of-date".

Start out with a package

  one.tw.thre

holding a single java file.

rename to

  one.tw.three

commit.

All is fine at this point.

Now, rename to

  one.two.three

and the commit fails with

      Item is out-of-date
  svn: Commit failed (details follow):
  svn: Item '/dir-rename-report1/src/one/tw' is out of date

A full log trail is attached (middle-rename.log).

Is anyone able to shed some light on this?

Here is some detailed version info:

Eclipse 3.3.0, Build id: I20070625-1500
Subclipse 1.2.3

JDK: SUN jdk1.5.0_08
OS: WinXP

Regards,
Peter

      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org

Received on 2008-01-04 16:55:33 CET

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

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