Working With Projects

In the Sun WorkShopTM 6 programming environment, a project is a list of files and compiler, debugger, and build-related options used to build an executable, a static library/archive, a shared library, a Fortran application, a complex application, or a user makefile application.

In previous versions of Sun WorkShop, a workset was used instead of a project. A workset is a set of all of the recent items you have accessed that are associated with your development projects: source files, build targets, programs, experiments, source browsing directories, workspaces (if Sun WorkShop TeamwareTM code management tools are installed), and Sun WorkShop Visual design files.

Projects still have a workset aspect (there continue to be menu picklists that make it easy to access directories and files associated with a project), but a project knows more about your program: it knows which source files you want to build and how you want them built. If you have Sun WorkShop worksets, you can automatically convert your worksets to Sun WorkShop 6 projects when you load them (see Converting a Workset to a Project).

When you start Sun WorkShop, the Welcome to Sun WorkShop Dialog Box opens and gives you immediate access to Sun WorkShop projects and the project wizard. Sun WorkShop also has project functions available from the Project Menu in the WorkShop Main Window to help you:

You can also choose to use the Sun WorkShop 6 programming environment without loading a project. Picklists keep track of the files, programs, directories, and targets associated with your development projects (see WorkShop Targets for more information). You can access each file, build target, debug executable from the menus in the WorkShop Main Window . Build target information cannot be edited because it is not persistent; rather, it changes as you access, add, and remove build targets.