I am trying to Move shelvset from one branch to other in TFS.
I am doing this as per the procedure given in article http://benjii.me/2014/04/move-shelveset-to-different-branch-in-tfs/
When I gave the command TFTP, it's giving below error, "TFTP is not recognized as an internal or external command."
You need to install the TFS power tools, and then run that command from the proper dir that contains the tfpt.exe that gets installed with the Power Tools.
Related
I'm new to PowerShell, so this may be a basic oversight.
On windows 10 pro (for development) and Windows Server 2016 (target environment) I have installed the latest released version of PowerShell.
(Get-Host).Version gives Major 6, Minor 1, Build 0, Revision -1.
My first mistake? as a version of PowerShell is already installed by default?
The process I am trying to automate is to share a backup cartridge drive from host physical machines, and access it as a network share for the VMs (Hyper-V) to backup to. In development I'm just using a USB attached drive, but errors are the same in both environments.
I keep getting errors in any of the SMBShare commands :
Get-SmbShare, Remove-SmbShare, New-SMBShare.
The errors are of the format:
"The term 'Get-SmbShare' is not recognized as the name of a cmdlet,
function, script file, or operable program"
I am running Powershell as administrator, and getting the same errors when typing directly, or from running a script.
Is there something I need to add/import to use SMBShare commands ?
PowerShell has fractured; everything up to v5.1 was Windows only, then v6 was made cross-platform by moving it to a new foundation, and that lost a lot of compatibility.
Your easiest way forward is to use PowerShell 5.1, unless you need v6 for some specific feature. Or to use 6 to launch 5.1 and run a script, the same way you might launch Python or VBScript engines to run a script.
But if you are staying with 6, then there is another option - Microsoft have released a WindowsCompatibility Module - still an early release candidate, so not heavily tested. This brings a way to run Windows modules inside PS v6 (only on Windows, not cross platform).
You would need to install it, with this as an administrator:
Install-Module WindowsCompatibility
Then you can:
Import-Module WindowsCompatibility
Import-WinModule SmbShare
Get-SmbShare
This answer suggests this library to use web sockets for lua.
The installation guide of the library contains three strings:
$ git clone git://github.com/lipp/lua-websockets.git
$ cd lua-websockets
$ luarocks make rockspecs/lua-websockets-scm-1.rockspec
I don't know what results of the last command should be and how to proceed from executing it to compiling examples. But on my PC it only produces error message
'"C:\Program Files (x86)\LuaRocks\\lua5.1.exe"' is not recognized as
internal or external command, operable program or batch file
in visual studio 2015 developer console.
In regular console it just complains that cl is not recognized
I want to know not only ways of fixing the error, but all actions needed to start communicating with websockets from a lua script on windows with this library or another one.
The script will be run in vm provided by a third party app. I can require external modules from it. I installed luarocks from developer console. There are no other installed lua frameworks/compilers. The system is windows 8.
If you need to run this as the client, then you only need three pieces: lua interpreter, luasocket library, and the lua-websockets module you referenced. The module has other dependencies (luabitop and copas), but those are optional if you just want to try simple sync calls using luasocket. You can compile luasocket libraries yourself (that's what luarocks probably attempted for you to do, but you can also do it from the command line) or find already compiled libraries; for example, see this discussion for details.
example for download project
cd xampp\htdocs>svn co http://svn.doctrine-project.org/trunk doctrine
then error
'svn' is not recognized as an internal or external command,
operable program or batch file.
In case if someone is looking to install Command line client tools on top of already installed Tortoise, you can do this.
Download the latest from website (https://tortoisesvn.net/downloads.html) and open the exe.
When you reach this screen (see below), untick all, but `command line client tools'.
Press "Next" and continue the installation.
This will only install command line client tools on top of your existing Tortoise.
Hope this will help someone. Cheers!
Subversion is not installed by default on Windows. You have to install it to be able to use 'svn' command lines. Packages can be found here: http://subversion.apache.org/packages.html
You can download TortoiseSVN and while installing choose CLI package. Once after installation add the folder location to Environment Variables->System variables
I just got my free Sonatype Maven repo and have been attempting to do a release. However whilst trying to do this I get an error when maven-gpg-plugin attempts to sign artifacts.
I get a ton of asterisks showing beforehand and I just press enter and then I get this issue, here's my full log: http://pastebin.com/GkLbFgBF
Here are the command line parameters I am attempting to use
clean install javadoc:javadoc javadoc:jar source:jar release:clean release:prepare release:perform
I installed gpg4win thinking that might solve this but it hasn't.
As each system is differently configured the following steps works in some cases.
when you receive this error message, “gpg is not recognized as an internal or external command” then you need to update your PATH variable.
To do this without reboot:
Open up a command prompt window
Paste this in:
SET PATH=%PATH%;C:\Program Files (x86)\GNU\GnuPG
Hit Enter
A quick and easy fix (at least for me) was to just copy the gnupg using the File Explorer interface from whatever folder it got saved to when you originally downloaded it. Then make sure it's pasted into both Program Files (x86) and Program Files folders in c: or Windows(c:)
I was getting the gpg is not recognized as an internal or external command error during a Linux Mint authentication check. Checked the PATH saw that C:\*AnyDirectory*\gnupg\bin was absent. Went to my c: folder in File Explorer and searched gnupg saw that it was in Program Files but not in Program Files (x86) fixed that now I get C:\Program Files (x86)\gnupg\bin in my PATH and the error message went away.
You can also use another plugin https://www.simplify4u.org/sign-maven-plugin/ for signing artifacts.
sign-maven-plugin does not use gpg for signing, it use java BouncyCastle for signing artifacts so you need not install gpg executable and plugin works on any operating system without special configuration.
I am trying to check out a maven projects in Netbeans. However, I am failing. The error message I get whenever I try to check something out is:
Provider message:
The svn command failed.
Command output:
'svn' is not recognized as an internal or external command,
Most probably, you don't have svn in your PATH.
If you're running Windows, try echo %PATH% in command line and check if svn is available in the folders that are in your path.
If you're using Linux, try which svn. If nothing is returned, svn is not installed.
For Windows, I'm using silksvn command line client.