Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
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 Go to next message
Malis Ung is currently offline Malis UngFriend
Messages: 7
Registered: July 2009
Junior Member
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
than subclipse).
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
this matter.
Any ideas?
Thanks in advance for your help!
Re: Checkout data does not replace the local resources by the ones of the repository [message #35922 is a reply to message #35888] Fri, 17 October 2008 13:01 Go to previous messageGo to next message
Alexei Goncharov is currently offline Alexei GoncharovFriend
Messages: 35
Registered: July 2009
Member
Hello.

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
replacement.

Do you mean that you don't even get such dialog?

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)?

Best regards, Alexei Goncharov.
Subversive Team.
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 Go to previous messageGo to next message
Malis Ung is currently offline Malis UngFriend
Messages: 7
Registered: July 2009
Junior Member
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
> replacement.
> 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
java project.
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
repository.

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!
Regards,

Malis
Re: Checkout data does not replace the local resources by the ones of the repository [message #36124 is a reply to message #36091] Mon, 20 October 2008 08:01 Go to previous message
Malis Ung is currently offline Malis UngFriend
Messages: 7
Registered: July 2009
Junior Member
Oups, I have forgotten to specify the following information (if that can
help):
Windows XP SP2
Eclipse SDK

Version: 3.4.1
Build id: M20080911-1700

Eclipse.org Subversive Integration for the Mylyn Project (Incubation):
0.7.3.I20080814-1500
Eclipse.org Subversive JDT Ignore Extensions (Incubation):
0.7.3.I20080814-1500
Eclipse.org Subversive SVN Team Provider (Incubation): 0.7.4.I20081001-1900
Eclipse.org Subversive SVN Team Provider Localization (Incubation):
0.7.3.I20080814-1500

Polarion Software JavaHL 1.4.5 Win32 Binaries: 2.0.4.I20081001-1900
Polarion Software JavaHL 1.5.0 Win32 Binaries: 2.0.4.I20081001-1900
Polarion Software Subversive SVN 1.4 JavaHL Connector: 2.0.4.I20081001-1900
Polarion Software Subversive SVN 1.4 Kit Connector: 2.0.4.I20081001-1900
Polarion Software Subvervise SVN 1.5 JavaHL Connector: 2.0.4.I20081001-1900
Polarion Software Subversive SVN 1.5 SVN Kit Connector:
2.0.4.I20081001-1900
Polarion Software Subversive SVN Connectors: 2.0.4.I20081001-1900

tigris.org Subclipse Integration for Mylyn 3.x: 3.0.0
tigris.org Subversion Client Adapter: 1.5.2
tigris.org Subversion JavaHL: 1.5.3
tigris.org SVN Team Provider Core: 1.4.5
tigris.org SVNKit Client Adapter: 1.5.2

Thanks in advance for your help!
Previous Topic:Disabling automatic svn:mime-type text/plain
Next Topic:How to setup a default SVN repository for a product
Goto Forum:
  


Current Time: Fri Apr 26 18:08:35 GMT 2024

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

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

Back to the top