[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Problem accessing svnclientadapter / using multiple repositories

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 5 Mar 2008 10:31:15 -0500

On Wed, Mar 5, 2008 at 9:27 AM, Konrad Jünemann <K_Juenemann_at_gmx.de> wrote:

> Question 1:
>
> I'm writing an Eclipse Plugin which uses (or should use) Subclipse. So I
> added "org.tigris.subversion.subclipse.core" to my required plug-ins.
>
> Problem: I'm unable to import any classes from
> org.tigris.subversion.svnclientadapter.*
>
> Error: "The import org.tigris.subversion.svnclientadapter cannot be
> resolved"
>
> Other classes like org.tigris.subversion.subclipse.core.SVNClientManager
> are correctly imported. Now I wonder what I am doing wrong, since
> org.tigris.subversion.svnclientadapter is marked as an exported package.
> Does it matter, that it is imported by subclipse.core as a jar?
>
> Any ideas?

This is an eclipse limitation when a plugin contains JAR's. You would
have to checkout our plugin (use the 1.2.x branch, and then this will
go away). BTW, the next release has an all new architecture and
svnclientadapter is now a plugin itself. This is reflected in our
trunk.

> Question 2:
>
> Is it possible to use different svn Repositories within only one
> Project? The "Share Project"-Wizards makes me fear not, but why?

No, you cannot. However, Subversion supports this natively by using
the svn:externals property to pull in code from other locations. Just
add a property like this to the lib folder:

name: svn:externals
value: lib-dirA url://reposA/lib
lib-dirB url://reposB/lib

etc..

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-03-05 16:31:31 CET

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.