Login | Register
My pages Projects Community openCollabNet

Discussions > users > [Subclipse-users] Subclipse not working in Mars with UNC working copy

subclipse
Discussion topic

Hide all messages in topic

All messages in topic

RE: Re: Re: [Subclipse-users] Subclipse not working in Mars with UNC working copy

Author richarddavies
Full name Richard Davies
Date 2016-03-24 13:17:55 PDT
Message I just found some interesting info in the Eclipse log and have attached the relevant portion of the log file.

The following error appears multiple times, followed by a subsclipse null pointer exception.

!ENTRY org.tigris.subversio​n.subclipse.core 4 -6 2016-03-24 11:20:10.345
!MESSAGE The SVN synchronization information for 'CustomTags' has become corrupt or does not exist.

Now before we jump to conclusions that there's something wrong with my SVN working copy, let me remind you that it works just fine if my Eclipse project uses a mapped drive which points to the working copy on the network share, so this would seem to indicate that the working copy is fine. It's only when the Eclipse project points directly to the network share (via a UNC pathname) that I have problems.

> Yes, it seems that something in Eclipse has indeed changed between Kepler and Mars.
>
> Sounds like it's time for you to start building against a newer version of Eclipse too since 3.2 is practically 10 years old now.
Attachments

RE: Re: Re: [Subclipse-users] Subclipse not working in Mars with UNC working copy

Author richarddavies
Full name Richard Davies
Date 2016-03-24 12:59:15 PDT
Message Yes, it seems that something in Eclipse has indeed changed between Kepler and Mars.

Sounds like it's time for you to start building against a newer version of Eclipse too since 3.2 is practically 10 years old now.

Re: Re: [Subclipse-users] Subclipse not working in Mars with UNC working copy

Author markphip
Full name Mark Phippard
Date 2016-03-24 12:26:03 PDT
Message On Thu, Mar 24, 2016 at 3:22 PM, Richard Davies <Richard@richardd​avies.us>
wrote:

> Let me add some additional details. It's currently working fine with a UNC
> path in Kepler with Subclipse 1.12 and JavaHL 1.9.3. (BTW, even though I
> used http://subclipse.tig​ris.org/update_1.12.​x the version number of the
> plugin as reported by Eclipse after the installation is still 1.10.13... is
> that to be expected? Why is Eclipse not reporting 1.12?)
>

Yes, it is to be expected. We cannot host two versions of JavaHL on same
update site. Right now, the only difference between the versions is the
JavaHL version. Someday, if/when we add SVN 1.9-specific features, then
there will be a 1.12 version. But for now, trying to stick to one version.


> I'm using the same version of Subclipse and JavaHL in Mars (and the same
> project definition) but it's not working. I've even tried going back to
> earlier versions of Subclipse and JavaHL in my Mars installation but that
> had no effect.


We still build Subclipse on Eclipse 3.2. There is really no code that
cares what version of Eclipse you are using. Maybe something in Eclipse
changed, but I would not know what it is. If the Eclipse Resource
properties on a file shows the same path names in both versions I would not
expect there to be any differences.


--
Thanks

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

RE: Re: [Subclipse-users] Subclipse not working in Mars with UNC working copy

Author richarddavies
Full name Richard Davies
Date 2016-03-24 12:22:31 PDT
Message Let me add some additional details. It's currently working fine with a UNC path in Kepler with Subclipse 1.12 and JavaHL 1.9.3. (BTW, even though I used http://subclipse.tig​ris.org/update_1.12.​x the version number of the plugin as reported by Eclipse after the installation is still 1.10.13... is that to be expected? Why is Eclipse not reporting 1.12?)

I'm using the same version of Subclipse and JavaHL in Mars (and the same project definition) but it's not working. I've even tried going back to earlier versions of Subclipse and JavaHL in my Mars installation but that had no effect.

Given that the same version works in Kepler but not Mars, I'm guessing it's not a problem with SVN but rather there's something different with the newer version of Eclipse that's causing a problem. Perhaps the plugin needs to do something to workaround an Eclipse change. But I'm not familiar enough with Eclipse plugin development to figure out what the problem is. Do you have a Windows PC that you can reproduce the issue on? Or is there any way that I can access debugging/logging info and pass along that data to help you figure out the problem?

Re: [Subclipse-users] Subclipse not working in Mars with UNC working copy

Author markphip
Full name Mark Phippard
Date 2016-03-24 12:00:29 PDT
Message I do not believe there would be anything we would do to make this work or
not work. It would be up to the SVN API. Assuming you are using JavaHL,
then maybe something has changed in SVN 1.9 .. and that is assuming you are
implying this is something that has worked in prior versions.

You can try SVNKit of course, or you can go back to Subclipse 1.10.x and
try it with SVN 1.8.

Subclipse 1.10 and 1.12 are identical other than the version of the SVN
library being used for the API. If it is a SVN issue, then reporting it on
their users@ list would be best way to do.


Mark



On Thu, Mar 24, 2016 at 2:53 PM, Richard Davies <Richard@richardd​avies.us>
wrote:

> I've been successfully using Subclipse with Eclipse Kepler Service Release
> 2 on Windows 7.
>
> I'd like to upgrade to a newer version of Eclipse and have downloaded and
> installed Eclipse Mars.2 (4.5.2). I've installed Subclipse from
> http://subclipse.tig​ris.org/update_1.12.​x but it doesn't seem to be
> working with my SVN working copy which is located on a shared network drive
> that I access via a UNC path (i.e. \\server\share)
>
> When I create a new project pointed to the UNC working copy path, it
> realizes that it's a SVN working copy, but is unable to detect the status
> (up-to-date, modified, etc.) of the files.
>
> However, if I create a new project pointed to a mapped drive (which is
> pointed to the same UNC path) then everything works as expected.
>
> I've attached some screenshots showing my projects (a UNC project and a
> mapped drive project) along with their respective project properties.
>
> Any ideas why Subclipse no longer seems to work with a UNC path? Let me
> know if you need any additional details.
>
> --------------------​--------------------​--------------
>
> http://subclipse.tig​ris.org/ds/viewMessa​ge.do?dsForumId=1047​&dsMessageId=316​7134
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe@su​bclipse.tigris.org].​




--
Thanks

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

[Subclipse-users] Subclipse not working in Mars with UNC working copy

Author richarddavies
Full name Richard Davies
Date 2016-03-24 11:53:35 PDT
Message I've been successfully using Subclipse with Eclipse Kepler Service Release 2 on Windows 7.

I'd like to upgrade to a newer version of Eclipse and have downloaded and installed Eclipse Mars.2 (4.5.2). I've installed Subclipse from http://subclipse.tig​ris.org/update_1.12.​x but it doesn't seem to be working with my SVN working copy which is located on a shared network drive that I access via a UNC path (i.e. \\server\share)

When I create a new project pointed to the UNC working copy path, it realizes that it's a SVN working copy, but is unable to detect the status (up-to-date, modified, etc.) of the files.

However, if I create a new project pointed to a mapped drive (which is pointed to the same UNC path) then everything works as expected.

I've attached some screenshots showing my projects (a UNC project and a mapped drive project) along with their respective project properties.

Any ideas why Subclipse no longer seems to work with a UNC path? Let me know if you need any additional details.
Attachments
Messages per page: