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

[Subclipse-users] When Subclipse is the only repository provider, an error happens when selecting Team -> Share Project

From: Ary Manzana <ary_at_esperanto.org.ar>
Date: 2006-10-17 20:28:46 CEST

Hello.

I think I found a bug in the Subclipse plugin. Steps to reproduce it:

1. Start Eclipse *without* the CVS plugin (remove all
org.eclipse.team.cvs.*plugins). Also make sure no other repository
providers are configured in
Eclipse, besides Subclipse.
2. Create a new project of any kind.
3. Right click on the proejct folder, and select "Team -> Share Project..."

You'll get an "Internal error ocurred:
org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard".

Further, you get the following stack trace in the error log:

---
java.lang.ClassCastException:
org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard
at
org.tigris.subversion.subclipse.ui.wizards.sharing.DirectorySelectionPage.setUrlText
(DirectorySelectionPage.java:159)
at
org.tigris.subversion.subclipse.ui.wizards.sharing.DirectorySelectionPage.createControl
(DirectorySelectionPage.java:134)
...
---
Line 159 of DirectorySelectionPage is: SharingWizard wizard =
(SharingWizard)getWizard();
Maybe this happens because when there is just one repository provider, the
wizards is kind of differente (you don't get the "select repository
provider" page).
Is this a bug?
-----
Ary
Received on Tue Oct 17 20:30:28 2006

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.