is there a way to add a dynamic view shortcut on clearcase via a command line? - clearcase

I am looking for a way to add a dynamic view shortcut to clearcase, given the view tag and path.
I have looked at cleartool commands but didn't seem to find the right one.
thanks for the help

Check first if starting the dynamic view is enough for a shortcut to appear: cleartool startview myView.
If by "ClearCase", you mean the ClearCase Explorer, then a cleartool command might not be needed.
See "To add dynamic view shortcuts in Rational® ClearCase Explorer (Windows)"
in the Shortcut pane, click the Views tab
Right-click in the Views tab and click Add View Shortcut.
In the Add a New View Shortcut window, from the View Type list, select Dynamic.
Select a view from the View Tag list.
As mentioned in "About adding shortcuts to programs in Rational ClearCase Explorer"
These shortcuts let you customize Rational ClearCase Explorer to meet your needs. A Rational ClearCase administrator can make tool and URL shortcuts that are tailored to specific project teams.
In pure command-line, you could create symlink (even in a Windows environment), but you would not need cleartool for that.
As shown in "About dynamic view access model (Windows)", you can also assign a drive letter to a view, which is like the net use command.

Related

Visual Studio Create Resource

In my Visual Studio 2015 WPF Project I want to define a new Resource for my UIElement. In the Documentation on the Microsoft Site (https://msdn.microsoft.com/en-us/library/hh921076.aspx) they say that you can choose a ResourceDictionary.
Following Steps are described:
Click the UIElement
On any Property click on the Little square on the right
Select "Convert to new Resource"
Choose your Option
In my Project the desired Option is not enabled. The only Option i can set is the "This Document" Option.
My Project has the following Structure.
Folder "Resources" which contains some XAML Files that hold single ResourceDictionaries
a ModuleResources.xaml file that merges all the Resource Dictionaries from the Resources Folder together
In the Project Properties i found a Option to define Resources, but those only allow Images/Strins/Icons.
Am i missing something?
Thanks for your help.
EDIT:

Unable to see Checkout Option in Clearcase explorer for a development view

After Creating a View in ClearCase Project Explorer, I was trying to add my projects into the developement view through clearcase explorer, but I am not finding the option "add to source control" while right clicking the projects that I've added. Please help out here
You must check if your sources of your project are in the created view:
either in c:/path/to/my/view/vobtag (snpashot view)
or in m:/myView/vobtag (dynamic view)
If they are not, you would need to do a clearfsimport of the folder where your sources are to the view.
See "How can I use ClearCase to “add to source control …” recursively?"
clearfsimport -preview -rec -nset c:\path\to\sourceDir\* c:\Tests\aVobTag
now when I want to check out those projects by right clicking, I am getting only "search" option, I want to see the other options ex:Checkout
Those sources are not yet added to source control.
Checkout would be available only if the sources are first added to source control.
Instead of pasting the sources directly in the view, it is best to do a clearfsimport of the sources (stored elsewhere) into the view, as described above.

Creating Directories and Files from within Clearcase Remote Client for Eclipse

I found this page, but it is odd because my context menu does not look anything like the one here. Indeed, it has no "New" submenu. I'm using CCRC 7.1 on RetHat 5.4 and Eclipse 3.7.1.
If you can't create files/directories directly from the CCRC sub-menu, one workaround would be to create them directly on your disk, within the web view itself.
Then an update of the view would detect new resources to add to source control.
For CCRC 7.1, the official documentation is here.
Select the resources that you want to add to source control.
Use the ClearCase Navigator, ClearCase Details view, or ClearCase Search Results view.
If you are working in the Eclipse environment, use any Eclipse view that supports the Team context menu.
Never mind, I found that the context menu for the "ClearCase Details" view in Eclipse has the missing "New" submenu.

Where do I set properties in a VS 2008 Setup project?

I have a WinForms project in Visual Studio 2008, and I've created a Setup project for it. I can build this and it picks up the dependencies and creates the .exe and .msi. But I would like to customize it a little bit, for example by specifying my company name and changing the default 90s-style clip-art logo that appears when the installer executes. But I cannot find anything resembling a properties page where I would do any of this. If I right-click on the Setup project and go to Properties it just gives me options about the output file name, compression of the installer, etc.. Is there some other place I need to go to change things like my company name, the product name, and the image?
If you highlight the project, there will be new icons above the solution explorer.
These buttons are for the file system, registry, etc. Anything that is effected by the setup.

Quirks of Visual Studio's property pane with WPF

Working in the visual designer of a WinForm project, when one selects an element the properties pane lists all the properties for that element. Selecting a property in the properties pane then displays a description for that property (the value of the assigned DescriptionAttribute) in a property description box immediately below the list of properties. Even without the visual designer open, one can select another item (e.g. an entry in the solution explorer) to show its properties in the properties pane and the property description box is still active and visible.
When working in the visual design of a WPF project, on the other hand, the property description box does not appear (true for both VS2008 and VS2010). Is there a way to expose it? Surely it must be available, or is this a defect?
The only page I could find in VS documentation is Quick Tour of the IDE that illustrates and describes each section of the visual designer -- except for the properties pane!
2010.02.11 Update
Since, according to Will Eddins answer, there is no way to do this (and the situation is unchanged with the just released VS2010 release candidate) I have filed a defect report against VS2010.
To show the properties pane, on the menu select View >> Properties Window. Alternatively, press F4.
Seems to me a bug too. I don't know if you got any answers from Microsoft Connect but I had a work-around which worked for me always.
First, open VS2008/2010 in waiting mode(meaning; if you have set a starting project, unset it). Go to the solution explorer panel. On the top left of the panel, you may see a box named "properties", click on it. You can alternatively press Alt+Enter.
http://i43.tinypic.com/52nxtv.png
Now, as you open the properties panel, you can see the description box down in the panel(if it is not hidden in your settings file). You may have to resize it.
Now load any project you want ;)

Resources