Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

eclipse3, svn and synchronization

 
Rudy Koento
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rudy Koento
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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???
 
Rudy Koento
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic