473,671 Members | 2,231 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Clearcase and Visual Studio .NET: how to get version-extended build record

Hello,
I have a C++ project that is built using Visual Studio .NET. The
source code is configuration-managed in Clearcase so that I build out
of a Snapshot view on my Windows XP PC. I am able to check files
in/out from the Visual Studio. When building my project, I would like
to generate a build log that contains clearcase version-extended
pathnames to the source files , as in file.c@@/main/3. This way I know
exactly what version of source file make up my build. With prior
versions of Visual Studio, I could export a Makefile and run it using
clearmake or omake thus generating a Configuration Record file. Since
this is no longer an option, I was wondering if there is a way to make
Studio generate version-extended pathnames as it builds a project.

So far I tried to add a custom-build step that would run alongside
with compilation. For every source file getting compiled, I want to
execute something like "cleartool ls -short $(InputFileName )" >>
buildlog.txt" (in a batch file or just like this)
However, the menu pull-down options seem to only let me replace the
standard C/C++ compilation with the custom step but not add on to the
standard C/C++ compilation. Is it possible to add a custom step to the
regular compilation step?

If this is not possible, can anyone think of a way to use a Pre-Link,
Pre-Build, or Post-Build step for this?
Any other ideas are appreciated.
Thanks
Rachel
Nov 22 '05 #1
0 2058

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2162
by: Robb Gilmore | last post by:
Hi, I use VSS for visual studio .net 2003 development. However I recently installed the Clearcase client for use with Rational App Developer 6. When I did that, Clearcase unexp;ectledly took over all source control operations within VS.NET. How do I tell VS.NET not to use Clearcase, but to go back to using VSS instead? thanks Robb
10
2921
by: Andrew Baker | last post by:
I have just found a very serious bug in the way Visual Studio interfaces with Clearcase... I found that once you have opened a code file in the IDE, the IDE caches this file and does not re-read it's contents EVEN IF YOU CHECKOUT THE FILE FROM CLEARCASE. This means that all of the work that was carried out on the file in any subsequent checkins will be lost. The only way round this seems to be to remember to close all the code panes...
3
326
by: Robb Gilmore | last post by:
Hi, I use VSS for visual studio .net 2003 development. However I recently installed the Clearcase client for use with Rational App Developer 6. When I did that, Clearcase unexp;ectledly took over all source control operations within VS.NET. How do I tell VS.NET not to use Clearcase, but to go back to using VSS instead? thanks Robb
4
4634
by: rohinichandrap | last post by:
Hi , I have quite a few questions about Visual Studio :Net 2003 and clear case Could anyone please help me with the answers. I have converted a workspace abc.dsw from visual studio 6 to visual studio .Net 2003 which has three projects a.dsp,b.dsp,c.dsp.
6
3033
by: Budyanto | last post by:
Hi, I have a visual c++ project that refuses to build when the project is in clearcase. It kept complaining that it could not open an include file. I'm pretty sure that all my include paths are set correctly because other files in the same directory could be included successfully. In fact I did not include this file directly. It was included from a file I included. But I also tried including it directly and it could not be opened also.
0
8472
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8390
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8909
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8596
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8667
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7428
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6222
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4221
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.