aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes eclipse3, svn and synchronization Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse3, svn and synchronization" Watch "eclipse3, svn and synchronization" New topic
Author

eclipse3, svn and synchronization

Rudy Koento
Greenhorn

Joined: Aug 16, 2004
Posts: 7
Hi,

I'm using eclipse 3.0 to do my PHP development. What I usually do is to check out my code from the subversion repository, putting it into the eclipse's workspace directory and start coding.

Now, after I make some changes and ftp those changes to the web server, those ".svn" files are in the synchronization list. This is not the case with eclipse 2.1. I do not want to synchronize ".svn" folders. I've tried to put ".svn" in the Preferences->Team->Ignored Resources, but it's not working.


Anyone has experience this?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30506
    
150

Rudy,
Welcome to JavaRanch!

One thing I noticed is that if the file is already in version control, Eclipse doesn't let you ignore it. If that is the case, delete the files from the stream and then enable the ignore option.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Rudy Koento
Greenhorn

Joined: Aug 16, 2004
Posts: 7
But the ".svn" directory is created by the version control itself. Maybe I didn't say it previously, but I didn't use eclipse to do checkout/check in etc. I use console to do that (because the eclipse plugin for subversion is not really stable IMHO).

So that's why maybe eclipse doesn't allow me to ignore ".svn"... so that means in the mean time, I should revert to eclipse 2.1?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30506
    
150

I didn't realize that's what the files are for. Yes, it looks like you will have to wait for a more stable plugin.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
I am using the svn plugin for Eclipse 3.0 at home and didn't notice any problems.

If you don't use Eclipse for svn access at all, why do you use the synchronize view???


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Rudy Koento
Greenhorn

Joined: Aug 16, 2004
Posts: 7
Whoops... how silly of me for not stating that I'm using eclipse's sftp plugin (from www.klomp.org).

So here's the full story on my development process:

1) Using console, svn checkout my project into eclipse's workspace
2) Do an import project in Eclipse
3) Do an export project in Eclipse to a sftp site
4) Make changes to the code
5) Synchronize the changes to the web server using sftp
6) Once the code is working, I'd go to console and do a svn commit

Now, the problem is, synchronize view (sync to sftp site) is also showing the ".svn" directories. I don't want to sync the ".svn" dir....

I hope my story is clear enough...
Arun Prasath
Ranch Hand

Joined: Sep 17, 2003
Posts: 192
Originally posted by Ilja Preuss:
I am using the svn plugin for Eclipse 3.0 at home and didn't notice any problems.

If you don't use Eclipse for svn access at all, why do you use the synchronize view???


Can you please tell me the pluggins that are available to integrate svn with eclipse. svn4eclipse is not downloadable from svn4eclipse.tigris.org
subclipse is not stable. What I see is synchronize option is mission in the pluggin.

Any good eclipse plugins for subversion??


SCJP 1.4, SCDJWS , SCJA<br />I can do ALL things through CHRIST who strengthens me.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
As far as I know, subclipse is the only one. And it's quite stable - I don't have any problems with it. It's just that synchronization isn't yet implemented. Just use Team -> update and -> commit instead.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: eclipse3, svn and synchronization