#61 Bugs in ClearCase dynamic view handling under Windows

closed-fixed
nobody
None
5
2007-09-24
2007-09-17
Steve Kinsman
No

ClearCaseDynamic.pm has some problems when running under Windows as follows.

1. In sub new() the regular expression splitting the repository url into dynamic_view_name and vobs_dir will split e.g. "view_name:P:\\view_name" at the 2nd colon, but really want to split before the drive letter ("P:" in this example). So change the regular expression as follows:
From
/(.*):(.*)/;
to
/([^:]*):(.*)/;

2. The clearcase "setview" command doesn't exist in Windows. It, and "endview" should be commented out.

Discussion

  • David Sitsky
    David Sitsky
    2007-09-24

    Logged In: YES
    user_id=208928
    Originator: NO

    Thanks for that - have incorporated your changes. Once the next release candidate is out, I'd appreciate it if you can do some testing for me, since I don't have access to ClearCase here.

     
  • David Sitsky
    David Sitsky
    2007-09-24

    • status: open --> closed-fixed
     
  • David Sitsky
    David Sitsky
    2007-09-25

    Logged In: YES
    user_id=208928
    Originator: NO

    Hi Steve,

    I have just released 1.9.4-rc3 which incorporates this fix. Can you download it and let me know if all is well? Thanks.

    Cheers,
    David