subclipse Issue after switching to using SVNParentPath - eclipse

I've had Subclipse set up and working correctly. Recently I needed to create a 2nd repository in SVN for another project in a separate Eclipse workspace. Up to this point my dav_svn.conf file was setup to only provide access to the first repository. So I created the new repository. Then I enabled the SVNParentPath and SVNListParentPath directives, did not change the <Location URL>, and verified that it was working ok by just using my web browser on the client PC and everything was great.
But when I tested it in Eclipse, if I use the SVN Repository Exploring view, Subclipse insists that the repository can't be found - none of the Team functions work. Nor will it list the other repository that should be available at that URL if I just try to create a new repository.
Do I need to relocate the repository via SVN Repository Exploring View? (despite the dire warnings) Or is there actually something wrong with Subclipse?
I'm using Eclipse 3.7.2 on Ubuntu 12.04, along with:
org.tigris.subversion.clientadapter.feature (1.8.6) "Subversion Client Adapter"
org.tigris.subversion.clientadapter.javahl.feature (1.7.10) "Subversion JavaHL"
org.tigris.subversion.clientadapter.svnkit.feature (1.7.9.2) "SVNKit Client Adapter"
org.tigris.subversion.subclipse (1.8.22) "SVN Team Provider Core"
org.tigris.subversion.subclipse.graph.feature (1.1.1) "Subversion Revision Graph"
the subversion repository is hosted on a Ubuntu server (10.04 LTS) and being served via Apache using the dav_svn 'plugin'.

Most likely the URL for the repository has changed, so yes you would need to take the Relocate option so that you can update the URL. Note that you have to give Subclipse the URL to one of your repositories, not to the parent path. No SVN client will accept the URL to the parent. So, for example, the URL needs to be:
http://server.com/svn/repos
not -
http://server.com/svn
I do not believe the message when you do Relocate is "dire" it is just letting you know what it is going to do.

Related

Team Foundation Server - Eclipse and Cross Platform: Unable to clone Git repository using TEE in Eclipse. Error cloning - Not Authorized

I have TFS 2018.2 and Eclipse IDE for Enterprise Java Developers Version 2019-06 (4.12.0). In eclipse I have installed Team Explorer Everywhere plugin and I am able to see all my Git repository however when I try to clone a git repository using the administrator account in TFS I get below error:
Error cloning the <GitName> repository.
http://../..//<GitName>: not authorized.
Clone Error:
Eclipse Version:
Reference Document
In case if the question is placed in the wrong forum path feel free to correct it.
I have tried the resolution provided in https://github.com/microsoft/team-explorer-everywhere#frequently-asked-questions-faq
Also, tried installing latest versions of Egit in Eclipse - https://download.eclipse.org/egit/updates/
I am not sure how to use the older version of Egit to try the import of repository. I seem to have latest version of Egit.
UPDATE:
Apparently I am able to resolve the issue by following below steps:
And creating a Git repository from File menu and then utilizing the 'Copy clone URL' from the first image. Select the newly created repository and perform right click on it to select 'Paste repository path or url' which would ask for authentication and repo would be copied.
However the action items have carried TFS to run into issues:
and
According to your description, I'm afraid you are in the wrong direction to fix this issue.
Your error actually is "not authorized" which is not Authentication not supported. There are totally different issues. Instead of digging into that QA, you should try to figure out why it's not authorized for MyGit repository.
First give a try to use Eclipse with version 4.2 to 4.6 instead of latest according to official link of team-explorer-everywhere.
Supported on Linux, Mac OS X, and Windows. Compatible with IDEs that
are based on Eclipse 4.2 to 4.6.
Besides follow below steps to narrow down the issue:
You should also use git command line by using the administrator
account in TFS and check if you are able to use it to connect/clone
MyGit repository which hosted by TFS server.
Check if your Eclipse can connect to and clone library from any
GitHub repo correctly.
Update or delete cached credentials from Control Panel ->
Credential Manager -> Generic Credentials the password for
git:http://ServerName:xx/

SVN Integration With Eclipse and CRX (CQ 5.6)

