I would like to be able to identify symlink in clearcase. I am generating queries from an oracle database containing the clearcase extended path of element versions. It is working well for actual elements, but for symlink, the query is returning me the extended path name of the target (and attributes).
Is it possible to change the behavior of describe command ?
Or at least to identify VOB symlink from the extended path ?
Note that the oracle database should not include symlinks.
From "About symbolic links and version-extended pathnames"
Symbolic links are not versioned and, hence, do not have version-extended pathnames.
Symlinks are not catalogued in the version history of the element.
They serve only as a pointer to a target version, and allow you to create multiple access points to a single version.The symlink can be described (
cleartool describe
) with a simple pathname, as follows:
%>cleartool describe -long yoda
symbolic link "yoda" -> ../yoda.txt
The actual text file that the symlink points to can be described with a simple pathname or using its version-extended pathname:
%>cleartool describe -long yoda.txt@@/main/br1/br2/1
version "yoda.txt@@/main/br1/br2/1"