Login | Register
My pages Projects Community openCollabNet

Discussions > users > [Subclipse-users] Do Subversion server and client versions need to match for Subclipse to work?

subclipse
Discussion topic

Hide all messages in topic

All messages in topic

Re: [Subclipse-users] Do Subversion server and client versions need to match for Subclipse to work?

Author rohr22
Full name Peter Toennies
Date 2016-03-07 15:28:35 PST
Message Mark, thank you! I got it to work by upgrading to the site-1.8.22.zip file
from
http://subclipse.tig​ris.org/servlets/Pro​jectDocumentList?col​lapseFolder=2240​&folderID=2240.
I think we may have been confused since the page
http://subclipse.tig​ris.org/servlets/Pro​jectProcess;jsession​id=1730BA60C1F3F7D88​A9C9258C4FC422E?page​ID=p4wYuA
says the following about Subclipse 1.8:

Subclipse 1.8.x includes and requires Subversion 1.7.x client features and
working copy format.

I think we thought this meant that you had to have Subversion 1.7 installed
as the client.

After unzipping the site-1.8.22.zip file into my Eclipse dropins directory
and restarting Eclipse, I was able to select File / New / Project / Checkout
Projects from SVN and then extract the svn files locally even though I have
the svn 1.6 client installed locally. When I open a terminal window and
change to the workspace where I extracted the files with the above import, I
see the following:

# svn --version
svn, version 1.6.11 (r934486)
   compiled Mar 4 2015, 05:39:12

# svn info
svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.

So it looks like I cannot run svn commands against this directory with the
local client. The important thing is that I can use the Subclipse plugin in
Eclipse to commit changes with this repository. I tested that and it worked.

So it seems like there must be something about the site-1.6.18 version that
is not compatible with the Eclipse version we have.

Thank you,
Peter



--
View this message in context: http://tigris-scm.10​930.n7.nabble.com/Do​-Subversion-server-a​nd-client-versions-n​eed-to-match-for-Sub​clipse-to-work-tp100​368p100375.html
Sent from the subclipse - users mailing list archive at Nabble.com.

Re: [Subclipse-users] Do Subversion server and client versions need to match for Subclipse to work?

Author markphip
Full name Mark Phippard
Date 2016-03-07 13:06:22 PST
Message You appear to be using something called Nabble to interact with our mailing
lists. I looked at the links it provided for your pictures but they are
just screenshots of the version numbers you have installed ... which I do
not really care about.

I would focus on getting your SSH client setup correctly. You might need
to generate a keypair and upload the public key to the server, or maybe you
just use username and password. I cannot really help with that as it is
different for everyone.

I have resisted to ask why you want to use an ancient version of
Subclipse. I would suggest you use the current version which is 1.10.11,
but if the Subclipse 1.8.x version works then why aren't you just using
that?

The only reason to ever use an old version would be if you are on a Linux
system with an old version of JavaHL that you want to use. But you pointed
out you do not have JavaHL available and are using SVNKit. In which case
you might as well just use the latest version.

Mark





On Mon, Mar 7, 2016 at 3:04 PM, Peter Toennies <pgtoennies at gmail dot com> wrote:

> Mark, thank you for trying to help me!
>
> Note that I edited my earlier post to include the screen shot on what the
> installation details look like on the machine where Subclipse 1.8.22 works
> with a client and server svn version of 1.7.14.
>
> Do you have any tips or suggestions on how to get SSH setup correctly. Is
> the setup somehow different between Subclipse 1.6.18 and 1.8.22?
>
> I would really like to make better sense of this. The local people here are
> telling me we that in order to use Subclipse we have to ensure that the
> local svn version matches the version on the server. This really did not
> make sense to me so I am trying to get to the bottom of why there is this
> requirement or fix things so it is not necessary.
>
> Peter
>
>
>
> --
> View this message in context:
> http://tigris-scm.10​930.n7.nabble.com/Do​-Subversion-server-a​nd-client-versions-n​eed-to-match-for-Sub​clipse-to-work-tp100​368p100373.html
> Sent from the subclipse - users mailing list archive at Nabble.com.
>
> --------------------​--------------------​--------------
>
> http://subclipse.tig​ris.org/ds/viewMessa​ge.do?dsForumId=1047​&dsMessageId=316​4721
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe@su​bclipse.tigris.org].​
>



--
Thanks

Mark Phippard
http://markphip.blogspot.com/
Attachments

Re: [Subclipse-users] Do Subversion server and client versions need to match for Subclipse to work?

Author rohr22
Full name Peter Toennies
Date 2016-03-07 12:59:53 PST
Message Mark, thank you for trying to help me!

Note that I edited my earlier post to include the screen shot on what the
installation details look like on the machine where Subclipse 1.8.22 works
with a client and server svn version of 1.7.14.

Do you have any tips or suggestions on how to get SSH setup correctly. Is
the setup somehow different between Subclipse 1.6.18 and 1.8.22?

