Clearcase and java process : changing view does not apply -
i have simple application, receives input user cc stream name, , suppose return content of specific file stream repository.
i have tried doing using simple shell script: user enters stream name, java receives stream name, runs process runs script "myccscript.sh" contains "myinput=$1; cleartool setview $myinput" (or that).
then try reading file , printing it's content in java side. but, after process finished - view not view user input - environment valid process ive created.
how change clearcase view main java process? thanks!
don't use cleartool setview
. spawns sub-shell make other command not working (since executed in parent shell)
always use full path of dynamic view:
/view/aview/vobs/avob/....
you find same issue (and same advice "don't use setview") in:
- "dynamic views of clearcase not integrating in jenkins"
- "using ssh run cleartool command agruments on remote linux machine"
- "script doesn't run while executing in clearcase"
you find concrete example of issue in "python , clearcase setview".
Comments
Post a Comment