Eclipse and Subversion (was Re: rebuild world)

Jay Sachs jay+macports at covariant.org
Thu Sep 11 09:56:53 PDT 2008


My guess is that you need to find a way to get the Subversion Client  
Adapter and SVN Native Library Adapter 1.5.2 plugins installed. It  
likely works for me since my SVN and plugins are all synced to 1.5.1.

On Sep 11, 2008, at 12:15 PM, Troy Daley wrote:

> Here's mine...
>
>
> Mac OS X 10.5.4 (Intel)
> Eclipse 3.4.0 - build I20080617-2000
> Subclipse 1.4.4
> Subversion Client Adapter 1.5.1
>
> in MacPorts:
>   subversion @1.5.2_1+bash_completion+tools (active)
>   subversion-javahlbindings @1.5.2_0 (active)
>
> -troy
>
>
> On Thu, Sep 11, 2008 at 10:03 AM, Frank Schima <macsforever2000 at macports.org 
> > wrote:
> Here's my details:
>
> Mac OS X 10.5.4 (Intel)
> Eclipse 3.4.0I20080607-2000
> Subclipse 1.4.4
> Subversion Client Adapter 1.5.1
>
> in MacPorts:
>   subversion @1.5.2_1+bash_completion+tools (active)
>   subversion-javahlbindings @1.5.2_0 (active)
>   subversion-perlbindings @1.5.2_0 (active)
>
> Note that I just now installed the subversion-perlbindings and it  
> did not change anything for me.
>
> I see now that the "Subversion Native Library Adapter (JavaHL)  
> 1.5.2" available to me in Eclipse is not installed. When I try to  
> install it I get the following error:
>
> Cannot complete the request.  See the details.
> Format error in file: /tmp/p2Encoding31489.opb.
>
> That file does not exist in my tmp directory. Any ideas how to get  
> this plug-in installed?
>
>
> Thanks!
> Frank
>
> On Sep 11, 2008, at 7:56 AM, Jay Sachs wrote:
>
>> Just to add some more data points. First, "it works for me". I'm  
>> runing OS/X 10.5.4, Eclipse 3.4.0I20080607-2000, Subclipse 1.4.2,  
>> Subversion Client Adapter  1.5.1, Subversion Native Library Adapter  
>> 1.5.1. Via MacPorts, I have installed:
>>
>>  subversion @1.5.1_0 (active)
>>  subversion-javahlbindings @1.5.1_0 (active)
>>  subversion-perlbindings @1.5.2_0 (active)
>>
>> Subversion and the javahlbindings were installed on August 1  
>> (almost certainly after an immediately preceding `port sync`).
>>
>> What are the differences you guys might notice between your systems  
>> and this?
>>
>> On Sep 10, 2008, at 12:24 PM, Troy Daley wrote:
>>
>>> I have 2 options in the "SVN interface" section under Preferences- 
>>> >Team->SVN:
>>>
>>> JavaHL (JNI) Not Available
>>> SVNKit (Pure Java) SVNKit v1.2..0.4710
>>>
>>> Generally, the JavaHL option works better for me (it is faster),  
>>> however as you can see it's "Not Available"  So I use the SVNKit  
>>> option, which I believe is an optional plugin under the subclipse  
>>> plugin.  If you look at the update site subclipse.tigris.org/ 
>>> update_1.4.x there is an "SVNKit Adapter BETA (optional)" option.   
>>> Seems to work, but it's slow for me.
>>>
>>> Hope that helps, and sorry for the eclipse clutter in the macports  
>>> list.
>>>
>>> troy
>>>
>>> On Wed, Sep 10, 2008 at 10:46 AM, Frank Schima <macsforever2000 at macports.org 
>>> > wrote:
>>> Hi Troy,
>>>
>>>
>>>
>>> On Sep 10, 2008, at 7:15 AM, Troy Daley wrote:
>>>
>>> I'm using eclipse with subclipse (the Subversion plugin).  There  
>>> is an option to use JavaHL bindings (macports port subversion- 
>>> javahlbindings) to call out to the subversion client on your  
>>> machine, rather than use the pure java client which we've had  
>>> speed issues with.  Normally, the plugin will detect JavaHL and  
>>> present it as an option.  This used to work for me, but it stopped  
>>> working some time ago as I updated subversion and subversion- 
>>> javahlbindings.  While svn works fine from the command line, and  
>>> all of the expected libraries are present and in the correct place  
>>> for the subversion-javahlbindings project, it still doesn't work.
>>>
>>> I spoke to the subclipse maintainer and he agreed that everything  
>>> appears to be in the correct place, but it looks like the  
>>> subclipse code is having problems loading those libraries.  He  
>>> hyphothisised that it may be due to dependency issues with the  
>>> bindings package.  Now it so happens that I went through force  
>>> removed inactive packages and I wondered if I had broken  
>>> something.  So I just wanted to go back through and rebuild  
>>> everything to guarentee that dependencies weren't an issue, which  
>>> is why I was asking about a sanity check or a rebuild world command.
>>>
>>> I doubt that this is a macports issue at all, and I don't expect  
>>> this list to help me with eclipse issues, which is why I didn't  
>>> elaborate in my previous email.  I was just hoping to rule out  
>>> macports as an issue in this case.
>>>
>>> FWIW, I am also using Eclipse with the subclipse plug-in and the  
>>> MacPorts version of subversion (with subversion-javahlbindings). I  
>>> have the exact same problem with it - and I also just use the  
>>> command line. So I don't think anything is wrong with your  
>>> MacPorts setup, but I do think that something may be wrong the  
>>> subversion-javahlbindings port.
>>>
>>> I'm curious that you mentioned using the pure Java client. In the  
>>> Eclipse preferences, under Team->SVN I am not able to select any  
>>> client in the popup menu - it is active but there is nothing to  
>>> choose! Is that not true for you?
>>>
>>>
>>> Cheers!
>>> Frank
>>>
>>>
>>> _______________________________________________
>>> macports-users mailing list
>>> macports-users at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>>
>
>



More information about the macports-users mailing list