I've managed to use FileVault with Eclipse Indigo to set up a local instance of my CRX. (Currently working with CQ 5.6) I would now like to set up an SVN server which maps my repository (currently a local folder, as I'm just testing how this works) to whatever I have checked out using the FileVault/Eclipse environment.
The goal is to have SVN to handle versioning etc on the local instance after which all final changes would be committed to CRX. Any idea on how to achieve this?
This and This help to some extent, but I'm still struggling with mapping SVN to whatever is checked out by FileVault.
Additionally, what would be the best SVN server to utilize in this case? Currently using VisualSVN Server Manager, but I did remember reading somewhere that repositories created this way would not be accessible through TortoiseSvn!
the thing to remember when adding a something checked out with filevault into svn is not to commit the .vlt files
Otherwise you can use any svn tool. i recommend http://tortoisesvn.net/ or if you want to do it from within eclipse check out subclipse http://subclipse.tigris.org/

git server with eclipse project

I have a computer running Ubuntu Server. On this computer I have a user named mattgit.
I have another computer running Windows 7. I develop Java applications in Eclipse on this computer.
On my server, I have run "git init --shared --bare" to create a central repository for an Eclipse project. I've done this once for each project in my Eclipse workspace, each in a separate folder.
I want each project in my Eclipse workspace on my Win7 machine to act as a/be a/whatever the terminology is git repository. I want to be able to then push these files back to the central repository on my server. How do I do this?
I've tried cloning the (initially empty) central repository to my Win7 machine to a folder in my Eclipse workspace and then creating a project in there, but Eclipse refuses to create it because it says the directory isn't empty.
I've also tried creating the project using Eclipse in my workspace, then cloning the repository into that folder, but apparently I'm not allowed to do that either.
I've tried using SmartGit and the Git binary and I'm just getting more and more confused.
EDIT: Please assume I know absolutely nothing about what I need to do. I need step-by-step instructions.
You will need three things:
a Git listener service able to listen to your git command (and you don't need gitolite at all here: it is an authorization layer).
See GitStack for Windows (there is a free version)
a git Eclipse plugin including in your Eclipse in order to not switch context when you want to do a Git operation: make sure EGit is installed in your Eclipse.
some instructions importing your existing Eclipse project into a local git repo and to declare your Windows GitStack repo as a remote, in order to push to it.
Create a local repo and import your Eclipse project into it.
Add your remote and push to it.
The instructions of Egit on GitHub are quite complete.
The Vogella's tutorial on Egit is also nicely done.
The simpler way to do that is to create your new project within Eclipse, then right click on the project and go to Team > Share menu.
This interface will guide you to create a new local repository containing your new Eclipse project.
Once your project is managed on a local git repository, Eclipse will give you other context menu entries to manipulate the project on Git. So you will be able to push your commits on your remote repository (the one you created on your server).

SVN Relocate in Eclipse Issues

I'm trying to use the relocate function in Eclipse to switch the svn server my projects are looking at. I open the SVN Repositories view, right click the repository, choose relocate, type in the new url, and it just keeps spitting back:
org.tigris.subversion.javahl.ClientException: svn: Server does not support retrieving information about the root repository
I used to get the same error with the old server when I would check things out, but it would always pull up the directory listing regardless. If I add the new location in the SVN Repositories, I can browse it just fine. What am I doing wrong here?
I'm using Subclipse Integration for Mylyn 3.0.0 in Eclipse 3.5.2. I also have
Subversion Client Adapter 1.5.3
Subversion JavaHL 1.5.7
Subversion Revision Graph 1.0.7
SVN Team Provider Core 1.4.8
SVNKit Client Adapter 1.5.6.1
The SVN server we were using was a lil' out of date, so it wasn't supporting a request we were sending it. When Eclipse didn't get the reply it wanted, it failed and continued to go any further. I suppose the fix to this would be to upgrade your SVN server, but all we did was pointed DNS from the old server to the new server.

Working with ProjectLocker

I have an account in ProjectLocker and a project in MyEclipse.
How to upload this in ProjectLocker?
I'll make the assumption that you want to use Subversion, as I don't know what support MyEclipse has for Git.
ProjectLocker's Subversion is 100% standard, so adding a project is the same as it would be for any other Subversion repository. The URL for projects of which you are a member is presented on the home page. You should be able to right-click on your project, select Team. . . Share Project, and then add the ProjectLocker repository with the URL, name, and password you were issued. This connects your local project with the ProjectLocker repository, and then you can add and update files as you see fit.
If you already have files uploaded, you can use the SVN Repository Exploring perspective to find the project and directory and check out a new project.
ProjectLocker offers subversion and git repositories. First you obviously have to decide for one or another version control system and add the required plugins to eclipse (for subversion or for git unless MyEclipse already has the connectors).
Then it's pretty straightforward - add your repository (ProjectLocker should provide you the correct URL) and share the project.