Setting up PHPStorm with TortoiseSVN - tortoisesvn

I have installed the VisualSVN server on our Windows Server 2008 plus i did connect it with Dreamweaver on other client PC.
so Dreamweaver is ready to go.
But i also want to setup the PHPStorm on other Client PC with that visualSVN.
But i want PHPStorm to use TortoiseSVN to connect to VisualSVN.
I can't find its settings page, i am new to PHPStorm, Especially to this Subversion Control thingy.
I also searched for this over web, but i cant find specific PHPStorm Setup procedure with TortoiseSVN or connecting to VisualSVN Server.
Can anyone Guide me to the Right Path?

The accepted answer is not entirely accurate. It is possible to use TortoiseSVN through PHPStorm's External Tools configurations. This does not integrate into the project navigation directly, but does allow direct file manipulation (and allows for 'blame' support - something PHPStorm's subversion lacks).
Similar functionality is used in eclipse.
Example, paths/macros's might need to be altered:
Name: SVN View Log
Program: C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe
Parameters: /command:log /path:"$FileName$"
Working Directory: $FileDir$

It's impossible to connect PhpStorm to TortoiseSVN as they are doing the same thing.
Then you have two choices :
Connect PhpStorm to your SVN server with his built-in feature.
Or use TortoiseSVN
I'll recommande using PhpStorm feature as it is directly in the IDE.
You can find documentation here : https://www.jetbrains.com/phpstorm/webhelp/using-subversion-integration.html

You can actually do this very easily and it will work inside PHP Storm 8. Install Tortoise SVN and make sure to include "Command Line Tools" as part of the installation. Then you can enable External client and select the "svn.exe" as the executable. This will enable SVN 1.8 format and still work within the IDE.

My solution:
Install TortoiseSVN
Install CollabNet Subversion with command-line binaries (32 or 64-bit)
Open phpStorm
File > Settings > Version Control > Subversion
Set path for your SVN command line client
e.g.
C:\Program Files\CollabNet\Subversion Client\svn.exe
Tortoise can be used as a GUI tool, whereas CollabNet Subversion command line tool can be used with phpStorm. Enjoy!

Related

TF Command Line Executable not showing up on Jenkins

I have installed Jenkins on a Linux Server and I am trying to connect Jenkins to a TFS server. I have the TFS plug-in (4.0.0) installed on my Jenkins and I have also installed the tf command line tool (from here) on my Linux server.
When I create a new job in Jenkins, I get the TFS options to specify the URL, path, user name etc. I was also expecting the "TF command line executable" option to specify the path of the tf tool in my "Manage Jenkins" options but I am not seeing it. Any pointers on why I am not seeing it?
This answers it!
From the plugin notes for TFS on Jenkins:
Ever since release 4.0.0, a TFS command-line client or tool is no
longer necessary as all the interaction with the TFS server is done
using the TFS SDK for Java. The native libraries needed by the SDK are
automatically copied to a sub-directory under the agent user's home
folder.

Windows 8 + Git + Composer + SSH

So, I've been using ubuntu linux for a few months and loved it for my web dev. Everything simply works!
But I switched back to windows because linux sadly doesn't run 90% of my apps :(
So now I have a question, how do you work with git, composer and ssh on windows?
Should I setup a linux virtualbox or is it possible to be able to work comfortably without it?
"TortoiseGit" is a nice extension if you prefer some graphical support, and this needs "msysgit" to give the git commands on windows - which also brings you "git bash" if you prefer the command line. "msysgit" could be installed standalone.
SSH under Windows is always Putty. Grab the newest release 0.63, it has security fixes. To work easily with git then, you need to setup the whole public key authentication with "pageant" running in the background. Putty does a bad job configuring it to convenient levels, you have to manually add it to autostart. Or you could either use KeePass with the KeeAgent plugin to get the same (I prefer it a lot: All authentication stuff in one location).
Executing composer is a question of having installed PHP >= 5.3. If PHP is installed, you execute the alternative install command (without curl) and are nearly ready to go. Having PHP and the composer.phar in the path or add their location to the path eases things a lot.
Caveat: I have no experience with Windows 8 so far, things might be different there. My suggestions are supposed to work on Win 7 at least.
The biggest drawback of Windows is that there is no decent shell support I'd like. Having a virtual machine still is a good idea, but you need your development tools within Windows as well.

Building from Eclipse in Windows on a Linux Build Server

Setup:
- Eclipse Juno running on Windows 7
- GNU toolchain located on a Linux build server
- ClearCase repository accessible from a Windows 7 machine and a Linux build server
I want to open a C++ project from Eclipse in Windows and be able to build the project on the remote Linux build server. What is the best way to accomplish this now in 2013 with the state of Eclipse development?
(There were some dated questions with partial solutions.)
You would need to make a snapshot view directly on a linux path, which is possible through samba: your Windows server would be used for the view_server.exe, but the root directory of your snapshot view would be on Linux.
That leaves you with the issue to execute the gnu toolset from Linux from your Windows session. It is discussed in this 2011 thread.
Basically add a new "Remote Builder" option for managed build projects.
Similar to the Internal Builder, but it would invoke the compile commands over SSH or
whatever protocol the user chose.
It would be a RMB (Remote Managed Build), as in "Remote building".

Can't access my subversion repository through internet with VS 2010

Okey so I have installed ankh svn plugin on Visual Studio 2010 and I am now trying to access
my subversion server through internet. My server is linux based, and is not using apache or
SASL, just the basic install of subversion. I can commit and add files to the server locally, but as I said not over the internet. Any suggestion as to where my problem may lie?
PS I try to access the server by entering the URL: svn://my-ip-address/myfirstproject/
in VS 2010 subversion window.
where my-ip-address is not local but a public ip.
Also I am using -r flag on svnserve so my path becomes relative.

TortoiseSVN on USB key

I am trying to use tortoiseSVN to manage some files that I need to transfer between my computers at work and at home. Do I need to install TortoiseSVN on the USB key that I use to transfer the files? Or will TortoiseSVN work without me having to do so? If I need to install to the key, is that possible? The .msi installer I downloaded doesnt' allow me to specify the directory for installation.
TortoiseSVN is a shell extension, you can't run it from a USB key. You can run other SVN clients using just the binary - most notably the command line client.
You should install TortoiseSVN on both machines, then simply update your files by first checking out and doing an svn up on each machine when you have commited changes.
Do you have access to the SVN server from both machines?
It is not clear to me what you are trying to achieve, but you can put a repository or working folder on the key without installing TortoiseSVN to the key.
Where is your repository located? Is it accessble from both work and home?

Resources