Showing posts with label dynamic. Show all posts
Showing posts with label dynamic. Show all posts

Sunday, December 5, 2010

Difference between two versions in ClearCase dynamic view

For dynamic views, you can use the extended pathnames with cleartool diff.

This help page "To compare with a version other than the predecessor " gives all the details:

cleartool diff prog.c prog.c@@\main\4

cleartool diff won't give you exactly what you want if you look only for a summary (displaying only the number of lines added, removed and changed):

The default file-comparison report begins with a file summary, which lists all the input files and their assignments as file 1, file 2, and so on.
If no differences are detected among the files, this listing is replaced by the message Files are identical.

The remainder of the report is a series of pairwise differences, each of which is preceded by a descriptive header line:

******************************** (file summary)<<< file 1: util.c@@/main/1>>> file 2: util.c@@/main/3********************************----------[after 15]------|-------[inserted 16]------ (header) | char *s; (difference) |----------[changed 18]-----|----[changed to 19-21]---- (header)return ctime(&clock); | s = ctime(&clock); (difference) - | s[ strlen(s)-1 ] = '\0'; | return s; |-

Note:

report with x lines added , y lines deleted , z lines changed between two versions

No, not with cleartool diff: the diff format doesn't include a pure summary style.

But since you can access to any two versions in a dynamic view, you can use any diff tool you want to achieve that particular output.


View the original article here

Monday, November 15, 2010

Unusual dynamic view error

Permlink Replies: 3 - Pages: 1 - Last Post: Nov 10, 2010 2:04 PM Last Post By: jeff98air Threads: [ Previous | Next ]
Posts: 3
Registered: Jul 28, 2010 11:17:35 AM Unusual dynamic view error
Posted: Nov 10, 2010 11:06:24 AM Hi,

I am receiving what for me is an unusual error when running setview, the dynamic view starts and works correctly, but it gives the following error:

This is a dynamic view

[/user/jay] cleartool setview jay.stoc
cleartool: Error: Unable to open file "/user/.view.dat": No such file or directory.
cleartool: Warning: Unable to open snapshot view "/user".

The view used to not give this error and when looking at the results of cleartool lsview -long -properties everything is correct. Other views stored in the same location and tagged the same way do not have this error.

Appreciate any help anyone can give in figuring out what is causing this.

Thanks,
-Jay


Posts: 676
Registered: Jun 25, 2007 04:53:38 PM Re: Unusual dynamic view error
Posted: Nov 10, 2010 12:49:31 PM   in response to: Jay13 in response to: Jay13's post Can you please provide the full output of `cleartool lsview -l view-name`.

-Jeff Ng


Posts: 3
Registered: Jul 28, 2010 11:17:35 AM Re: Unusual dynamic view error
Posted: Nov 10, 2010 12:57:04 PM   in response to: jeff98air in response to: jeff98air's post Sure, here is the output:

[/var/adm/atria/log] cleartool lsview -long -properties jay.stoc
Tag: jay.stoc
Global path: /user/deriviews/jay.stoc
Server host: engvob1
Region: dss
Active: YES
View tag uuid:4fc55c9b.701211df.9a07.00:13:72:7c:02:68
View on host: engvob1
View server access path: /disk2/deriviews/jay.stoc
View uuid: 4fc55c9b.701211df.9a07.00:13:72:7c:02:68
View owner: jay

Created 04-Jun-10.15:42:38 by jay.deri@engvob1
Last modified 09-Nov-10.20:55:01 by jay.deri@derilnx4.hughes.com
Last accessed 09-Nov-10.20:55:01 by jay.deri@derilnx4.hughes.com
Owner: jay : rwx (all)
Group: deri : rwx (all)
Other: : r-x (read)
Additional groups: eng sag swt


Posts: 676
Registered: Jun 25, 2007 04:53:38 PM Re: Unusual dynamic view error
Posted: Nov 10, 2010 02:04:16 PM   in response to: Jay13 in response to: Jay13's post Hmmm... As you said, everything looks okay (except that view storage directories usually end with a ".vws" extention).

I assume "/user" is a global mount point that is mounted on every machine (i.e. /net, /hosts, /home, etc.)?

Here are just a few thoughts:

It could be a strange automounter issue. Have you rebooted since you started getting the error?
Is anyone else who has a view stored in "/user/..." getting the same error?
It seems as though someone may have (accidentally) created a snapshot view stored at "/user", then deleted the ".view.dat" file. Then, when you're in "/user/jay", ClearCase thinks you're in a snapshot view, so when you try to set a view, it tries to access the snapshot view you are currently in ("Working directory view" vs. "Set view") and complains because it can't find the ".view.dat" file of the snapshot view.
Try this: Cd into "/user/jay" and execute `cleartool pwv`. What output do you get? Now cd into "/user" and do the same thing.

-Jeff Ng

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

Sunday, November 14, 2010

Re: Unusual dynamic view error

Permlink Replies: 3 - Pages: 1 - Last Post: Nov 10, 2010 2:04 PM Last Post By: jeff98air Threads: [ Previous | Next ]
Posts: 3
Registered: Jul 28, 2010 11:17:35 AM Unusual dynamic view error
Posted: Nov 10, 2010 11:06:24 AM Hi,

I am receiving what for me is an unusual error when running setview, the dynamic view starts and works correctly, but it gives the following error:

This is a dynamic view

[/user/jay] cleartool setview jay.stoc
cleartool: Error: Unable to open file "/user/.view.dat": No such file or directory.
cleartool: Warning: Unable to open snapshot view "/user".

The view used to not give this error and when looking at the results of cleartool lsview -long -properties everything is correct. Other views stored in the same location and tagged the same way do not have this error.

Appreciate any help anyone can give in figuring out what is causing this.

Thanks,
-Jay


Posts: 676
Registered: Jun 25, 2007 04:53:38 PM Re: Unusual dynamic view error
Posted: Nov 10, 2010 12:49:31 PM   in response to: Jay13 in response to: Jay13's post Can you please provide the full output of `cleartool lsview -l view-name`.

-Jeff Ng


Posts: 3
Registered: Jul 28, 2010 11:17:35 AM Re: Unusual dynamic view error
Posted: Nov 10, 2010 12:57:04 PM   in response to: jeff98air in response to: jeff98air's post Sure, here is the output:

[/var/adm/atria/log] cleartool lsview -long -properties jay.stoc
Tag: jay.stoc
Global path: /user/deriviews/jay.stoc
Server host: engvob1
Region: dss
Active: YES
View tag uuid:4fc55c9b.701211df.9a07.00:13:72:7c:02:68
View on host: engvob1
View server access path: /disk2/deriviews/jay.stoc
View uuid: 4fc55c9b.701211df.9a07.00:13:72:7c:02:68
View owner: jay

Created 04-Jun-10.15:42:38 by jay.deri@engvob1
Last modified 09-Nov-10.20:55:01 by jay.deri@derilnx4.hughes.com
Last accessed 09-Nov-10.20:55:01 by jay.deri@derilnx4.hughes.com
Owner: jay : rwx (all)
Group: deri : rwx (all)
Other: : r-x (read)
Additional groups: eng sag swt


Posts: 676
Registered: Jun 25, 2007 04:53:38 PM Re: Unusual dynamic view error
Posted: Nov 10, 2010 02:04:16 PM   in response to: Jay13 in response to: Jay13's post Hmmm... As you said, everything looks okay (except that view storage directories usually end with a ".vws" extention).

I assume "/user" is a global mount point that is mounted on every machine (i.e. /net, /hosts, /home, etc.)?

Here are just a few thoughts:

It could be a strange automounter issue. Have you rebooted since you started getting the error?
Is anyone else who has a view stored in "/user/..." getting the same error?
It seems as though someone may have (accidentally) created a snapshot view stored at "/user", then deleted the ".view.dat" file. Then, when you're in "/user/jay", ClearCase thinks you're in a snapshot view, so when you try to set a view, it tries to access the snapshot view you are currently in ("Working directory view" vs. "Set view") and complains because it can't find the ".view.dat" file of the snapshot view.
Try this: Cd into "/user/jay" and execute `cleartool pwv`. What output do you get? Now cd into "/user" and do the same thing.

