Eclipse svn command line

Hi, is there a way to use svn command line from eclipse?

Inside eclipse in my project browser, I can righclick, and then click a command, and I have something like svn. Not sure which plugin it is. But it does not have a button, for example, to ignore files to upload. That is why I want a command line to it. And my question is how to do this.

Ok, so how can I use it from the command line in windows xp?

+7
eclipse svn
source share
6 answers

The plugin you are probably using is Subclipse . It should have the option "Add to svn: ignore". If not, try upgrading to the latest versions of Eclipse and Subclipse. In general, a spell should be enough, and there is no need for a command line.

For Windows XP, I recommend Tortoise SVN . It integrates with Windows Explorer and offers you a graphical environment for all your needs. I would say that it is much more stable than the subtitle and very easy to use.

If you want to use the command line tools, download and install svn-win32 from here . Command line tools can be useful in performing merge and copy operations.

I should also point out that none of these methods interfere with each other. You can work with Tortoise SVN, otherwise the command line and subtitle will not be affected. All svn clients work by writing to and reading from hidden directories called .svn. There is one such directory in each folder under source control. As long as the svn client software has the same version, the svn client can write to these hidden folders, and the other can read from it. A problem may occur if one of the clients is upgraded to a version that uses a different protocol to write to .svn folders. In this case, older clients will not be able to read the information stored there. Upgrading them to the latest version will solve the problem.

+5
source share

Not sure what you are trying to do; sometimes it’s better to describe the purpose rather than the means you plan to make.

Have you tried Subeclipse ? It allows you to use SVN inside Eclipse; it's great.

+1
source share

I'm not sure if you can use it from Eclipse, but nothing prevents you from just using it. From cmd / xterm / whatever. In any case, this will not impede Eclipse, and it will not interfere with Subclipse (which I assume is what you use).

+1
source share

I use subclipse and, generally speaking, it works very well.

However, and I think this is your problem, Team Synchronization, by default, wants to add all files to my projects, not just the ones I add to version control. It is lame and frustrating, and apparently there is no way to disable it. However, screenshots for older versions hint at the possibility of disabling the function. Disruption!

+1
source share

I am not personally a fan of Subclipse - it slows down the IDE too much for my taste. Here is an alternative approach using external tools and TortoiseSVN

  • Create a new external tool
  • Name it SVN Function
  • Set the location \ bin \ TortoiseProc.exe (my file is C: \ Program Files \ TortoiseSVN \ bin \ TortoiseProc.exe)
  • Specify the arguments / command: commit / path: "$ {selected_resource_loc}"
  • Open the file / directory you want to transfer and run the external tool.

Change commit in step 4 for additional commands. You can also add specific tools to your favorites and place them in the drop-down list on the toolbar. Additional arguments here

+1
source share

Not intended to be too presumptuous here, but I think you should see if Subversive or Subclipse really solves the problem differently than you expected. For example, it is very easy to ignore files and directories that will be scanned through Subclipse.

On the other hand, if you really want to hack using the command line from Eclipse, you must install the Target Management Project (supported for Eclipse Europa and Ganymede). After installation, you can run the remote shell on your local computer, and then type :) at the command prompt .

PS: I never used this approach; Subversive satisfies all my requirements for the Eclipse SVN plugin.

0
source share

All Articles