Collaborating and Interacting with Developers


Once you have logged into a collaboration account, you can begin to interact with other developers. Before interacting with other developers you will need to add those developers as contacts with whom you can collaborate.

Contacts and Contact Groups

When a collaboration session is first started you will see the Contacts and Conversations list in the Collaboration Sessions window. Contacts are developers with whom you wish to collaborate.

You can organize contacts by creating folders under the Contacts list to categorize the developers you collaborate with. For instance, you might choose to create a contact folder based on a project name.

To create an additional contact folder:

  1. In the Collaboration Sessions window, right-click Contacts and choose Add Contact Group.

  2. Type the name for a new contact group and click OK.

You can also rename a contact group once it is created by right-clicking on the contact group folder and choosing Rename. When you no longer have a need for a contact group you can remove it by right-clicking on the contact group and choosing Delete.

To add a developer to a contact list:

  1. In the Collaboration Sessions window, right-click the Contacts node or the contact folder that you wish to add developers to and choose Add Contacts.

  2. In the Add Contacts dialog, search for the developer by his or her display name or by user ID.

  3. Once you have found the developer, use the Add to Group drop-down list to select the group to which you want to add that developer.

    For example, if you add a developer who has a username of Charlie Hunt on the share.java.net collaboration server to a contact group named default, the Add Contacts dialog would look like the dialog shown in Figure 18-10.

    Figure 18-10. Add Contacts

  4. Click OK.

Conversation Groups

To help facilitate and manage collaboration activities, the NetBeans Developer Collaboration feature provides conversation groups. Conversation groups are a good way to organize a group of developers in a meeting-like setting. For example, if you would like to schedule a code review with several developers, you can create a conversation group for the code review and ask those developers to join the conversation.

To create a conversation group:

  1. In the Collaboration Sessions window, right-click Conversations and choose Create Public Conversation.

  2. In the Create Conversation dialog box, enter a conversation name and click OK.

After you have created a conversation group, the conversation group will be displayed in the Collaboration Session window under Conversations. For example, after creating a conversation called "codereview," the Collaboration Session window will show "codereview" as a conversation as shown in Figure 18-11.

Figure 18-11. Adding conversations


You can add as many conversations to the conversation list as you wish.


Additional developers can be invited to participate in the conversation once a conversation group has been created.

To invite developers to participate in a conversation group:

  1. In the Collaboration Sessions window, right-click on a conversation group and choose Manage.

  2. In the Manage Public Conversation dialog box, click Add.

  3. In the Add Users dialog box, enter the developer's name or user ID of who you wish to invite to the conversation and click Find. You can search for a developer's name or user ID if you do not recall his or her name or user ID.

  4. Select the developer to add to the conversation group.

  5. Grant access rights for the developer you are adding to your conversation group and click OK.

You can add as many developers to a conversation group as you wish.


Starting and Joining Conversations

There are several ways to initiate a conversation with other developers. One way is to set up a conversation group, which was described above. You can also join an existing conversation group or initiate a new conversation directly with another developer.

To join an existing conversation, you first must find the conversation group you wish to join. You do this by right-clicking Conversations in the Collaboration Sessions window and choosing Subscribe to Public Conversation. In the Subscribe to Public Conversation dialog, you either search or browse for the conversation you wish to join. Then select the conversation you want join and click OK to subscribe to the conversation. Once you have subscribed to a conversation, the subscribed conversation will show up in the Conversations lists in the Collaboration Session window.

To join a conversation you are already subscribed to, right-click the conversation name in the Collaboration Sessions window and choose Open.

To initiate a conversation with an individual developer, right-click the developer's username in the Contacts list and choose Start Conversation.

Once you have started or joined a conversation, the IDE will open a set of windows in the editor area detailing the participants of the conversation along with status information on who has joined the conversation, etc.

Interacting with other Developers

The NetBeans Developer Collaboration modules provide rich capabilities to communicate and share artifacts with other developers within the conversation window. The conversation window provides information on the participants in the conversation and their status (e.g., online, idle, or away).

To send an instant message to the developers who are participating in a collaboration conversation, you enter text in the lower window and press the Send button. After you have sent an instant message, you and the other participants see your message in the window just above where you entered your text.

As a sender of a message, you have options to format your text as formatted text, Java source code, HTML or XML. You can also insert smiley faces.

In addition, you can have the instant message sending window allow you to use the Enter and Tab characters in the message. (By default, when you press Enter, the text you have entered will be sent.) These options are particularly useful when copying source code, HTML, or XML to the instant message sending window.

Sharing IDE Projects

One of the most useful features of the NetBeans Developer Collaboration modules is the ability to share NetBeans projects and source code with other developers. It is often very useful to have other developers look at each other's source code, especially when there is a bug that is proving difficult to isolate or a development workflow type of activity such as a code review, code inspection or paired programming.

To share source code or a project:

  • Drag and drop the project or files from the Projects window into the sharing area of the conversation window (top window).

When you share a project or file, the conversation window will show the shared project or file as shown in Figure 18-12.

Figure 18-12. Sharing NetBeans IDE projects


When source code or an IDE project is shared with another developer via collaboration, both developers view the same source files in their respective source code editors. In addition, as changes are made to the source code or IDE project, those changes are viewed by both developers.

Projects that are shared can also have the following IDE actions performed on them: Build Project, Clean and Build Project, and Run Project.

To invoke any of these actions on a shared project, right-click the project and select the desired action as shown in Figure 18-13.

Figure 18-13. Shared project actions


The IDE's Source Editor window and Output window on both systems are updated with the same information as changes or actions take place on shared projects and files. When projects and files are shared, no project source code or metadata is copied to other developers' systems as part of sharing. Only one copy of the project exists. Any edits to shared project and files along with any actions performed on shared projects and files are updated only on the system of the developer who shared the projects and files.



NetBeans IDE Field Guide(c) Developing Desktop, Web, Enterprise, and Mobile Applications
NetBeans IDE Field Guide(c) Developing Desktop, Web, Enterprise, and Mobile Applications
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 279

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net