in reply to Re^2: Changing directory to a clearcase vob doesnot work please help
in thread Changing directory to a clearcase vob doesnot work please help

Fletch is on the right track with this. First, everything you do with clearcase inside some view tag has to be 'exec'd out'.
So here is one complex way of getting around clearcase problem:
Have perl generate a simple 3 liner sh script, something like,
#!/bin/sh /pathtocleartool/cleartool setcs -tag VIEWNAME CONFIGSPECPATH ...do things here...

Then, in your perl script, /cleartoolpath/cleartool setview -exec $shellscriptname VIEWNAME

This spawns a new process for each thing you do using clearcase exec, which is the documentation you need to look through.
  • Comment on Re^3: Changing directory to a clearcase vob doesnot work please help
  • Download Code

Replies are listed 'Best First'.
Re^4: Changing directory to a clearcase vob doesnot work please help
by sas429s (Novice) on Jan 29, 2008 at 13:48 UTC
    Hi, Actually I need to completely do it from the windows side. If I understood you right I can't do it using the method suggested.correct me If I am wrong? Thanks