TFS support for netbeans ide - netbeans

I need to checkout and manage a project from TFS (Team Foundation Server) and was wondering if there is an easy way to do this.
I usually use SVN, but for this particular project, TFS is a requirement.
The best way I've found so far with a bit of Googling is at http://marceloverdijk.blogspot.com/2009/01/grails-netbeans-and-microsoft-team.html

Short answer, no I don't think there is any easy way to integrate the Netbeans IDE and TFS. However there are some options.
Firstly you could use the SVN bridge this allows subversion clients to connect to TFS. If that is viable then you should be good to go. Here are a couple of blog posts that you may find useful when using TFS if you have a SVN background. SVN to TFS. If SVN Bridge doesn't meet your needs then there are other ways to use TFS but none of them are integrated in to the Netbeans IDE.
If you're developing on Windows then you can install Team Explorer (Use the version that matches the version of TFS you're using e.g. if you're connecting to TFS 2010 then install Team Explorer 2010), this will install a Visual Studio Shell and the Team Explorer plugin. Along side that it will install the "tf" command line utility, you then have a choice of using either a GUI with the VS plugin, or the command line.
You should also install the TFS power tools, they add some usefull functionality such as extra command line tools (using the "tfpt" command) they will also install windows explorer integration, this will allow you to do some basic Source Control functions from the Right Click menu in windows explorer (Check out, check in, diff etc)
You should also look at Team Explorer Everywhere, I don't think it does Netbeans integration but it does do Eclipse. If you're developing on an OS other than Windows then this is your only option.
To use any on these tools you must have a TFS CAL to be licenced properly. If you have an MSDN licence that will probably include a CAL, if not then someone needs to spend some cash and buy one :-).

Since TFS started to support Git repositories, it is possible to:
create TFS project for Git
after project creation use url from Code tab
to configure Git Repository Location in NetBeans IDE

Once you have the tf.exe (from Visual Studio or Team Explorer) there is a plugin that can be configured to do the TFS commands from NetBeans:
Download plugin from: http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=676
Install the plugin in NetBeans: Tools\Plugins\Downloaded\Add Plugins…
Configure the plugin in NetBeans: Tools\Options\Path Tools
At Edit Commands For File enter: "c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf" checkout "{path}"
Press Ok
With a file selected in the editor, or the package explorer press the “Edit Path…” toolbar button.
The file is now checked out in TFS.
Make sure to use the proper path to tf.exe.
There are 3 buttons, so you can configure 3 TFS actions (I use checkout, add, delete).

Microsoft actively supports only Eclipse for TFS integration.
At this page there are more info and the possibility to upvote, to report your interest in such a feature directly to Microsoft.

In NB 8.2 you can setup Kenai Team Server.
then you will be able to login into a team server : menu Team->Team Server -> login

Related

Eclipse Plugin for ClearCase

Installed on my Windows 7 (32-bit) computer is ClearCase Explorer 8.0.1.9 and Eclipse Java IDE 4.7.2 (Oxygen) and JDK 1.8.0_161.
I am looking for suitable plugin so that I can perform check-out / check-in to ClearCase from Eclipse workbench.
I found a plugin on sourceforge but I would prefer something from IBM.
Also I cannot use the newer product ClearTeam Explorer, I must use ClearCase Explorer.
Try using cleartool command line options to checkout or checkin.
it is very simple and got clean response.
Do integrate batch commands with Eclipse
Check this related Question How to run a batch script (.bat file) from eclipse
IBM Help page for Clear case commands
Cleartool subcommands for base ClearCase and UCM
You'll need to update your clearcase client to 9.0.0.6/9.0.1.2 or later to use the cte plugins that support that release of eclipse. 8.0.1.x tops out at 4.6.
The plugin mentioned by #Elyahu is last updated in 2013, and may not work with a current eclipse/jvm release.
As I remarked, in any case Eclipse is not an IBM tool, so you can find any suitable plugin you find on the net.
That one is an IBM one, but for lower ClearCase versions, but it might be OK, since its only a plugin, and you only need a check-out <-> check-in ability
https://www-01.ibm.com/support/docview.wss?uid=swg24025674
Enjoy,
Eli
Since you have mentioned you have 'ClearCase Explorer 8.0.1.9 ', I assume that you have installed it in your computer/VM/asset.
During installation of Clearcase, there is option you can select to install 'CTEUpdateSite'. If you enable that option, you will see /CTEUpdateSite directory. You can configure it in your eclipse Help--> Install Software, Add a 'Local' location so that those plugins will get installed. Post Installation you will able to do all ClearCase operations from Eclipse IDE itself.

If I check in eclipse project into tfs, will I be able to use it in VS environment?

My ultimate goal is to completely migrate eclipse (mars) project into Visual Studio environment.
During my research, I have tried several options:
1) Create project from existing code. Doesn't apply to my case, since my project is a combination of .java and .jsp files, wizard only offers C++, C#, Visual Basic options.
2) TFS plugin for eclipse.
3) Checking in the project from eclipse into tfs.
Within the third option, I am planning to create a new team project, and check in the project from eclipse based on that article manual.
My question is will I be able to open and operate project I checked in inside VS environment?
I am also opened to any other suggestion, which might help me resolve that problem.
If you have an Eclipse project and you want to move to something like Visual Studio there are three options:
Java Language Support plugin
Visual Studio Code
Java Language Service for Android and Eclipse Android Project Import
Except for the latest, I expect you have to review the build script to make it work in the new environment.
TFS/VSTS is language agnostic and has no interested in IDE and has no "project conversion" support.
No, sharing(check in) the project in Team Foundation server just means to source control the code. You can't directly using them in VS environment.
However you can download the project and work on it locally(local eclipse). Then check in the changes to TFS server. More details please refer: Importing Projects from Team Foundation Server
Here is a tutorial includes step-by-step instructions to help you get
started with the Team Foundation Server plug-in for Eclipse.
Team Foundation Server Plug-in for Eclipse - Beginner's Guide

Configure Eclipse GIT (eGit) to Team foundation server

Anybody know how to connect eclipse to tfs express via GIT, or even if it is possible?
The only help link I have seen in tfs express was this one.
But that one looks to be more aimed at the online version of tfs instead of express.
Yes it's supported. The TFS express is the free version of standard TFS. Here is the detailed introduction.
From OP:
The problem was, needed to:
Enable basic authentication on "team foundation server\TFS" in IIS
It is possible to connect tfs to eclipse via git. In order to do this you need to install an eclipse plugin - egit.
Recent versions of Eclipse come with the EGit plugin already installed. However if your version doesn't have it already, you can easily install it. These are steps to install the plugin
Click on Help In the menu bar.
Select MarketPlace
In the searchbox type EGit
click the Install button

Source Control for Xamarin /VS2010 cross-platform solutions

I would like to know how to connect Xamarin Studio with a TFS (Team Foundation Server) for source control purposes or, if it's not possible, how to connect Visual Studio 2010 to Git.
I am already trying to use TFS from http://tfs.visualstudio.com/ and it's working great with VS2010 but I couldn't find a way to connect it to Xamarin Studio.
The goal is to manage all source codes in the same way - the developers are located in different places so the server should be placed in internet - and I think I will decide among TFS or Git. I tried to use the Git Plugin but it doesn't work with VS2010.
Is there anyone who already found a good solution? I know there's a plugin for VS2012 (Using Git with Visual Studio) but I found nothing for 2010 version.
I tried to use this too: http://www.youtube.com/watch?v=efS0kKvfi6k but I think it's not what I am looking for (reliable way to manage source codes from a server)!
I am ready to install and use other source control systems too, if they can manage sources from VS and Xamarin Studio.
First, you have to have a git-enabled team project. Then from Xamarin Studio click on version control menu then choose checkout. Enter your team project url tfs credentials to git clone it.
Xamarin studio integrates with git and subversion out of the box now, and will connect to any tfs projects that have been git enabled. (i don't use subversion so i can't speak to that one)

Which open source Source Controls products integrate with Microsoft VB6?

I'm looking to possibly move away from CVS (to maybe SVN).
Anyone know which open source version control systems integrate with the VB6 IDE (automatic checkouts, etc.) ?
SVN will work with VB6. there is a VB6 version of SVN that intergrates with the IDE called SVNVB6.
Let me direct you to: svnvb6.tigris.org
Tortoise SVN attaches to Windows and you can use it with anything including VB6, .NET or just files on your PC.
Visual SVN integrates with Visual Studio, although I don't know about the VB6 IDE:
http://www.visualsvn.com/
There are some answers here regarding Subversion and VB6:
Using Subversion with Visual Basic 6