Question

I have installed NetBeans in C drive and now I want to move it to another drive.

Is there any option available in NetBeans?

Était-ce utile?

La solution

There is the option of project group.

File > 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!

Autres conseils

  1. Right click on your project
  2. In the context menu, select "Move..." option
  3. Choose the location you want to move your project to

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

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top