You are not logged in.

#1 2008-08-16 14:13:10

codernem
Member
Registered: 2008-01-20
Posts: 9

Eclipse 3.4 and Subclipse

Hi all!

After upgrading Eclipse from 3.3 to 3.4 with all packages (including eclipse-subclipse 1.4.3-1), the Subclipse plugin has stopped working.

Inside Eclipse->Window->Preferences->Team tab->SVN, either JavaHL and SVNKit are stated as "Not Available". On the Subclipse project page I found that:

Subclipse 1.4.x requires Subversion 1.5.0 version of JavaHL/SVNKit

Archlinux ships version 1.4.6 of Subversion, while 1.5.1 is out.

Has anyone a solution for this that is not rebuilding subversion with abs? tongue

Cheers,

Dario

Offline

#2 2008-08-16 15:16:34

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: Eclipse 3.4 and Subclipse

You could try to install SVNKit 1.2.0 Beta from http://svnkit.com/download.php

I'm afraid you'll have to use the eclipse update manager...
Edit or make an SVNKit package.

Personally I would build a subversion 1.5.1 package tongue

Last edited by Garns (2008-08-16 15:17:15)

Offline

#3 2008-08-20 20:39:26

codernem
Member
Registered: 2008-01-20
Posts: 9

Re: Eclipse 3.4 and Subclipse

With subversion 1.5.1 is going all right! cool

Edit: built with abs, sure wink

Last edited by codernem (2008-08-20 20:41:03)

Offline

#4 2008-08-22 18:46:17

xia0er
Member
Registered: 2008-03-24
Posts: 5

Re: Eclipse 3.4 and Subclipse

Would you share your PKGBUILD?  I'm not sure whether I still need the neon patch.

codernem wrote:

With subversion 1.5.1 is going all right! cool

Edit: built with abs, sure wink

Offline

#5 2008-08-24 18:07:30

codernem
Member
Registered: 2008-01-20
Posts: 9

Re: Eclipse 3.4 and Subclipse

I don't know if neon patch is needed, I comment it out, as you can see. In Eclipse I can update/commit/add etc...

I hope it can help.

# $Id: PKGBUILD 4787 2008-07-10 09:20:42Z pierre $
# Contributer: Jason Chu <jason@archlinux.org>
# Maintainer: Jason Chu <jason@archlinux.org>
pkgname=subversion
pkgver=1.5.1
pkgrel=1
pkgdesc="Replacement for CVS, another versioning system (svn)"
arch=(i686 x86_64)
license=('apache' 'bsd')
depends=('neon>=0.28.2-2' 'apr-util>=1.3.2-2')
makedepends=('heimdal>=1.2' 'db>=4.7' 'apache>=2.2.9-3' 'python>=2.5.2-4'
             'perl>=5.10.0-3' 'swig>=1.3.31' 'jdk' 'jre' 'ruby'
             'autoconf')
source=(http://svn.collab.net/tarballs/${pkgname}-${pkgver}.tar.gz
        svnserve svn svnserve.conf subversion-neon.patch)
md5sums=('37533b0435caaa3e4e1be359389fcbb9'
         'c5a2e490b3e58c6bd2ca3a2e72b71845'
         'a0db6dd43af33952739b6ec089852630'
         'c459e299192552f61578f3438abf0664'
         'f869289684b394840e10908c89460303')
backup=('etc/xinetd.d/svn' 'etc/conf.d/svnserve')
url="http://subversion.tigris.org/"
provides=('svn')
options=('!makeflags' 'libtool')

build() {
   cd $startdir/src/${pkgname}-${pkgver}

   [ -z "${J2REDIR}" ] && . /etc/profile.d/jre.sh
   [ -z "${J2SDKDIR}" ] && . /etc/profile.d/jdk.sh

   # patch from gentoo
   # patch -Np1 -i $startdir/src/subversion-neon.patch

   sed -e 's/\(NEON_ALLOWED_LIST=.* 0.26.4\)"/\1 0.27.2 0.28.0 0.28.1 0.28.2"/' -i configure.in

#   libtoolize --force --copy
#   aclocal -I build/ac-macros
#   autoconf

   autoreconf
   ./configure --prefix=/usr --with-apr=/usr --with-apr-util=/usr --with-zlib=/usr --with-neon=/usr --with-apxs --enable-javahl --with-jdk=/opt/java

   (make external-all && make LT_LDFLAGS="-L$Fdestdir/usr/lib" local-all ) || return 1

   export LD_LIBRARY_PATH=$startdir/pkg/usr/lib:$LD_LIBRARY_PATH
   make DESTDIR=$startdir/pkg install || return 1

   make DESTDIR=$startdir/pkg swig-py || return 1
   make install-swig-py DESTDIR=$startdir/pkg || return 1

   mkdir -p $startdir/pkg/usr/lib/python2.5
   mv $startdir/pkg/usr/lib/svn-python/ $startdir/pkg/usr/lib/python2.5/site-packages


   mkdir -p $startdir/pkg/usr/share/subversion
   install -d -m 755 tools/hook-scripts $startdir/pkg/usr/share/subversion/
   rm -f $startdir/pkg/usr/share/subversion/hook-scripts/*.in

   make DESTDIR=$startdir/pkg swig-pl || return 1
   make install-swig-pl DESTDIR=$startdir/pkg INSTALLDIRS=vendor || return 1
   rm -f $startdir/pkg/usr/lib/perl5/vendor_perl/auto/SVN/_Core/.packlist
   rm -rf $startdir/pkg/usr/lib/perl5/core_perl

   make DESTDIR=$startdir/pkg swig-rb || return 1
   make install-swig-rb DESTDIR=$startdir/pkg  || return 1

   make DESTDIR=$startdir/pkg javahl || return 1
   make DESTDIR=$startdir/pkg install-javahl || return 1

   mkdir -p $startdir/pkg/etc/rc.d
   mkdir -p $startdir/pkg/etc/xinetd.d
   mkdir -p $startdir/pkg/etc/conf.d

   install -m 755 $startdir/src/svnserve $startdir/pkg/etc/rc.d
   install -m 644 $startdir/src/svn $startdir/pkg/etc/xinetd.d
   install -m 644 $startdir/src/svnserve.conf $startdir/pkg/etc/conf.d/svnserve
   install -m 755 $startdir/src/subversion-$pkgver/contrib/client-side/svnmerge.py $startdir/pkg/usr/bin/svnmerge
   install -D -m 644 $startdir/src/subversion-$pkgver/COPYING $startdir/pkg/usr/share/licenses/$pkgname/LICENSE

   #libtoolslay not all because of kdesdk
   find ${startdir}/pkg/usr/lib/httpd/modules -name '*.la' -exec rm {} \;
   find ${startdir}/pkg/usr/lib/ruby -name '*.la' -exec rm {} \;
   find ${startdir}/pkg/usr/lib/python2.5 -name '*.la' -exec rm {} \;
}

Offline

#6 2012-01-12 08:16:07

Syntaxeus
Member
Registered: 2008-10-04
Posts: 18

Re: Eclipse 3.4 and Subclipse

Make sure that the Subclipse version you are running matches the Subversion version: http://subclipse.tigris.org/servlets/Pr … eID=p4wYuA

Offline

#7 2012-01-12 08:53:57

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 6,717

Re: Eclipse 3.4 and Subclipse

Syntaxeus wrote:

Make sure that the Subclipse version you are running matches the Subversion version: http://subclipse.tigris.org/servlets/Pr … eID=p4wYuA

Make sure you check the dates on a thread before replying to it, this is more than 3 years old! Closing for necro.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB