In the NetBeans Projects window, right-click the Collaboration client project.
Point to New, and then click Deployment Profile.
The Create Deployment Profile dialog box appears.
In the Deployment Profile Name field, type a name for the Deployment Profile.
In the Environment drop-down list, select the Environment you created for the master index server project.
Click OK.
The Deployment Editor appears.
Continue to Mapping Master Index (Repository) Collaboration Client Project Components.