configuration management Questions

The code I worked out by now is the following:

use strict;
use Win32::OLE;

print "Instantiating CAL";
my $CCApp = Win32::OLE->new("ClearCase.Application") or
die "Can't create ClearCase application object via call to Win32::OLE->new(): $!";
print "Getting VOBs";
my @CCVob = $CCApp->VOBs();
my $CCVobLength = @CCVob;
print "CCVobLength = $CCVobLength";

With this script I can see that there is one VOB within the CCApp. But I can't figure out how to continue and query the VOB for its name, type or anything useful.

I guess I should add that I'm pretty new to Perl and used to develop software using C, C++ and Java...

There I would cast the element to the appropriate type and then use some interface function to continue...

Thanks in advance for any answer and regards

Hello,

I want to give the user a checkbox to override required fields. For instance, if its an emergency software install I don't want the user to select a scheduled release date.

If that's not possible, is there a way to dynically change the form field label color?

Right now to solve this problem I have a script that generates error message based on the field logic. For instance, if override is not selected the user must fill in a date value. If they don't my script pushes out an error on the form. I have pre-colored the text to red, but, if the user fills out the form the label is still red.

Any suggestions will be helpful.

Thanks,

processman

I am currently working on a Financial system which is in development. It is a batch process. Data goes in one end, goes through a number of processes and a report is output at the end containing numbers.

What happens is that when the data file arrives, a developer then manually "cleans it up", it gets loaded into another application where the data is processed, it then gets manually "enriched" by somebody who cuts and pastes data from another file and merges the two, it passes on down the line and the next person may find a mistake in the data so it goes back to the previous step to get fixed and so on it goes on.

I have all the "applications/ scripts" that process the data under Version/change management, but nobody in the company appears to be worried about managing the data itself at the intermediate steps as they believe it will all eventually be automated. Should I be concerned ?

Do I really need to capture the data inputs and outputs at each step in the process ?

Can data be a Configuration Item ?

thanks

Stuart

By stanleyz - September 1, 20119 Answers

I've done this for couple clients on Windows XP SP3, but in one of them, ClearCase Explorer failed to launch. Everything else works fine, e.g. project explorer.

IBM indicated this might be related to DEP setting but it is NOT.

The version installed is ClearCase 7.1.2.

Anyone has the same experience.

Hi All,

I am getting following error while compiling source code after merging and clearcase labeling.

It was compiled successfully in development view but getting error in merge view.

Also all changes have been verified couple of times.

Compilation error –

making in /cm/tree/Autocat/Src/Include/JMS...
making in /cm/tree/Autocat/Src/Include/XML...
back in /cm/tree/Autocat/Src/Include

clearmake: Error: bgstrs.h: Read-only file system
Unable to wink in derived object "bgstrs.h"
./mkhash <bg_hash_data >bgstrs.h
/bin/sh: bgstrs.h: cannot create
*** Error code 1
clearmake: Error: Build script failed for "bgstrs.h"

if anyone has any idea, please help me !!! Thanks in advance.
Regards,
Saurabh Shah

By [email protected] - August 11, 20111 Answer

I need a favour. I want to automate my build on the build sever using shell scripts. Since the build server is a Windows box, I have installed Cygwin on it. Now I want to install PVCS on cygwin such that I will get PVCS commands to checkout the source from PVCS repositroy.

Thanks,

Anil

We are using VMWARE client machines to run builds. On the VM clients all clearcase activities take more time compared to a standalone system. I want to know if there are any basic parameters on VM and ClearCase that can be fine tuned for better overall performance.

We are aware that clearcase on VM is slower when compared to standalone system. We are looking to better the ClearCase VM performance which is at 500% when compared to stand alone system performance.

A labelling activity takes 7 mins on standalone system which on VM machine takes 46 mins.

Your experience wrt to ClearCase on VM would be very helpful.

In SVN , a user is forced to "Checkout" the entire directory containing a source file even though he wants to modify only one file.

Assume a VB project containing .frm, .bas and .frx & .mak files. When user checks out the entire project and makes changes to just .bas file , and uses the VB project properties to configure the build, the .mak file invariably gets updated and becomes a checked out item. When user tries to commit his changes..both *.bas & .mak files get commited to the repository.

Suggestions..anyone ???

I am trying to create a project which has many document files (excel, xml). They are difficult to merge, and I am trying to find a way to block check out when the files are checked out already by another user.

I considered using single development stream, but it still allows multiple users to check out files at the same time.

I would appreciate if you can share the tips.

Pages

CMCrossroads is a TechWell community.

Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.