Creating and Opening Team Projects

See Also

When you are logged in to registered Team Server, you can use wizards in the IDE to create new projects and open existing projects on the Team Server.

If you have a local project and you want to add the project to a Team Server, you can use a wizard to share a local NetBeans project

Creating Projects

When you create a project, the IDE creates a project on the Team Server and starts the services associated with the project. If you create a project you are automatically assigned the role of project administrator.

To create a new project you need to specify an empty directory on your system for the local repository. After the local repository is created, any directories, files or projects that you create or copy to the local repository are automatically under version control and can be committed to the repository on the Team Server.

To create a new team project:

  1. Register a Team Server.
  2. Login to the Team Server by choosing Team > Team Server > Login from the main menu.
  3. Choose Team > Team Server > New Team Project to open the New Team Project wizard.

    Alternatively, you can click the New Team Project icon ( ) in the Team Dashboard.

  4. Select the Team Server from the drop-down list.
  5. Enter the project details in the Name and License panel of the New Team Project wizard. Click Next.
  6. Select the type of Source Code Repository and supply the necessary repository details.
  7. Select an Issue Tracking type and any necessary details.
  8. Click Finish.

When you click Finish, the IDE creates the Team project and adds the project to the Team Dashboard. You can now add project sources and resources to the local repository.

Opening Team Projects

If you are interested in or a member of a project, you can open the project directly from the IDE. When you open a project, a node representing the project is displayed under Open Projects in the Team Dashboard.

To open a Team project:

  1. Choose Team > Team Server > Open Team Project from the main menu.

    Alternatively, you can click the Open Team Project icon ( ) in the Team dashboard.

  2. Type the search terms in the Open Team Project dialog box and click Search.
  3. Select a project from the list. Click OK.

When you click OK, the IDE adds the project to the list of Open Projects in the Team Dashboard. In the Team Dashboard you can view project issues, members and download the project sources. You can click the Bookmark icon to add the project to the list under My Projects. For more about working with Team projects, see Using the Team Server Dashboard.

To download project sources:

  1. In the Team Dashboard, expand the Sources node of the project and click get to open the Get Sources from Team Server wizard.

    Alternatively, choose Team > Team Server > Get Sources from the main menu.

  2. Select the Repository from the drop-down list.
  3. Specify the folder in the remote repository that you want to retrieve.
  4. Specify a location for the local repository. Click Get From Team Server.

After checkout is complete, you can choose File > Open Project to open the project (if it is a NetBeans project) or work with the files in the Favorites window.

Projects on a Team Server are usually open source. In most cases, you do not need to login or be a member of a project to open the project or get the sources. In some cases, however, the project administrator might modify the default project permissions to limit access.

Deleting Team Projects

You cannot use the IDE to remove a project from the Team Server. The project owner can delete the project using the project's web page on the Team Server site.

Removing a project from the list under Open Project or My Projects in the Team Dashboard does not delete the project from the Team Server.

See Also
Using a Team Server
Sharing a Local Project
Using the Team Server Dashboard
Team Project Tasks: Quick Reference

Legal Notices