SVN externals [message #48759] |
Tue, 07 July 2009 18:22  |
Eclipse User |
|
|
|
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 11:17   |
Eclipse User |
|
|
|
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 06:43   |
Eclipse User |
|
|
|
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 #49493 is a reply to message #49306] |
Sat, 18 July 2009 11:48  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.06422 seconds