This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

moving Netbeans classpath from network drive to local (C) drive

 
Anne M Crace
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have already move the entire documents directory which includes my NetBeans project directory. I am hoping to find an easier way than editing all of the ant files. I am trying to work from home and would really prefer my Netbeans directory be local anyway because it's faster, and they manage to change the permissions on my H drive to Read Only causing my compilation problems. I have tried creating new project from existing source but Netbeans won't let me because the source is already tied to the other project. I am very hesitant to delete the existing project.
 
Martin Vajsar
Sheriff
Pie
Posts: 3747
62
Chrome Netbeans IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have a full path stored somewhere in the build scripts or configuration, then you'll have to change them - I don't think there is any way to go around it. However, as these are text files and "H:\" will be pretty unique, just searching for all occurrences of H:\ and manually changing them shouldn't be that much work. However, I'd suggest to use relative paths instead of absolute ones in your project - that way if won't have to change the paths again the next time you move it.

You'd also be better off using a version control software, so that you'd be able to undo possible mistakes you might do. If you don't use version control right now, at least make a backup of your project before starting the changes.

If you encounter any specific problem while changing the paths, please post a more specific question.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic