Home » Eclipse Projects » Subversive » Checkout data does not replace the local resources by the ones of the repository
|Checkout data does not replace the local resources by the ones of the repository [message #35888]
||Fri, 17 October 2008 11:16
| Malis Ung
Registered: July 2009
Hi subversive gurus!|
I am a new user of subversive, well, actually, I am right now trying to
compare the pros and cons between subversive and subclipse.
And other than the fact that it is really really complicated and costs so
much time for installing / updating the subversive plugin, I am faced with
a problem that can lead me to choose subclipse over subversive (though I
have to confess, subversive looks nicer and offers more functionalities
Here is my problem: on my repository, I have a java project which includes
of course my source files, reference jar files and a .classpath which
encloses the correct classpath settings for using my project right away
without having to configure the classpath after the checkout process.
Now, if I use subclipse, everything works great! When I checkout this
project, I have a messagebox warning me that "the project you created,
testproject, contains resources other than the standard .project file. If
any of those resources have the same name and relative location of a
resource you are checking out, the local resource will be replaced with
the resource from the repository". When I click "OK", my project is
imported and my classpath is all set!
But, when I do exactly the same with subversive, I do not get this
messagebox at all... and worse, the .classpath of the repository is
replaced by the one created automatically by eclipse, which means that:
- my classpath is not set at all (well, only with the default values
created by eclipse)
- I have this small icon indicating me that there is a difference between
my working copy (my java project) and the repository (of course!)
And this can only be solved by doing a Team --> Revert.
This may be a small thing to do, but it's a pain! This complicates the
whole process of checking out.
And as it is right now, this can be one reason that would make us (my team
and me) use subclipse instead of subversive.
However, just to be sure, I wanted to know if there was actually a
setting, a tweak so that subversive would actually work like subclipse on
Thanks in advance for your help!
|Re: Checkout data does not replace the local resources by the ones of the repository [message #36091 is a reply to message #35922]
||Mon, 20 October 2008 07:41
| Malis Ung
Registered: July 2009
Hello Subversive Team!|
Thanks for the prompt answer. Sorry for replying only today... I did not
have access to internet this week-end.
> The fact is that if the project (or even folder) with the same name
> already exists on the file system the dialog is shown to confirm the
> Do you mean that you don't even get such dialog?
Yes, that is exactly the problem. I do not get this dialog box, and
therefore, my local files are not replaced by the ones of the repository.
> Can you also please tell us, how do you perform a check-out? With shortcut
> action or going through a wizard? Does the project on the repository has
> the .project file (really an eclipse project)?
Here's what I do for a check-out:
On the "SVN Repository Exploring" perspective, I do a right-click on the
project, and in the sub-menu, I select "Find/Check Out As...".
In the "Check Out As" window, I leave the default values ("Check out as a
project configured using the New Project Wizard", Depth="Recursively" and
checkbox "Ignore externals" unchecked), and I click on the button "Finish".
After that, I select the "Java Project" and click on "Next".
I enter the project name, select the correct JDK, and select "Create
separate folders for sources and class files", and click on "Finish".
And that's it. The files are then checked out on my workspace as a new
The .settings and bin folders, as well as the .project and .classpath on
my working copy are created by Eclipse. The .classpath is actually the one
automatically created by Eclipse, and not the one I have on my subversion
However, no, the project on the subversion repository does not contain the
project. I have only decided to add the .classpath to the version
control, and not the .project file as I figured that my colleagues on my
team would probably choose different names when checking-out the projects.
Is that the reason why this does not work? Because I do not have the
project file on the project repository?
But if so, how come this does work with Subclipse and not with Subversive?
Thanks for your help!
Current Time: Tue Mar 28 17:55:09 GMT 2017
Powered by FUDForum
. Page generated in 0.02448 seconds