• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

eclipse3, svn and synchronization

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
author & internet detective
Posts: 42003
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 42003
911
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
It's a tiny ad only because the water is so cold.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic