I installed CollabNet Subversion Server on my server and had been using it with Eclipse on my desktop for a long time. Through some Eclipse changes, my SVN client install was lost (the server was untouched). After re-installation of the SVN client plug-in, I am unable to re-connect my projects with the SVN repository; I don't know the URL or anything.
When I open "SVN Repository Browser" in Eclipse, right click and select New > Repository Location, It asks me for a URL. I have typed "file://machineName" and "http://machineName", then the Browse... button, but I get "An error occurred while accessing the repository entry". Since the server hasn't changed, and I see that svnserve.exe is listening on 3690, and httpd.exe on port 90, I presume there's more needed on the URL, but I don't know what that is.
Resources available to use to recover the connection to the repository:
The .svn file in the project folder
The files on the server supporting the repository
svn.exe on the server (it says '.' is not a working copy when I tried a few commands). I don't have svn.exe on the client machine.
Where should I look to see how to reconnect my projects with the CollabNet svn server?
Make sure the expected Eclipse SVN plugin is being used (subversive vs subclipse, etc).
Try connecting with svn://
collabnet has its own plug-in try to install them from eclipse marketplace in Help menu.
Check the repository name it should be
"http:// [Your_Machine_name] / svn / [Your_Repository_name]"
Related
When I try to checkout my project in Eclipse in doesn't work. What can I do about it? It just waits and nothing happens.
So I wasted my time completely and instead I can install the subclipse plugin, and right away nothing is possible again:
Can you receive your svn repository via svn on the commandline? You should try to get it there and then import it to eclipse via File->Import.... That also adds the usual SVN capabilities to the eclipse project if the svn plugin is installed correctly.
What svn plugin are you using? There are subversive and subclipse, and I had different experiences using either of them.
Could you fetch any other svn repository via the dialog? Just get one on github(click Subversion right there where you get the git url) and try to get it.
When I enter the url for the server into a browser (Chrome, Firefox) I can access the repository if I accept the security exception.
When I enter the url into svn repository location in eclipse, along with the user name and password, I get an error occured while accessing the repository entry.
The error from eclipse is SVN: 0x00400006: Validate Repository Location operation finished with error: Selected SVN connector library is not available or cannot be loaded.
The instructions from this site worked
http://www.polarion.com/products/svn/subversive/download.php
In eclipse, go to help/install new software
Add the site
http://community.polarion.com/projects/subversive/download/eclipse/3.0/juno-site/
Install the svn connectors and svnkit.
Now, I can reach the server repository from eclipse. It may be helpful to use New / project from repository.
I just installed Eclipse Juno with following packages:
Subclipse 1.8.14
Subversion Client Adapter 1.8.3
SVNKit Library 1.7.5
SVNKit Client Adapter 1.7.5
Remote System Explorer User Actions 1.1.400
Remote System Explorer End-User Runtime 3.4.0
I can configure and access to remote repositories and ssh connections without problems. But every time I close the Eclipse and run it back, when I try to connect to remote machine or remote repository always ask me for the password even though I select to save it.
This didn't happened with previous versions of Eclipse (Indigo or Helios). Has anyone had the same problem and was able to fix it?
Looks like this issue. Solved in the latest SVNKit trunk, but the fix wasn't included in any release yet.
I'm suing Mac 10.7.3, Eclipse Indigo, SubEclipse 1.8, SVN 1.7, and the Java HL interface. I created an SVN repository, and want to check in a project, not previously checked in. When I right click on my project, select "Team", "Share Project", and then follow the prompts. I'm never asked for credentials to access the repository, and then project creation dies with ...
mkdir --parents -m "Initial import." [https://svn.myconewmedia.org/svn/repo/csf/trunk/correlations]
URL access forbidden for unknown reason
svn: Access to '/svn/repo/!svn/act/19defd24-393a-4997-bc9e-3c624425a1d4' forbidden
Although I entered a username and password when I setup the repo, I assumed this information wasn't cached. Does anyone know how I can checkin my project using Eclipse?
Thanks, - Dave
There's a difference between setting up a repository (which uses svnadmin create) and creating a working directory (which you do via Subversion's command line client -- svn co or via Ecilpse's built in Subversion client.
You said you gave it a user and password I entered a username and password when I setup the repo. What do you mean by that?
Can you checkout from the repository using the Subversion command line? If so, the issue is with Eclipse and the Subversion client. I've had issues with Java HL in the past because it requires the Subversion C API. Instead, I use SVNKit which is a pure Java solution, and doesn't require the Subversion C API. This is especially good to know if you're using a Mac because Apple doesn't provide the Subversion API libraries. See ColabNet JavaHL page for more information.
I also recommend you look at CollabNet Desktop Edition. It has everything you need, and has a much better merge client than the standard Eclipse merge client.
Response
I can checkout fine from the command line, so yes, I believe the problem is with Eclipse. I installed SVNKit in Eclipse, but how do I "use" it within Eclipse? When I open the Preferences -> SVN dialog, there is no "SVNKit" checkbox, only a "JavaHL: Commit across multiple projects automatically" checkbox, which is checked.
Okay, I downloaded Eclipse on my Mac, and then installed under Help->Install New Software..., the CollabNet Desktop (http://downloads.open.collab.net/eclipse/update-site/e3.5), Subclipse ( http://subclipse.tigris.org/update_1.8.x) and SVNKit (http://eclipse.svnkit.com/1.7.x).
I then restarted Eclipse, and went to Eclipse->Preferences.... From there, I chose, Team, and under Team, SVN. Part way down the screen, there's a SVN Interface entry. In the Client field, I selected SVNKit (Pure Java).
I then right clicked and said New->Project and selected SVN. I created a new repository, and was able to check out from that repository.
Are you able to follow these instruction? Is there something different? Do you see the SVN Interface preference? You have to change it from JavaHL to SVNKit.
I am a brand new Linux user configuring my first-ever dev sandbox in Ubuntu. I have installed Java and Eclipse and am trying to get either Subversive or Subclipse (I don't have a preference either way) but have a few questions before I start that process.
I just opened Synaptic and downloaded subversion through it.
(1) I'm not really sure how SVN deploys locally. My understanding is that SVN has a client and a server; the server manages the repository(ies) and the clieent just sends commands to the server. Is this correct? If so, then what did I download through Synaptic? The client, and/or the server?
(2) Do these Eclipse plugins come with SVN (client or server...?) or do you have to pre-install SVN prior to installing these plugins? Basically: is SVN a pre-req for Subclipse or Subversive?
Looking back at these 2 questions if someone could first explain to me the architecture of SVN, then explain how that architecture translates to downloading SVN via Synaptic, and then how it translates to downloading/installing either Eclipse plugin, I would see the "big picture" a lot better.
Thanks for any and all help!
I use subclipse with svnkit. Both can be installed from update site of subclipse. Works fine. No other sotware needed. You need to set svnkit instead of javahl. This can be done in preferences.
Installation Help/install new software.
Update sites depending on the version:
http://subclipse.tigris.org/update_1.8.x
http://subclipse.tigris.org/update_1.6.x
Setting window/preferences. (pick svkit at bottom):
You downloaded the SVN server. You can have multiple SVN clients connecting to it.
The Eclipse plugins do not come with SVN. You need to download them.
Once you install the plugin, you can connect to SVN repositories. If you want to connect to your own SVN repository, of course you need to install SVN and create it first.
However, with just the plugin installed, you can connect to any existing public repositories, or any other SVN repository to which you have access.
Example: If you install the plugin, without installing SVN, you can connect to this Apache Repository.
Hope that answers your questions.
1º question: You are correct. About Synaptic, I think it's the server one.
2º question: No, it isn't! Eclipse's plugin it's the client and you don't need to install the SVN outside the IDE. It's all embedded.
More info that could be useful:
How to configure SVN in Eclipse using Assembla repository:
Create or open your existing project in Eclipse.
Be sure that the SVN's plugin it's correctly installed into Eclipse.
Copy your project's url at the Assembla's web site.
Click with the right button over the project > Team > Share Project > SVN
At the showed window, copy the path to your project into the URL field. Remember of /trunk at the end of URL.
Inform your user (watch out, it's your user, not your e-mail) and password into the required fields and check the option: Save Authentication, otherwise your login and password will be required all the time.
Click over Finish.
The commit's screen will open for you add some comment and upload the files of your project. Remember that even being a new project, Eclipse will create all the default folder's structure for the project.
Click at Ok and it's done! Your code will be uploaded to the Assembla's online server.
Now open the Assemblas's web site, access the trunk folder into your repository and then explore your project's source code. Try the comments and see the automatic format applied over the code so it become more readable.
Here it's some advantages of Assembla service:
Unlimited useres working in the same project.
Easiness of use, create, import projects and use all the service, besides of huge documentation and support.
1 GB of space.
Online access to the source code, with the possibility of comment it.
Encrypt data traffic.
Integration with many tools of the site, which are excellent, but payed separately.
Possibility of, at any moment, hire any of the payed services, which offers an incredible amount of benefits for a fair price. (Look at the services list).
If so, then what did I download through Synaptic? The client, and/or the server?
From the Subversion package description in Ubuntu 10.10:
This package includes the Subversion client (svn), tools to create a Subversion repository (svnadmin) and to make a repository available over a network (svnserve).
So you have both the client software, and the software to create and serve your own repositories.
(2) Do these Eclipse plugins come with SVN (client or server...?)
No, you need to install subclipse.
do you have to pre-install SVN prior to installing these plugins?
As long as you install it via a package, you don't have to worry about this. The package management in ubuntu will make sure that any dependencies are installed automatically. AFAIK all package management systems of gnu\linux distributions of note have this feature.
The easiest way:
Help --> Eclipse MarketPlace, search subclipse, click install, and then follow the instructions to finish up the installation process.
One way to clear up your confusion could be to first use a free hosted Subversion repository, such as http://assembla.com.
Then you can download all of the SVN clients, including the Subclipse plugin, and commit a test project to the SVN repository on Assembla.
I recommend Subclipse as it's allegedly supposed to play nicer with other Subversion clients, which means you'll be able to use command line SVN as well as the Team context menu in Eclipse.
http://subclipse.tigris.org/
After playing with this configuration and being sure your client side is correctly configured, then you could look into installing a subversion server locally. Eliminating variables by clearly separating client and server will definitely help you avoid confusion at first.