Creating a New Project

Related Topics:

Editing a Project Working With Projects
Project Menu Edit Current Project Window

A Sun WorkShopTM project is a named set of files and preferences stored in a file which you can build as an entity. You can create a new project that has no existing source files or a new project where source files already exist.

To create a new project that does not have existing source files:

1. Choose Project New Project Create Empty Project from the WorkShop Main Window menu bar.

The Create Empty Project Dialog Box opens.

2. In the Working Directory for the New Project text box, type the pathname to an existing directory or to a new directory where you want the new project to reside.

The default that is listed is the name of a new directory.

3. In the File Name for the New Project text box, type the file name for the new project.

4. Click OK.

Sun WorkShop generates a skeleton (stub) file, adds it to the project, and opens a text editor window so you can begin writing source code.

To create a new project with the help of the wizard, do one of the following:

To share project file information with members of your development team:

The Create New Project wizard prompts you to define your project settings. Then Sun WorkShop creates the type of project you defined (a file with a .prd file extension) with the source files you requested. You can share that project file information with multiple members of your development team by creating a project that has an absolute/full path to the project file and a relative (file/basename only) project directory.

For example, your team has a workspace for your project, and you create a project named ws.prd in the top level directory of the workspace:

Project file name: /home/workspaces/ws/ws.prd
Project directory: .

A team member can have a copy of the workspace in /export/myws and by opening the project file /export/myws/ws.prd, the project applies to that team member's local files and to no other team member's files.