Adding Workspace Configurations

You can include default workspace settings in the installer so the developer’s work environment is already set for them as soon as installation is complete. Settings you can include are team projects and preferences. Export projects and preferences from MyEclipse or Eclipse by selecting File>Export from the main menu. In this tutorial, you will learn how to:

  • Add workspace configurations to a package
SDC supports the following task types. For more details, see Advanced Workspace Tasks.
Task Type File Extension Description
Project Set .psf Standard Team Project Set File from Eclipse. To create, in a configured workspace, choose File>Export>Team>Team Project Set and choose the projects and/or working sets to share. Incremental changes to projects can be done by updating the .psf or adding additional .psf files.
Preferences .epf Standard Eclipse Preference File from Eclipse. To create, in a running Eclipse, choose File>Export>General>Preferences, and choose the preferences to export. If desired, remove preferences from the file not desired. Incremental changes to preferences be done by updating the .epf or adding additional .epf files.
Workspace Mechanic Task Class File .class Task class files are used to extend the MyEclipse product. When added to the package workspace tasks, the class is executed when the package is installed.
Arbitrary Workspace File .wrkspc Special file supported in SDC that allows delivering arbitrary files into your workspaces. This task can be used for dropping down extra files into the .metadata/ area for plugins that do not work with standard preferences.
Git Workspace File .git Lets you define a set of Git repositories with the projects you want to automatically include in your Eclipse package. When your team installs the configured Eclipse package, the Git workspace task clones the specified repositories and adds the specified projects to the user’s workspace.
Target Platform Workspace File .targetplatform Allows you to provision target platforms in your packages so that teams can work off of unified target platforms in addition to unified tool stacks.
Note: You can add global or common workspace settings in an Environmental policy so you don’t have to add common configurations to multiple packages.
  1. On a package’s Configuration tab, click addIcon in the Workspace Configuration section.
  2. Navigate to either a project file (.psf) or preference file (.epf) you want to include, and click Open. The file is listed in the Workspace Configuration section. Workspace configuration items
In the installed product, the items are applied in the order in which you place them here. To rearrange the order, select an item, and click either add_to_catalog_icon_vertical or remove_from_catalog_icon_vertical. To remove a workspace configuration item, select the item, and click remove_icon. Use replace_task_icon to replace a selected task with another. Export a selected package task by clicking export_task_icon. When you add workspace configurations, they appear on the Overview page in the Capabilities section. Workspace configurations display on the Overview tab