Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

change svn path

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi ranchers

I have a project in netbeans with svn repository but I need to change the ip of the svn server, how can i do that ?

Thanks in advance
 
Saloon Keeper
Posts: 24825
172
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unless you find something in the svn book, there's only one "safe" way to do that. You push the old project out of the way and check out a fresh copy from the new server, then merge any updates. If your sysadmin is co-operative, he/she might be able to save you work by letting you check into your old project server and then move the archive to the new server where you can check it out without having to merge.

Both CVS and Subversion maintain server info at all levels of a checked-out project. In CVS it's safe to modify that info by brute force, but I'm not sure about Subversion.

At any rate, I think you've discovered why I'm a firm believer in accessing services via a meaningful hostname (e.g. svn.apache.org) instead of an IP address. If the IP address changes, but you've checked out using a hostname, you don't get this sort of trouble providing that nobody changes the hostname and DNS gets updated.

As an aside, you can retarget source archive servers in Eclipse projects under CVS. Eclipse notices the new address and asks whether you want to update your project. Eclipse makes CVS almost civilized. Now if someone would just tweak their subversion plugin to be equally civilized...
 
Carlos G�mez
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you tim
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic