Intellij TFS and TEE plugin using different workspaces

I am trying to synchronize Intellij, built into the workspace of the TFS plugin, with the one that uses the TEE 'tf' command line command on OSX Mountain Lion and fails.

This question seems very similar to mine, however it has nothing to do with what to do when the computer name provided by each tool is different.

Intellij says that my computer name is the fully qualified domain name (for example: hostname.domain.com), while the tf workspaces command reports that the computer name is just the host name (for example: host name). Therefore, they cannot use the same workspace. I know that you can change the computer name of the workspace, but I would like to use both methods simultaneously with ant jobs using the "tf" command locally. Our Windows users in the group can do this very well.

Is there a way to get these tools to report the same for the computer name? I believe that then I could use the "tf workspaces" command and let me use both at the same time in the same workspace. Very important.

+4
source share
2 answers

It is not supported (according to the responsible developer). Please send a request and we will see what can be done to make it work.

+2
source

Team Explorer Everywhere allows you to override the local host name with the computerName system property. You can edit your tf launcher script according to what IntelliJ uses. You can change the last few lines of a file:

 exec java -Xmx512M -classpath "$CLC_CLASSPATH" \ -DcomputerName=`hostname -f` \ "-Dcom.microsoft.tfs.jni.native.base-directory=$BASE_DIRECTORY/native" \ $RANDOM_DEVICE_PROPERTY com.microsoft.tfs.client.clc.vc.Main " $@ " 

If hostname -f does not actually report the same hostname as IntelliJ defines, you can of course just write it down.

+1
source

Source: https://habr.com/ru/post/1440811/


All Articles