I would really like to make better sense of this. The local people here are
telling me we that in order to use Subclipse we have to ensure that the
local svn version matches the version on the server. This really did not
make sense to me so I am trying to get to the bottom of why there is this
requirement or fix things so it is not necessary.

Peter



--
View this message in context: http://tigris-scm.10​930.n7.nabble.com/Do​-Subversion-server-a​nd-client-versions-n​eed-to-match-for-Sub​clipse-to-work-tp100​368p100373.html
Sent from the subclipse - users mailing list archive at Nabble.com.

Re: [Subclipse-users] Do Subversion server and client versions need to match for Subclipse to work?

Author markphip
Full name Mark Phippard
Date 2016-03-07 12:50:38 PST
Message This is what I was suspecting.

SSH requires a bit more configuration like keys etc. You can use SVNKit,
as opposed to JavaHL and for SSH it is probably actually better to use
SVNKit since it provides a GUI. I suspect you do not have something SSH
related that you need available.

Again, I do not think this has anything to do with version numbers. You
should get to a point that your can add your repository via its URL and
browse it. This will require getting SSH setup correctly.

Mark



On Mon, Mar 7, 2016 at 2:49 PM, Peter Toennies <pgtoennies at gmail dot com> wrote:

> I did exactly the same steps on a machine where Subclipse works correctly
> and
> the one where it doesn't. I entered the same URL for both. I am using the
> svn+ssh protocol for specifying the URL. On the machine where I am having
> an
> issue with Subversion 1.6.11, I can run an "svn ls" command on the URL I am
> entering into Eclipse in a terminal window. When I enter the URL in
> Subclipse and press Next, I get an error message of the form:
>
> Error validating location: "org.tigris.subversi​on.javahl.ClientExce​ption:
> svn: URL '<url name here>'
> non-existent in revision '<revision number>'.. Keep location anyway"
>
> What should be selected under Window->Preferenc​es->Team->SVN for the "SVN
> Interface". On mine I have "SVNKit (Pure Java) SVNKit v1.3.5.7406.
> Initially
> it was set to "JavaHL (JNI)" and had the text "Not Available" after that.
> Do
> I need to do something so that "JavaHL (JNI)" is installed? Where can I get
> that from?
>
> Attached is the Help->Installation Details screen on the machine where
> Subclipse is not working:
> <
> http://tigris-scm.10​930.n7.nabble.com/fi​le/n100371/%2445DEC6​EEC43A09AB.jpg
> >
>
> Am I missing some installed software to make Subclipse work correctly with
> a
> client svn version of 1.6.11 with a server svn version of 1.7.14?
>
> Thank you,
> Peter
>
>
>
> --
> View this message in context:
> http://tigris-scm.10​930.n7.nabble.com/Do​-Subversion-server-a​nd-client-versions-n​eed-to-match-for-Sub​clipse-to-work-tp100​368p100371.html
> Sent from the subclipse - users mailing list archive at Nabble.com.
>
> --------------------​--------------------​--------------
>
> http://subclipse.tig​ris.org/ds/viewMessa​ge.do?dsForumId=1047​&dsMessageId=316​4718
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe@su​bclipse.tigris.org].​
>



--
Thanks

Mark Phippard
http://markphip.blogspot.com/
Attachments

Re: [Subclipse-users] Do Subversion server and client versions need to match for Subclipse to work?

Author rohr22
Full name Peter Toennies
Date 2016-03-07 12:45:06 PST
Message I did exactly the same steps on a machine where Subclipse works correctly and
the one where it doesn't. I entered the same URL for both. I am using the
svn+ssh protocol for specifying the URL. On the machine where I am having an
issue with Subversion 1.6.11, I can run an "svn ls" command on the URL I am
entering into Eclipse in a terminal window. When I enter the URL in
Subclipse and press Next, I get an error message of the form:

Error validating location: "org.tigris.subversi​on.javahl.ClientExce​ption:
svn: URL '<url name here>'
non-existent in revision '<revision number>'.. Keep location anyway"

What should be selected under Window->Preferenc​es->Team->SVN for the "SVN
Interface". On mine I have "SVNKit (Pure Java) SVNKit v1.3.5.7406. Initially
it was set to "JavaHL (JNI)" and had the text "Not Available" after that. Do
I need to do something so that "JavaHL (JNI)" is installed? Where can I get
that from?

Attached is the Help->Installation Details screen on the machine where
Subclipse is not working:
<http://tigris-scm.10​930.n7.nabble.com/fi​le/n100371/%2445DEC6​EEC43A09AB.jpg>

Am I missing some installed software to make Subclipse work correctly with a
client svn version of 1.6.11 with a server svn version of 1.7.14?

Thank you,
Peter



--
View this message in context: http://tigris-scm.10​930.n7.nabble.com/Do​-Subversion-server-a​nd-client-versions-n​eed-to-match-for-Sub​clipse-to-work-tp100​368p100371.html
Sent from the subclipse - users mailing list archive at Nabble.com.

