Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » import -> existing project and .svn information?
import -> existing project and .svn information? [message #526567] Mon, 12 April 2010 09:31 Go to next message
Kristian Rink is currently offline Kristian RinkFriend
Messages: 36
Registered: July 2009
Member
Folks;

using RAP/RCP and single-sourcing layout, there are some plug-in
projects I keep in a separated folder and just "import" -> "existing
project" into my RCP / RAP workspaces as desired. Problem is, however:
These projects live in an SVN repository, and when importing an existing
project into a workspace, it seems that even though the project has
".svn" metadata in it, these metadata are ignored by the IDE and the
project can't be updated / commited using the Eclipse Team tooling.

Is there any way of changing that? Is this a bug or an intended feature?
Running 3.5.2 on Ubuntu Linux...

TIA and all the best,
Kristian
Re: import -> existing project and .svn information? [message #528325 is a reply to message #526567] Tue, 20 April 2010 07:47 Go to previous messageGo to next message
Igor Burilo is currently offline Igor BuriloFriend
Messages: 435
Registered: July 2009
Senior Member
Hello Kristian,

Please, check whether you have an enabled 'Enable automatic project share'
option in Subversive preferences (Window/Preferences/Team/SVN), this option
manages automatic project share.
Anyway if you already imported project but it's not automatically shared you
can share it in the following way: select project and call Team/Share
Project action, then select 'Use project settings' option.

> Folks;
>
> using RAP/RCP and single-sourcing layout, there are some plug-in projects
> I keep in a separated folder and just "import" -> "existing project" into
> my RCP / RAP workspaces as desired. Problem is, however: These projects
> live in an SVN repository, and when importing an existing project into a
> workspace, it seems that even though the project has ".svn" metadata in
> it, these metadata are ignored by the IDE and the project can't be updated
> / commited using the Eclipse Team tooling.
>
> Is there any way of changing that? Is this a bug or an intended feature?
> Running 3.5.2 on Ubuntu Linux...
>
> TIA and all the best,
> Kristian
Re: import -> existing project and .svn information? [message #530594 is a reply to message #528325] Fri, 30 April 2010 09:04 Go to previous messageGo to next message
Kristian Rink is currently offline Kristian RinkFriend
Messages: 36
Registered: July 2009
Member
Hi there;

and first off, even though it took some time, thanks a bunch for your
response to that. Had some time looking into this, here's what I figured
out:

Am 20.04.2010 09:47, schrieb Igor Burilo:
> Please, check whether you have an enabled 'Enable automatic project share'
> option in Subversive preferences (Window/Preferences/Team/SVN), this option
> manages automatic project share.

This option seems to be enabled by default, at least it is enabled in my
configuration.

> Anyway if you already imported project but it's not automatically shared you
> can share it in the following way: select project and call Team/Share
> Project action, then select 'Use project settings' option.

Tried so, but I don't "see" this option, the whole "share project"
action is about to guide me through importing a new project into SVN.
Which is not what I want. By the way does this procedure work with
projects imported into a workspace without actually being copied there?
I want to have my "shared" code (used in several workspaces) in a
"shared" location as well without explicitely copying it into the
different workspaces...

TIA and all the best,
K.
Re: import -> existing project and .svn information? [message #531487 is a reply to message #530594] Wed, 05 May 2010 08:23 Go to previous messageGo to next message
Igor Burilo is currently offline Igor BuriloFriend
Messages: 435
Registered: July 2009
Senior Member
Hello Kristian,

As I checked it correctly works: if you don't copy project into a
workspace while importing it. I suppose that problem could be in that
SVN connector in your workspace can't work with working copy format of
the project, e.g. in Eclipse you have connector which works with SVN 1.5
format but the project has SVN 1.6 format.

> Hi there;
>
> and first off, even though it took some time, thanks a bunch for your
> response to that. Had some time looking into this, here's what I figured
> out:
>
> Am 20.04.2010 09:47, schrieb Igor Burilo:
>> Please, check whether you have an enabled 'Enable automatic project
>> share'
>> option in Subversive preferences (Window/Preferences/Team/SVN), this
>> option
>> manages automatic project share.
>
> This option seems to be enabled by default, at least it is enabled in my
> configuration.
>
>> Anyway if you already imported project but it's not automatically
>> shared you
>> can share it in the following way: select project and call Team/Share
>> Project action, then select 'Use project settings' option.
>
> Tried so, but I don't "see" this option, the whole "share project"
> action is about to guide me through importing a new project into SVN.
> Which is not what I want. By the way does this procedure work with
> projects imported into a workspace without actually being copied there?
> I want to have my "shared" code (used in several workspaces) in a
> "shared" location as well without explicitely copying it into the
> different workspaces...
>
> TIA and all the best,
> K.


--
Best regards,
Igor Burilo
Re: import -> existing project and .svn information? [message #538543 is a reply to message #531487] Mon, 07 June 2010 22:19 Go to previous messageGo to next message
Sprocko  is currently offline Sprocko Friend
Messages: 2
Registered: June 2010
Junior Member
Igor,

I'm having the same problem as Kristian and none of your suggestions worked for me either. Are there any other options?
Re: import -> existing project and .svn information? [message #539247 is a reply to message #538543] Thu, 10 June 2010 07:33 Go to previous messageGo to next message
Igor Burilo is currently offline Igor BuriloFriend
Messages: 435
Registered: July 2009
Senior Member
Hello,

Do you have an enabled 'Use project settings' option when you call Share
Project action? If not, please check your SVN connector version in SVN
preferences, you can switch connector for SVN 1.6 and try again, if it
doesn't help then as a workaround you can re-checkout the project.

> Igor,
>
> I'm having the same problem as Kristian and none of your suggestions
> worked for me either. Are there any other options?


--
Best regards,
Igor Burilo
Re: import -> existing project and .svn information? [message #539378 is a reply to message #539247] Thu, 10 June 2010 15:05 Go to previous message
Sprocko  is currently offline Sprocko Friend
Messages: 2
Registered: June 2010
Junior Member

Thanks Igor,

I was using SVN 1.5. After updating to SVN 1.6 I was able to select that 'Use project settings' in the 'Share Project' window and Eclipse was able to read in an existing project already in SVN and recognise the existing SVN history, etc.

Thanks again!
Previous Topic:help: .classpath and .project problems
Next Topic:Team Project Set XML Format?
Goto Forum:
  


Current Time: Fri Apr 26 23:43:04 GMT 2024

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

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

Back to the top