A file descriptor describes a file and, optionally, the structure of the file. The file can be located both in the Eclipse workspace or in the system to be attached.
The physical name (attribute Name_Physical) of the file does not have to be given in order to describe a file. This can be set by a tool output parameter at run time. If the physical name of the file already exists, a static value can be entered under this attribute. If only the structure of the file path has been defined, a dynamic path can be entered using dynamic references, see Variable References for more information.
A further feature of a file descriptor is the type. The “Workspace_File” type indicates files that should be saved in the workspace or that are to be read from the workspace.
The file descriptor SVN_FD_Repository is used to return SVN repository locations:
Attribute | Value | Description |
---|---|---|
Essential: | ||
ID | SVN_FD_Repository | Unique identifier for the file descriptor in this model. |
Prop Delimiter | , | The property values returned in this structured file descriptor are separated with commas. |
Structure | Table | A table structured file descriptor consists of a sequence of properties. Each line specifies the values for each property defined as a File Descriptor_Has_Property relationship. |
Type | InputStream | The file content is provided in the form of an input stream. |
Optional: | ||
Name Physical | --- | A Name Physical is not required for a file descriptor of type InputStream. |
The file descriptor SVN_FD_WORK_LocalContent is used to model a file in the local workspace:
Attribute | Value | Description |
---|---|---|
Essential: | ||
ID | SVN_FD_WORK_LocalContent | Unique identifier for the file descriptor in this model. |
Prop Delimiter | --- | Not applicable as it is an unstructured file descriptor. |
Structure | Unstructured | The file has no internal structure. |
Type | Workspace_File | The file descriptor represents a file within the Eclipse workspace. |
Optional: | ||
Name Physical | --- | The physical name is not required as the file is returned as a file output parameter of a preceding tool. |