• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 3837
66
Netbeans IDE Oracle Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 want my playground back. Here, I'll give you this tiny ad for it:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic