P4WIN has a menu item use current as default which sets the currently selected perforce connection to the Windows environment variables. I'd like to get the same functionality out of P4V, but I haven't been able to locate the option. Does anyone know where to find this, or how to add this functionality?
This post has a work around for the command line, but I'd like to do the same thing from the GUI.
In P4V
Connection->Environment Settings...
Check "Use current connection for environment settings".
This works well when you have the following settings:
Edit->Preferences...
Connections
"When the application launches:", set to "Open the connection specified by your Perforce environment settings"
On Windows go to Connection > Environment Settings... and click the checkbox at the bottom to set your current values in the environment. This menu option only appears on Windows.
Related
I'm playing with C9's SDK a little, trying to write a simple plugin. according to Settings and Preferences as well as settings, one can store settings in the user context using something like
settings.set("user/my-plugin/#someKey", 100);
no problem with that. the problem is that apparently there's no obvious way to remove a setting. In a desperate try, I tried to find the path for the file in which user settings are stored and remove the settings manually, according to the code in settings.js, they should be in ~/.c9/user.settings, but no such file exists. I also never defined userConfigPath in package.json. so can I remove a user setting? how?
set it to undefined to remove settings.set("user/my-plugin/#someKey", undefined);
Or use cloud9>open your user settings menu item.
~/.c9/user.settings is used only in standalone version, on c9.io user settings are stored in a database outside of user vm.
Hi I am new to cognos and using the trial version of cognos(bi_dev_trial_ed_10.2.1_win_en) and getting this error while running it
Error: QE-DEF-0325 The logon failed for the following reason:RQP-DEF-0068 Unable to connect to at least one database during a multi-database attach to 1 database(s) in:
great_outdoors_warehouse
If you are working with Oracle then the problem could be that TNS_ADMIN was not setup in environment variables.
Set the TNS_ADMIN in your windows environment variables, to the path to your tnsnames.ora file and then re-start the server.
Example: TNS_ADMIN:=oracle client/install/product/product_version/Client_1/NETWORK/ADMIN
Steps:
In Windows, right-click 'My Computer' icon and select 'properties'.
Click on the 'Advanced' tab.
Click on 'Environment Variables'.
Under the 'System Variables' pane, search for the TNS_ADMIN environment variable.
Click 'edit' and modify the TNS_ADMIN to include the correct path to the tnsnames.ora file and click 'OK'.
You need to set up the sample databases, then set up connections to those databases.
There's a comprehensive guide here:
http://www.cognossource.com/installing-ibm-cognos-samples/
http://www.cognossource.com/installing-ibm-cognos-samples/2/
I am using Team Services on domain visualstudio.com and I need to delete one project, I found out that I need to use command prompt to delete projects, but when I tried the script it seemed that it doesn't work
My Script is,
TfsDeleteProject
/force collection:https://mytfs.visualstudio.com/DefaultCollection MyProject
My first mistake was that I didn't append DefaultCollection to the URL, but now I get error that I don't have privileges.
Thanks to #Christopher I was able to make the script work.
You can use the following command from the "Developer Command Prompt":
TfsDeleteProject /collection:https://mytfs.visualstudio.com/DefaultCollection MyProject
You can now do it via visualstudio.com
Open the administration context for the team project collection by choosing the gear icon.
Open the menu for the team project that you want to delete.
If you don’t see the actions icon , either you’re not accessing VSTS or you’re not a member of the Project Collection Administrators group.
You must type the name of the team project in order to initiate the delete operation.
Open “Developer Command Prompt” under “Program Files>Microsoft Visual Studio” or in Windows 8 type “Developer“.
In the command prompt, use this command template below to delete your project from TFS. Replace the YourTFSName to yours and also the ProjectName to the name of your project.
TfsDeleteProject /collection:https://YourTFSName.visualstudio.com/DefaultCollection ProjectName
Hit Enter and then Y if you are prompted for confirmation.
Done. Double check by login to your TFS online.
From http://bizvise.com/2013/03/08/how-to-delete-team-project-from-my-team-foundation-service-tfs-default-collections/
Although the accepted answer is absolutely correct and very clear, I managed to get lost and run into that 'grayed out Delete button' issue and just wanted to share what I was doing wrong.
For the folks having issue with grayed out delete button, make sure that you are inside 'View the collection administration page' (as shown in the accepted answer), not inside the project itself.
If the last breadcrumb on the top of your VS Team Services is the name of the project, you are at the wrong place (it looks similar). Here the Delete button (appears on right clicking the project name) will be grayed out.
If you click the link that says 'View the collection administration page' after clicking the Settings(gear), you will be at the right place.
if your project name have space, you must use "MyProject name"
TfsDeleteProject /collection:https://mytfs.visualstudio.com/DefaultCollection "MyProject name"
This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Other users checkouts are not visible in Source Control Explorer (TFS Express)
For TFS 2010 I used Team Foundation SideKicks to check if someone in our team had files checked out.
In TFS2012 Team Foundation Sidekicks does not work anymore.
So i'm trying to figure out how to see if someone (anyone) has checked out files.
So I checked some files out myself, to test things.
First: In VS2012 > Source Control Explorer > Rightmouse on $\ (top root node) > Find > Find By Status > Path": $/, Wildcard left empy > Checked Recursive > Checked Status > Checked Display all checked out. > Find button.
Result: nonthing!!! No items found. HUH???????? How is this possible. I have checked out files, if i browse to that node, i see checked out files. What is going on here????????
Is this a bug???
Second: Command line:
tf.exe status $/ /s:http://[server]:8080/tfs /recursive
Message:
Changes from local workspaces will not be displayed when using the /user option
if a workspace is not supplied or if that workspace is on another machine.
There are no pending changes.
I think this is because we are using Local workspaces?
I want to still use local workspaces.
But how do i check if someone has files checked out?
Ok, I found the problem....
When you edit your workspace in vs2012, in the advanced view (click advanced button when editing your workspace), there is a property called 'Location'. This was set to 'Local'. When we set it to 'Server', all queries described above did work again.
Seems that this is a new feature in TFS2012/VS2012. And in the TFS2010/VS2010 age, the default was simular to 'Server'.
Problem solved....
Hi StackOverflow team !
I've created an Eclipse RCP desktop application which has an extra menu called 'Help' in the menubar. I didn't create it from any of usual ways like adding actionSets extention, or creating and registering the actions from ActionBarAdvisor.java of the project. I don't need it anymore. Please, suggest me how can i remove it from my Menubar ?
It's sounds like the help UI plug-ins are being included within your run configuration
Couple of things to check...
-- Have a look at your application's .product file, and see which plug-ins are defined, and see if the org.eclipse.help.ui plug-in is defined (org.eclipse.help is probably defined since org.eclipse.ui.workbench requires it, but this won't cause the menu to appear)
-- If you are running within Eclipse, open Run --> Run Configurations, select the Eclipse application you are running and check the plug-ins tab. If it is launching with 'all workspace and enabled target plug-ins' then this will be picking up the help UI plug-ins too. Even if it's not set to this option, check the plug-ins ticked to see if the org.eclipse.help.ui is defined.
This configuration should only use the plug-ins required for your application. If it was created by using the 'Launch an Eclipse Application' option from within the .product file, the configuration created should match the plug-ins defined in that.
It's also worth making sure that no other plug-ins use org.eclipse.help.ui - this can be easily seen by removing it, and then pressing the 'Validate Plug-ins' button within the run configuration dialog, it will show you if anything has been broken after removing it