Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the default project directory (folder) in Netbeans 6.9?

How to change the default project directory in Netbeans 6.9 for Java SE\ME\EE?

like image 359
battistis Avatar asked Jun 19 '10 22:06

battistis


People also ask

How do I change the default project location in NetBeans?

Edit the file C:\Users\\AppData\Roaming\NetBeans\8.2. 0\config\Preferences\org\netbeans\modules\projectui\groups\. properties. Change the path entry to the new location.

Where does NetBeans store project files?

Under the project name that interest you, go in the "src" folder. All your java files should be there. Save this answer.

How do I change a folder name in NetBeans?

Navigate to the Project window, right-click on the project name, RenamingElements, and choose Rename…. Under Project Name enter FileSystem and tick Also Rename Project Folder; after that, click on Rename.

What is working directory in NetBeans?

In Netbeans, the working directory is typically the root directory of the project (which contains the src and nbproject folder), but this can be changed via the project properties. One of the simplest ways to find the working directory at run time (this is useful for testing) is to do some thing like...


2 Answers

I don't think you can make it module-specific but you can set it as follows:

  1. Close NetBeans
  2. Find the projectui.properties file. For me (Windows) it was under C:\Documents and Settings\Catchwa\.netbeans\6.9\config\Preferences\org\netbeans\modules\projectui.properties
  3. The projectsFolder=C:\\NetBeansProjects variable is I think what you want to change.
like image 131
Catchwa Avatar answered Sep 19 '22 08:09

Catchwa


I found mine in a slightly different location (Windows 7 64-bit using Netbeans 7.2):

C:\Users\UserName\AppData\Roaming\NetBeans\7.2\config\Preferences\org\netbeans\modules\projectui.properties

like image 29
FirasR Avatar answered Sep 19 '22 08:09

FirasR