How to change the default Netbeans 7 project directory?

后端 未结 10 1852
悲&欢浪女
悲&欢浪女 2020-12-05 23:28

This is only a minor annoyance but if I can figure this out I\'ll be very happy.

Is it possible to change the default project directory in Netbeans 7? I don\'t know

相关标签:
10条回答
  • 2020-12-06 00:07

    In newer versions, right-click on the project you want to move in the 'Projects' tab, and then click 'Move'. This will allow you to move the project to a new directory.

    Changing Netbeans Project Folder

    0 讨论(0)
  • 2020-12-06 00:10

    I believe that Netbeans will remember where your last project was created and uses that as its default. So if you create a project and choose a different directory than the default, then that directory will now be the default.

    0 讨论(0)
  • 2020-12-06 00:15

    If you are asking for how to set the main project so that it runs by default and is debugged by default, then:

    Run > Set Main Project, and select your project.

    This will highlight in bold the name of the folder of your project in the files windows, usually on your the left hand side.

    0 讨论(0)
  • 2020-12-06 00:16

    On my Windows 7 it's Users\\AppData\Roaming\NetBeans\7.2.1\config\Preferences\org\netbeans

    0 讨论(0)
  • 2020-12-06 00:16

    On Windows you could find that file in:

    [%USERPROFILE%|$Env:UserProfile]\.netbeans\...\projectui.properties
    

    Found this, http://wiki.netbeans.org/FaqAlternateUserdir, but did not have success with it. Neither the command line value nor netbeans_default_userdir from netbeans.conf were persisted to projectui.properties.

    0 讨论(0)
  • 2020-12-06 00:17

    I use Netbeans 7.0.1 on Windows 7.

    For me the projecui.properties file was in C:\users\.netbeans\7.0\config\Preferences\org\netbeans\modules\ directory. About the fourth line down is a property called projectsFolder. Just change that to the folder you want and you're done!

    Caveat: this is Java, so if you have a backslash, you have to double it up (C:\folder would be C:\\folder). It seems like I did this before within the application itself, but I could not for the life of me find it. I realize this is an old thread, but it was my first hit googling my problem, so I'm sure others will as well. -Mike

    0 讨论(0)
提交回复
热议问题