How to change the default project directory in Netbeans 6.9 for Java SE\ME\EE?
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.
Under the project name that interest you, go in the "src" folder. All your java files should be there. Save this answer.
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.
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...
I don't think you can make it module-specific but you can set it as follows:
projectui.properties
file. For me (Windows) it was under C:\Documents and Settings\Catchwa\.netbeans\6.9\config\Preferences\org\netbeans\modules\projectui.properties
projectsFolder=C:\\NetBeansProjects
variable is I think what you want to change.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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With