Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » SVN externals
SVN externals [message #48759] Tue, 07 July 2009 22:22 Go to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
Hi All,

I have created svn externals on my project and in future i will use this externals in many
projects more than 30.

I want to ask you if i setted up this right, because i have big red exclamation mark on
the svn:externals directory

Here is the picture:
http://img168.imageshack.us/img168/8057/svnexternals1.png

I have setted up svn:externals through TortoiseSVN and the param for svvn:externals
property looks like this:
.../../snShop/trunk/assets/snShop assets/snShop


Is externals setted up corretly ?


Thank you very much for any advices and suggestions
Re: SVN externals [message #48820 is a reply to message #48759] Wed, 08 July 2009 14:18 Go to previous messageGo to next message
Igor Burilo is currently offline Igor BuriloFriend
Messages: 435
Registered: July 2009
Senior Member
Hello sNop,

I just checked and it works.
Could you please describe you project structure and how you set externals
and I'll try it then?
Example:
Projects/
src/
com/ svn:externals: ../../resources external-resources
A.java

resources/
image.png

Also if you set up externals incorrectly, you can check errors/warnings
during checkout/update with svn command line or TortoiseSVN.

> Hi All,
>
> I have created svn externals on my project and in future i will use this
> externals in many
> projects more than 30.
>
> I want to ask you if i setted up this right, because i have big red
> exclamation mark on
> the svn:externals directory
>
> Here is the picture:
> http://img168.imageshack.us/img168/8057/svnexternals1.png
>
> I have setted up svn:externals through TortoiseSVN and the param for
> svvn:externals
> property looks like this:
> ../../snShop/trunk/assets/snShop assets/snShop
>
>
> Is externals setted up corretly ?
>
>
> Thank you very much for any advices and suggestions
Re: SVN externals [message #48909 is a reply to message #48820] Wed, 08 July 2009 15:17 Go to previous messageGo to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
Igor Burilo napsal(a):
> Hello sNop,
>
> I just checked and it works.
> Could you please describe you project structure and how you set externals
> and I'll try it then?
> Example:
> Projects/
> src/
> com/ svn:externals: ../../resources external-resources
> A.java
>
> resources/
> image.png
>

Hi Igor,

thank you for your interest.

svn external is independent project in Subversion repo
It's e-shop(module) for MODx CMS which i have programmed. For every new project/e-shop
which i will create, i will create svn externals to e-shop module, so when i will do
changes in e-shop module, every project/e-shop will have actual version of this e-shop module

My project structure is:
http://img55.yfrog.com/i/svnexternals2.png/

A) is project, where i have created svn:externals. I have created svn:externals on the
trunk folder of this project, with content:
.../../snShop/trunk/assets/snShop assets/snShop

Here are SVN Propesties for http://localhost/svn/irisparfum.eu/trunk folder:
http://yfrog.com/1jsvnexternals3p

B) is project, which is svn:externals, it's e-shop module for MODx CMS


I don't have any errors when I do update through Subversive or TortoiseSVN, everything
looks that works ok, only the big red exclamation mark on the svn:externals folder doesn't
look good.
Re: SVN externals [message #49293 is a reply to message #48909] Mon, 13 July 2009 10:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jedlicka.poll.cz

Hi, I have same problem.

I resolved to switch SVN Connector - SVNKit on version 1.1.7.
But I would like If it work version 1.2.2.

Any idea?

M.

sNop napsal(a):
> Igor Burilo napsal(a):
>> Hello sNop,
>>
>> I just checked and it works.
>> Could you please describe you project structure and how you set externals
>> and I'll try it then?
>> Example:
>> Projects/
>> src/
>> com/ svn:externals: ../../resources external-resources
>> A.java
>>
>> resources/
>> image.png
>>
>
> Hi Igor,
>
> thank you for your interest.
>
> svn external is independent project in Subversion repo
> It's e-shop(module) for MODx CMS which i have programmed. For every new project/e-shop
> which i will create, i will create svn externals to e-shop module, so when i will do
> changes in e-shop module, every project/e-shop will have actual version of this e-shop module
>
> My project structure is:
> http://img55.yfrog.com/i/svnexternals2.png/
>
> A) is project, where i have created svn:externals. I have created svn:externals on the
> trunk folder of this project, with content:
> ../../snShop/trunk/assets/snShop assets/snShop
>
> Here are SVN Propesties for http://localhost/svn/irisparfum.eu/trunk folder:
> http://yfrog.com/1jsvnexternals3p
>
> B) is project, which is svn:externals, it's e-shop module for MODx CMS
>
>
> I don't have any errors when I do update through Subversive or TortoiseSVN, everything
> looks that works ok, only the big red exclamation mark on the svn:externals folder doesn't
> look good.
Re: SVN externals [message #49306 is a reply to message #49293] Mon, 13 July 2009 16:32 Go to previous messageGo to next message
sNop is currently offline sNopFriend
Messages: 281
Registered: July 2009
Senior Member
Martin Jedlička napsal(a):
> Hi, I have same problem.
>
> I resolved to switch SVN Connector - SVNKit on version 1.1.7.
> But I would like If it work version 1.2.2.
>
> Any idea?
>
> M.
>

Hi Martin,

i'm waiting for Igor response, my SVN Connector is JavaHL 2.2.1I20090708-1500

i don't know if this behavior is ok, or if there are some potencional issues :(
Re: SVN externals [message #49493 is a reply to message #49306] Sat, 18 July 2009 15:48 Go to previous message
Igor Burilo is currently offline Igor BuriloFriend
Messages: 435
Registered: July 2009
Senior Member
Hello sNop,

It seems I know the problem and we already know about it, for more details
please see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=270022, especially
comment 6.
The problem here is not because you use ../../ in external definition,
Subversive incorrectly handles externals if in local part you have already
existing versioned folder.
Example:
Project/
src/ svn:externals: ../../snShop/trunk/assets/snShop
com/snShop
com/
Here you defined 'com/snShop' as local part and the folder 'com' is already
under version control.
It's quite complicated for resolving this problem and so we didn't yet fix
it.

If it's possible I can propose you the following workaround:
Define svn:externals not on 'trunk' folder but on 'assets' and change
externals definition, so it will look like this:
.../../../snShop/trunk/assets/snShop snShop

> Martin Jedli
Previous Topic:Subversive CVS repository
Next Topic:Ganymede SVN problems: Authenication & Random 403 errors?
Goto Forum:
  


Current Time: Thu Apr 25 13:50:13 GMT 2024

Powered by FUDForum. Page generated in 0.03525 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top