Another one of my co-workers was able to look at this with me and he found that as soon as I was adding a new object to source control, ClearCase is changing the file from "new_object" to "new_object.mkelem" and that is why my script could not find the file or directory. Script is now working...
I am writing a trigger for ClearCase to prevent files e.g.)greater than 10 MB from being added to source control. We are using the ccperl that is installed with ClearCase. In my perl script, I've tried using the two examples below and it returns nothing:
1.
$filesize = -s "test.txt";
print...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.