To reproduce the problem, right-click on your project folder in the Navigator panel, then select the "Share Project..." wizard from the "Team" element of the project context menu. Aptana will display an error dialog:
The error message reads "org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard cannot be cast to org.tigris.subversion.subclipse.ui.wizards.sharing.SharingWizard"
A couple of other Aptanans reported encountering the same error after I submitted it to the Aptana user forum, but the Aptana team hasn't come forth with a solution yet.
Here's how I worked around the problem:
- Download and install an SVN client, e.g. I use the TortoiseSVN Windows client on my Windows PC
- Create the new project in Aptana, e.g. "MyApp"
- Import the project to your SVN repository, e.g. "C:\rails\myapp" -> "svn://myhost.com/svn/rails/myapp/trunk"
- Now that the code is safely tucked up in your repository, delete the contents of the project folder, either in Windows or from Aptana.
- Back in Aptana, right-click in the Navigator pane then select "Import..." to open the project import dialog box. Follow the instructions to check out the contents of the trunk/ directory to a new Aptana project. [Note: modified this step to use Aptana instead of TortoiseSVN]
- You should now see Aptana's version of the SVN status hints overlaid on the project files and folders. As well, the project name will acquire the SVN repository path, e.g. [rails/myapp/trunk]
- That's it, you're good to go! Now you can use Aptana's SVN client to manage the project.
We'll look into this and see if we can come up with a fix or at least a better/easier solution.
ReplyDeleteThanks.
We've narrowed it down to a bug in Subclipse. Here's where we're trac'ing it: http://www.aptana.com/trac/ticket/4250
ReplyDelete