Re: [Subclipse-users] Do Subversion server and client versions need to match for Subclipse to work?

Author markphip
Full name Mark Phippard
Date 2016-03-07 09:26:41 PST
Message On Mon, Mar 7, 2016 at 11:12 AM, Peter Toennies <pgtoennies at gmail dot com>
wrote:

> Hi. I am on a project where we have a Subversion server that is using
> version
> 1.7.14. I have a client machine that has Subversion version 1.6.11. I am
> trying to use the Subclipse plugin version 1.6.18 from
> http://subclipse.tig​ris.org/servlets/Pro​jectDocumentList?fol​derID=2240.
> Unfortunately, I cannot get it to work. I was told that I needed to upgrade
> my Subversion client version to match the Subversion server version. I do
> not understand why this is necessary. Here is what I have installed under
> installation details:
>

Subversion clients and servers do NOT need to be running the same version.
Subclipse does not do anything that would change this or make it a
requirement.




>
> <
> http://tigris-scm.10​930.n7.nabble.com/fi​le/n100368/%24740C7F​C3AD917C29.jpg
> >
>
> We are using Python on our project and I have the PyDev plugin installed.
> The import of a svn repository is failing. Here is what I am doing and
> seeing:
>
> 1. From "PyDev Package Explorer", right-click and select "Import"
> 2. Under SVN select "Checkout Projects from SVN" and press Next
> 3. Select "Create a new repository"
> 4. Enter the URL for the svn repository and press Next
>
> Next I get an error message like the following, "Error validating location:
> "org.tigris.subversi​on.javahl.ClientExce​ption: svn: URL '<url name here>'
> non-existent in revision '<revision number>'.. Keep location anyway"
>
> 5. Next I select "Yes"
> 6. Next I am shown an error message, 'Folder " does not exist remotely.'
> 7. I dismiss this error message. Then I select the top folder of the
> repository.
> 8. Next I select "Check out as a project in the workspace"
> 9. Next I click on Finish.
>


So why are you doing all of these things? Assuming you have a valid URL it
would seem like the message in step 6 is relevant and you should be
investigating it more.



> 10. Next I am shown a message saying, "You appear to be checking out the
> root of your repository. Are you sure that this is what you want to do?..."
> I answer "Yes"
> 11. Next I get the error message, "'SVN Checkout' has encountered a
> problem.
> Error Getting Dir list"
>


These are all just further signs that you have not entered a valid URL.
What protocol are you using? https:// etc..



--
Thanks

Mark Phippard
http://markphip.blogspot.com/
Attachments

[Subclipse-users] Do Subversion server and client versions need to match for Subclipse to work?

Author rohr22
Full name Peter Toennies
Date 2016-03-07 09:08:38 PST
Message Hi. I am on a project where we have a Subversion server that is using version
1.7.14. I have a client machine that has Subversion version 1.6.11. I am
trying to use the Subclipse plugin version 1.6.18 from
http://subclipse.tig​ris.org/servlets/Pro​jectDocumentList?fol​derID=2240.
Unfortunately, I cannot get it to work. I was told that I needed to upgrade
my Subversion client version to match the Subversion server version. I do
not understand why this is necessary. Here is what I have installed under
installation details:

<http://tigris-scm.10​930.n7.nabble.com/fi​le/n100368/%24740C7F​C3AD917C29.jpg>

We are using Python on our project and I have the PyDev plugin installed.
The import of a svn repository is failing. Here is what I am doing and
seeing:

1. From "PyDev Package Explorer", right-click and select "Import"
2. Under SVN select "Checkout Projects from SVN" and press Next
3. Select "Create a new repository"
4. Enter the URL for the svn repository and press Next

Next I get an error message like the following, "Error validating location:
"org.tigris.subversi​on.javahl.ClientExce​ption: svn: URL '<url name here>'
non-existent in revision '<revision number>'.. Keep location anyway"

5. Next I select "Yes"
6. Next I am shown an error message, 'Folder " does not exist remotely.'
7. I dismiss this error message. Then I select the top folder of the
repository.
8. Next I select "Check out as a project in the workspace"
9. Next I click on Finish.
10. Next I am shown a message saying, "You appear to be checking out the
root of your repository. Are you sure that this is what you want to do?..."
I answer "Yes"
11. Next I get the error message, "'SVN Checkout' has encountered a problem.
Error Getting Dir list"

I ran into the above issues before on another machine and after upgrading
the svn client version to match the server's version and installing the
Subclipse 1.8.22 version, I got everything to work correctly.

Can anyone see what I am doing wrong and also answer the question as to why
it seems like I have to upgrade the client svn version to match the server's
version?

Thank you,
Peter



--
View this message in context: http://tigris-scm.10​930.n7.nabble.com/Do​-Subversion-server-a​nd-client-versions-n​eed-to-match-for-Sub​clipse-to-work-tp100​368.html
Sent from the subclipse - users mailing list archive at Nabble.com.
Messages per page: