Skip to main content



      Home
Home » Eclipse Projects » Subversive » Import relocated projects fails
Import relocated projects fails [message #38603] Wed, 03 December 2008 01:56 Go to next message
Eclipse UserFriend
I've got a multi-module Maven project (and its nested modules) that I
have relocated from one SVN repo to another. As I didn't see a feature
to do this with Subversive I deleted the projects from Eclipse (but not
the filesystem) and used TortoiseSVN to Relocate the files from one repo
to another.

This seemed to work fine. Then I tried to import the projects back into
Eclipse. m2eclipse asks me to use Import Maven Projects in order to
properly manage the multi-module nature of my projects (they are
nested). But Subversive says (here:
< http://www.eclipse.org/subversive/documentation/faq.php#chec ked>) that
in order to connect projects up to a repo that have metadata from a
non-Eclipse Subversion tool I must do an import, which I can't do
because I am doing m2eclipse's import.

Why does Subversive require that I import the projects in order to
attach them? Importing in the fashion suggested by Subversive's FAQ
doesn't seem to be possible since m2eclipse has trouble applying itself
to projects that are already imported via another means (somewhat
understandable given the hoops that have to be jumped through to make
nested projects work in Eclipse) while I don't see any technical reason
why Subversive requires an import to attach projects to a repo, even if
metadata has to be updated.

-jeff
Re: Import relocated projects fails [message #38636 is a reply to message #38603] Wed, 03 December 2008 11:38 Go to previous messageGo to next message
Eclipse UserFriend
I have found that many of the features in Subversive do not work
consistently with multimodule Maven projects. I have been using command
line Subversion client to deal with these cases. Once a multimodule Maven
project is imported via command line it appears to work okay with
Subversive.
Re: Import relocated projects fails [message #38690 is a reply to message #38636] Wed, 03 December 2008 12:15 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the information. I used TortoiseSVN to make the repo switch
but can't successfully import my projects and retain both Maven and Svn
behavior.

Subversive team--are you testing the plugins against multi-module Maven
builds, both flat structure and hierarchical?

-jeff

podensk wrote:
> I have found that many of the features in Subversive do not work
> consistently with multimodule Maven projects. I have been using command
> line Subversion client to deal with these cases. Once a multimodule
> Maven project is imported via command line it appears to work okay with
> Subversive.
>
Re: Import relocated projects fails [message #39861 is a reply to message #38603] Wed, 24 December 2008 07:07 Go to previous messageGo to next message
Eclipse UserFriend
Hello Jeff,

1. You can relocate the project in the following way: in SVN Repositories
view find the project location which corresponds to the project and change
its url to needed one. I just tried it and found several problems (and a
workaround) related to relocation, for more details, please see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=259626

2.>Why does Subversive require that I import the projects in order to
> attach them?
This statement assumed that you don't have the project in Eclipse and so at
first you need to add it to Eclipse and then it can be automatically shared
by Subversive (depending on "Enable automatic project share" flag in
Subversive preferences). Of course, you can import project through m2eclipse
and then share it with SVN.

> I've got a multi-module Maven project (and its nested modules) that I have
> relocated from one SVN repo to another. As I didn't see a feature to do
> this with Subversive I deleted the projects from Eclipse (but not the
> filesystem) and used TortoiseSVN to Relocate the files from one repo to
> another.
>
> This seemed to work fine. Then I tried to import the projects back into
> Eclipse. m2eclipse asks me to use Import Maven Projects in order to
> properly manage the multi-module nature of my projects (they are nested).
> But Subversive says (here:
> < http://www.eclipse.org/subversive/documentation/faq.php#chec ked>) that in
> order to connect projects up to a repo that have metadata from a
> non-Eclipse Subversion tool I must do an import, which I can't do because
> I am doing m2eclipse's import.
>
> Why does Subversive require that I import the projects in order to attach
> them? Importing in the fashion suggested by Subversive's FAQ doesn't seem
> to be possible since m2eclipse has trouble applying itself to projects
> that are already imported via another means (somewhat understandable given
> the hoops that have to be jumped through to make nested projects work in
> Eclipse) while I don't see any technical reason why Subversive requires an
> import to attach projects to a repo, even if metadata has to be updated.
>
> -jeff
Re: Import relocated projects fails [message #39891 is a reply to message #38636] Wed, 24 December 2008 07:09 Go to previous message
Eclipse UserFriend
Hello podensk,

Could you please describe in more detail what exact problems do you have
with Subversive and Maven multimodule projects?

>I have found that many of the features in Subversive do not work
>consistently with multimodule Maven projects. I have been using command
>line Subversion client to deal with these cases. Once a multimodule Maven
>project is imported via command line it appears to work okay with
>Subversive.
>
Previous Topic:Subversive Project Page: Repository link wrong
Next Topic:0.7.6 connectors won't install when MyEclipse 7 is installed
Goto Forum:
  


Current Time: Fri May 09 01:01:30 EDT 2025

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

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

Back to the top