-Jeff Ng

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

Saturday, November 13, 2010

Re: Unusual dynamic view error

Permlink Replies: 3 - Pages: 1 - Last Post: Nov 10, 2010 2:04 PM Last Post By: jeff98air Threads: [ Previous | Next ]
Posts: 3
Registered: Jul 28, 2010 11:17:35 AM Unusual dynamic view error
Posted: Nov 10, 2010 11:06:24 AM Hi,

I am receiving what for me is an unusual error when running setview, the dynamic view starts and works correctly, but it gives the following error:

This is a dynamic view

[/user/jay] cleartool setview jay.stoc
cleartool: Error: Unable to open file "/user/.view.dat": No such file or directory.
cleartool: Warning: Unable to open snapshot view "/user".

The view used to not give this error and when looking at the results of cleartool lsview -long -properties everything is correct. Other views stored in the same location and tagged the same way do not have this error.

Appreciate any help anyone can give in figuring out what is causing this.

Thanks,
-Jay


Posts: 676
Registered: Jun 25, 2007 04:53:38 PM Re: Unusual dynamic view error
Posted: Nov 10, 2010 12:49:31 PM   in response to: Jay13 in response to: Jay13's post Can you please provide the full output of `cleartool lsview -l view-name`.

-Jeff Ng


Posts: 3
Registered: Jul 28, 2010 11:17:35 AM Re: Unusual dynamic view error
Posted: Nov 10, 2010 12:57:04 PM   in response to: jeff98air in response to: jeff98air's post Sure, here is the output:

[/var/adm/atria/log] cleartool lsview -long -properties jay.stoc
Tag: jay.stoc
Global path: /user/deriviews/jay.stoc
Server host: engvob1
Region: dss
Active: YES
View tag uuid:4fc55c9b.701211df.9a07.00:13:72:7c:02:68
View on host: engvob1
View server access path: /disk2/deriviews/jay.stoc
View uuid: 4fc55c9b.701211df.9a07.00:13:72:7c:02:68
View owner: jay

Created 04-Jun-10.15:42:38 by jay.deri@engvob1
Last modified 09-Nov-10.20:55:01 by jay.deri@derilnx4.hughes.com
Last accessed 09-Nov-10.20:55:01 by jay.deri@derilnx4.hughes.com
Owner: jay : rwx (all)
Group: deri : rwx (all)
Other: : r-x (read)
Additional groups: eng sag swt


Posts: 676
Registered: Jun 25, 2007 04:53:38 PM Re: Unusual dynamic view error
Posted: Nov 10, 2010 02:04:16 PM   in response to: Jay13 in response to: Jay13's post Hmmm... As you said, everything looks okay (except that view storage directories usually end with a ".vws" extention).

I assume "/user" is a global mount point that is mounted on every machine (i.e. /net, /hosts, /home, etc.)?

Here are just a few thoughts:

It could be a strange automounter issue. Have you rebooted since you started getting the error?
Is anyone else who has a view stored in "/user/..." getting the same error?
It seems as though someone may have (accidentally) created a snapshot view stored at "/user", then deleted the ".view.dat" file. Then, when you're in "/user/jay", ClearCase thinks you're in a snapshot view, so when you try to set a view, it tries to access the snapshot view you are currently in ("Working directory view" vs. "Set view") and complains because it can't find the ".view.dat" file of the snapshot view.
Try this: Cd into "/user/jay" and execute `cleartool pwv`. What output do you get? Now cd into "/user" and do the same thing.

-Jeff Ng

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

Re: Unusual dynamic view error

Permlink Replies: 3 - Pages: 1 - Last Post: Nov 10, 2010 2:04 PM Last Post By: jeff98air Threads: [ Previous | Next ]
Posts: 3
Registered: Jul 28, 2010 11:17:35 AM Unusual dynamic view error
Posted: Nov 10, 2010 11:06:24 AM Hi,

