站内搜索: 请输入搜索关键词

当前页面: 开发资料首页Netbeans 专题Developer Collaboration Module Quickstart

Developer Collaboration Module Quickstart

摘要: Developer Collaboration Module Quickstart
Talk code with other developers live over the network, be it in your local team or on another continent! NetBeans Developer Collaboration lets you chat and share code while keeping syntax coloring, project file structure and formatting intact. Collaboration enables you to review, edit and build shared sources in real time together with remote developers.

This quickstart tutorial covers how to

  1. Install the Collaboration Module
  2. Register to a Collaboration Server
  3. Connect to a Collaboration Server
  4. Find People and Conversations
  5. Start or Join a Conversation
  6. Log Out and Log Back In

This tutorial takes about 20 minutes to complete.

Install the Collaboration Module

  1. Open Netbeans IDE 4.1 or 5.0 and connect to the internet.

  2. To download and install the Collaboration module, choose Tools > Update Center from the menu. The Update Center window opens.

  3. In the Update Center, make sure the box next to NetBeans Update Center is checked. If you are using a development build, choose Development Update Center. Click the Next button to access the Update Center.

  4. After a few moments, the list of available modules will come up. Select the item Developer Collaboration from the list and click the Add button to add all the necessary components.


  5. Install Collaboration using the Update Center (Click to enlarge)

  6. Press the Next button. The Update Wizard will ask you to accept the necessary licenses. Read them and click Agree to start downloading the Collaboration Module.

  7. After the download is done, press the Next button. The Update Wizard shows you an overview of the new module to be installed. Press the Finish button to complete the installation.

  8. If the Update Wizard asks you to restart the IDE, click Restart the IDE to load the new module. From version 5.0 beta 2 on restarting is no longer necessary.

  9. After the module has finished loading, you will be able to see the Collaboration toolbar and the Collaboration menu in your IDE. Congratulations!


  10. Successful installation: The Collaboration Toolbar and menu are now visible

Register to a Collaboration Server

You need a Collaboration account before you can use the Collaboration feature. If you do not have a Collaboration account yet, follow these instructions to create one. It's free!

  1. To create a new Collaboration account, choose Collaboration > Login from the IDE's menu. A new docked window will open on the right hand side of the IDE: The Collaboration window.


  2. The Collaboration Window

  3. In the Collaboration window, click Manage accounts. If this is your first account, a Registration Wizard window opens.

  4. Check the box next to "I want to register for a new Collaboration account on share.java.net"; check the box to Accept the license and press the Next button. (If you already have an account, check I have an existing account instead and press Next. Alternatively, you could also choose to create an account on a different Collaboration server that you know.)


  5. The Registration Wizard

  6. If your need a proxy to access the internet, enter your proxy settings now and press Next.

  7. Enter a display name that will identify you on the Collaboration server and press the Next button.


  8. Enter display name

  9. On the next page, enter your real name and email address.


  10. Enter real name and email

  11. On the next page, provide a user name for your account -- this is the name that other users can search for on the Collaboration server to identify you. Enter the password you want to use twice, and then click Finish to complete the registration.


  12. Enter user name

If you'd like to add more than one account, repeat these steps. Note that when you click Manage accounts for the second time, you will get an Account Management Window instead of the Wizard. Click the Add button to access the Wizard and proceed as described for the first account.

Connect to a Collaboration server

Your Collaboration account is now created. The Collaboration window now displays a Login panel: Enter your password and press the Login button to start using Collaboration.


Log in to share.java.net

After you have logged in, the Collaboration window will show your Display name and your friends and conversations list. If this is your first time you log on, the lists will be empty.


Collaboration window with friends and conversations list

In the upper part of the Collaboration window you see a toolbar with four buttons: The first button is the Change Status popup menu. Use it to switch to one of the following status options: online (green), busy (orange), away (red) or invisible (gray).

Switch your status to online. Next we will show you how to contact other users.

Find people and conversations

Look again at the toolbar in the upper part of the Collaboration window. The second button is the Add Contacts button. It lets you search and invite users to your friends list.

  1. To add a user, click the Add Contacts button. Enter a user name or a real name into the search field, then click Find to search for an existing user.

  2. Wait for the search result to show up and then select a name from the "Select Users" window. Click OK to add this user to your friends list.

  3. Users can reject or accept invitations. If they accept, you will from now on be notified each time the selected users come online.


Search for friends with the Add Contacts window

The third toolbar button is the Subscribe to Public Conversation button. It lets you search and join conversations. There are a couple of public conversation on share.java.net that you can join freely, for instance netbeans and netbeans-platform.

  1. To find a conversation, click the Subscribe to Public Conversation button and enter a search keyword, then click Find to start the search.

  2. Wait for the search result to show up and select a conversation form the Select Conversation window.

  3. Click OK to add the conversation to your Conversation list.


Search for conversations.

Start or join a conversation

Conversations can be public or private. There are four ways to start a conversation:


Invite other users

Anytime after a new conversation window opens in the IDE, you may inspect the list of participants on the left side of the Collaboration window. Click the Invite button at the bottom left to prompt other users to join your conversation. You can tell whether a user is already on your friends list by a green dot next to his name.

To share Java projects, drag and drop them with the mouse from the IDE's Projects window to the shared area labeled Drag files and projects here to share them. They are now fully visible and editable for your partners.


Discuss your Java code in a Collaboration conversation

Log Out and Log Back In

To quit a conversation, right-click the conversation and choose Leave from the context menu, or click the closebox next to the conversation's title. To log out from Collaboration, choose Collaborate > End All Sessions from the main menu.

To log back in, choose Collaborate > Login; enter your account information, and click the Login button to open the Collaboration window again.

Next Steps


↑返回目录
前一篇: Derby Tutorial
后一篇: Developer Guide to BPEL Designer