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

site archives >0.9.12 broken?

From: Holger Hoffstätte <holger_at_wizards.de>
Date: 2004-09-04 17:59:19 CEST

Hi,

I've been using subclipse 0.9.12 in eclipse 3.0 (Windows XP, JDK 1.4.2)
successfully. However, so far every single attempt to upgrade to anything
newer has resulted in failures; today I finally found the time to investigate.
Any versions later than 0.9.12 cause the following exception:

java.lang.Error: Unresolved compilation problem:
        at
org.tigris.subversion.subclipse.core.resources.RemoteResourceTransfer.getInstance(RemoteResourceTransfer.java:21)
        at
org.tigris.subversion.subclipse.ui.actions.PasteRemoteResourceAction.isEnabled(PasteRemoteResourceAction.java:74)
        at
org.eclipse.team.internal.ui.actions.TeamAction.setActionEnablement(TeamAction.java:239)
...

This can be caused reliably and repeatedly, even after clean installs of
all features/plugins/.metadata, by:

- opening the SVN Repoitories view
- selecting any directory in a repository
- right-clicking to open the pop-up menu in order to "Check out.."

When this was reproducible today even after installing from the 0.9.17
local-site drop, I decided to dig in, decompiled the
RemoteResourceTransfer class and found that it only contains emty,
Exception-raising method stubs - for example:

     public static RemoteResourceTransfer getInstance()
     {
         throw new Error("Unresolved compilation problem: \n");
     }

Uhm..WTF? Especially since the repository at
http://svn.collab.net/repos/subclipse/tags/subclipse/subclipse-3-0.9.17/core/src/org/tigris/subversion/subclipse/core/resources/RemoteResourceTransfer.java
shows that this should look entirely different. The jar from the working
0.9.12 drop contains the appropriate code.
I cannot imagine that this is right, but it sure looks like the build
process for the site drops is not in sync with the repository.
Any ideas what's going on here? I cannot imagine this hasn't caused
trouble for anybody else yet.

Regards
Holger
Received on Sun Sep 5 01:59:19 2004

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