Clearcase and java process : changing view does not apply
Posted
by
user1432310
on Stack Overflow
See other posts from Stack Overflow
or by user1432310
Published on 2014-06-08T15:20:04Z
Indexed on
2014/06/08
15:24 UTC
Read the original article
Hit count: 180
i have a simple application, which receives input from a user for a CC stream name, and is suppose to return the content of a specific file from this stream repository.
I have tried doing this using a simple shell script: user enters stream name, java receives stream name, runs a process which runs a script "myccscript.sh" which contains "myinput=$1; cleartool setview $myinput" (or something like that).
then i try reading the file and printing it's content in the java side. BUT, after the process is finished - the view is not the view from the user input - that environment was probably only valid for the process Ive created.
how do i change the clearcase view to the main java process? Thanks!
© Stack Overflow or respective owner