I am receiving what for me is an unusual error when running setview, the dynamic view starts and works correctly, but it gives the following error:

This is a dynamic view

[/user/jay] cleartool setview jay.stoc
cleartool: Error: Unable to open file "/user/.view.dat": No such file or directory.
cleartool: Warning: Unable to open snapshot view "/user".

The view used to not give this error and when looking at the results of cleartool lsview -long -properties everything is correct. Other views stored in the same location and tagged the same way do not have this error.

Appreciate any help anyone can give in figuring out what is causing this.

Thanks,
-Jay


Posts: 676
Registered: Jun 25, 2007 04:53:38 PM Re: Unusual dynamic view error
Posted: Nov 10, 2010 12:49:31 PM   in response to: Jay13 in response to: Jay13's post Can you please provide the full output of `cleartool lsview -l view-name`.

-Jeff Ng


Posts: 3
Registered: Jul 28, 2010 11:17:35 AM Re: Unusual dynamic view error
Posted: Nov 10, 2010 12:57:04 PM   in response to: jeff98air in response to: jeff98air's post Sure, here is the output:

[/var/adm/atria/log] cleartool lsview -long -properties jay.stoc
Tag: jay.stoc
Global path: /user/deriviews/jay.stoc
Server host: engvob1
Region: dss
Active: YES
View tag uuid:4fc55c9b.701211df.9a07.00:13:72:7c:02:68
View on host: engvob1
View server access path: /disk2/deriviews/jay.stoc
View uuid: 4fc55c9b.701211df.9a07.00:13:72:7c:02:68
View owner: jay

Created 04-Jun-10.15:42:38 by jay.deri@engvob1
Last modified 09-Nov-10.20:55:01 by jay.deri@derilnx4.hughes.com
Last accessed 09-Nov-10.20:55:01 by jay.deri@derilnx4.hughes.com
Owner: jay : rwx (all)
Group: deri : rwx (all)
Other: : r-x (read)
Additional groups: eng sag swt


Posts: 676
Registered: Jun 25, 2007 04:53:38 PM Re: Unusual dynamic view error
Posted: Nov 10, 2010 02:04:16 PM   in response to: Jay13 in response to: Jay13's post Hmmm... As you said, everything looks okay (except that view storage directories usually end with a ".vws" extention).

I assume "/user" is a global mount point that is mounted on every machine (i.e. /net, /hosts, /home, etc.)?

Here are just a few thoughts:

It could be a strange automounter issue. Have you rebooted since you started getting the error?
Is anyone else who has a view stored in "/user/..." getting the same error?
It seems as though someone may have (accidentally) created a snapshot view stored at "/user", then deleted the ".view.dat" file. Then, when you're in "/user/jay", ClearCase thinks you're in a snapshot view, so when you try to set a view, it tries to access the snapshot view you are currently in ("Working directory view" vs. "Set view") and complains because it can't find the ".view.dat" file of the snapshot view.
Try this: Cd into "/user/jay" and execute `cleartool pwv`. What output do you get? Now cd into "/user" and do the same thing.

-Jeff Ng

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

Thursday, November 4, 2010

Visual Studio 2010 LC.exe error in Clearcase dynamic view

Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]
Posts: 1
Registered: Nov 04, 2010 12:54:01 PM Visual Studio 2010 LC.exe error in Clearcase dynamic view
Posted: Nov 04, 2010 12:57:29 PM Hi,

We converted our code from VS 2005 to VS 2010. As part of that we changed all the projects from .NET 2.0 to .NET 4.0. It compiles fine in Perforce and Clearcase snapshot views. However, when trying to compile in a Clearcase dynamic views (i.e integration view). I get this error:

22>LC : error LC0000: 'Could not load file or assembly 'Lassalle.Flow, Version=2.1.0.3, Culture=neutral, PublicKeyToken=bfc5c756e54a9d2a' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)'

I've tried adding these lines to the devenv.exe.config file:




I still get the same error. In fact, the NetFx40_LegacySecurityPolicy enabled change produces additional "ResolveComReference" errors.

Any ideas?

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here