如何移动 NetBeans 工作区?
我已将 NetBeans 安装在 C 驱动器中,现在我想将其移至另一个驱动器。
NetBeans 中有可用的选项吗?
I have installed NetBeans in C drive and now I want to move it to another drive.
Is there any option available in NetBeans?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
有项目组的选项。
您可以在此处根据文件夹位置创建项目组。
然后您可以在选定组内的项目之间切换。
在项目组之间切换不需要关闭 IDE。
它看起来像 Eclipse 的工作区。
希望它会有所帮助!
There is the option of project group.
Here you can create a project group based on a folder location.
Then you can switch between projects within selected group.
Switching between project groups doesn't require closing the IDE.
It look like Workspace for Eclipse.
Hope it will help!
您想要复制所谓的“userdir”。
详情请参阅常见问题解答:
http://wiki.netbeans.org/FaqWhatIsUserdir
http://wiki.netbeans.org/NetBeansUserFAQ#Configuration
You want to copy the so called "userdir".
For details, please refer to the FAQ:
http://wiki.netbeans.org/FaqWhatIsUserdir
http://wiki.netbeans.org/NetBeansUserFAQ#Configuration
我在 Windows 7 上使用 NetBeans 8.0.2。
我的工作区中的项目也位于一组项目根目录的“项目组”中。 (Eclipse 将所有项目称为“工作空间”,或项目子集的“工作集”。)
在
C:\Users\\AppData\Roaming\NetBeans\8.0.2\ 中config\Preferences\org\netbeans\modules\projectui\groups\.properties
列出了项目组的路径。在资源管理器中,将工作区目录移动(:或复制,如果您足够偏执的话:)到新驱动器。
编辑此文件并更改该组的驱动器位置。
现在,NetBeans 在打开并加载工作区和组时将看到新位置。
使用
文件/项目组...
确保您正在查看您认为正在查看的组。I am using NetBeans 8.0.2 on Windows 7.
The projects in my workspace are also in a "Project Group" by root directory for a suite of projects. (What Eclipse would call a "workspace" for all projects, or a "Working Set" for a subset of projects.)
In
C:\Users\<myname>\AppData\Roaming\NetBeans\8.0.2\config\Preferences\org\netbeans\modules\projectui\groups\<mygroup>.properties
is listed the path to the group of projects.In Explorer, move (: or copy if you are paranoid enough :) your workspace directories to the new drive.
Edit this file and change the drive location for the group.
NetBeans will now see the new location when it opens and loads the workspace and groups.
Use
File / Project Groups ...
to ensure you are looking at the group you think you are looking at.