I have the following setup.
Project Area 1
RTC Stream 1 : Component 1 : Eclipse project Project A
RTC Stream 2 : Component 1 : Eclipse project Project A : default flow target is RTC Stream 1
Project Area 2
RTC Stream X : Component X : Eclipse project Project A
Note that the eclipse project name is the same and the contents are related to the same work.
Project Area 2 belongs to a different team and the two teams need to be able to synch changes with each other.
I can easily synch the contents between RTC Stream 1 and 2 by changing flow target of one to the other and accepting the changes.
How can I bring the changes in Project A in Component X into Project A of RTC Stream 1?
How can I bring the changes in Project A in Component X into Project A of RTC Stream 1?
By adding componentX in RTC Stream 1: a project can include components "owned" by another project.
Answer:
You could export a change set as a patch, and apply that patch in your project in 1.
Related
Im using VS 2013 (CE).
Windows Server 2012 with a local install of Azure DevOps.
I can connect to the repository via the URL
http://example.local/DefaultCollection
Under defaultCollection i have another few test projects i.e.
/DefaultCollection/A-Project,
/DefaultCollection/B-Project.
For this example i will user C-Project which im trying to add to source control.
All im trying to do is add a project to this source control but i am experiencing issues that i would have thought shouldnt exist:
In VS2013, I add a new solution. I right click the project and select "Add solution to source control". Immediately it selects the project A-Project with the path /DefaultCollection/A-Project/C-Project. I dont want this as it resides inside another project.
From the web portal i create a new project and select Team Foundation Server (not Git as the examples online i have seen all select Git). In VS i create a brand new project and then attempt the same as 1 above but it tells me that i already have a project with this name under source control. I expand A-Project and i see it listed and undo any changes but it still doesnt add as i get some form of error.
Other problems range from the local version not mapped to, existing file exists/under source control to other errors.
What is the correct process to add a project to Azure Devops when using Visual Studio 2013 CE?
The default steps are described here: Set up Team Foundation Version Control on your dev machine.
You have to:
Create a workspace from the target project.
Copy your project into the locally mapped folder.
Add your project to the source control.
As workaround:
Create workspace from the target project: Create and work with workspaces
Copy your project into the locally mapped folder.
Add your project to the source control by: Manually add files to version control
Open the project and fix source control bindings:
Useful document: Add files to the server
I'm writing code in a TFS 2013 Project. I'd like to check it into a different Project on the same server. Can I do this? Thanks
You can not directly check in the code to another project, you need to add the code file to another project first for source control, then check in the code changes.
In visual studio Team Explorer:
Connect To TFS project 1, configure the workspace and map source
code to local folder1. Open the folder1 in windows explorer.
Connect To project 2, configure the workspace and map source code to
local folder2. Open the folder2 in windows explorer.
Copy the code file which you want to check into another project (eg,
project 2 here ) from folder1 to folder2, then the system
will detected the new added files under Pending Changes >
Excluded changes.
Click the Detected link to Promote the new added files.
Check in the files to Project 2
Refer to these articles for more information : Add files to the server
and Check in your work to the team's codebase
UPDATE:
You can link to the WI in the same collection, but cannot link to the WI which in another collection.
That means, if the team projects are in the same collection, then you can link the WI (associate with the changeset) which belongs to another project directly.
I have a project that has two folders , Main , archive . Main is mapped by Team Build for building ( which I could reach to by SourcesDirectory). This is mapped in build definition as "sources"
Then I have manually mapped "$/" to a different location which include Main and archive.
When I see in " Manage workspaces" I see two workspaces (1) which maps Main and (2) which maps complete project.
Now when I use activity ConvertWorkspaceItem as
direction = server to local
input "$/"
result some variable
workspace workspace
and builds it fails with "$/project is not mapped" as by default workspace being referenced is the one which maps to $(sources).
is there a way I can modify ConvertWorkspaceItem to select user defied workspace ? or any other way I could get to $/project other then hard coding the path ?
I'm using TFS 2010 and Team Build 2010 to automate building a C++ project for embedded platform (TI compiler).
I'm want to customize my build version number by reading a file that is under source control.
The problem is that in the default workflow template (the one I've used as a template for my modifications), the build version is defined before "Run On Agent", which is where the source code is downloaded.
Is there a way (from inside a custom code activity) to open a file that is under source control without downloading it?
I already know a workaround - use the drop location root as a sorf of temp folder - to download that file, extract what I need from it, and then delete it. But I'm wondering if there's a more elegant way of doing it.
I have a single TFS server with 2 different team projects - Project 1 and project 2. Project 2 is completely empty. Now, I want to copy some ASP.NET project 1 folders into project 2. How do I do that?
You can rightclick on the team project in Source Control and then select Branch (2008) or Branching and Merging -> Branch (2010).
In the dialog you see specify that TP2 is the target for your branch.
Check out project 1 and project 2, on the local system copy the folders you wish to copy from p1 to p2. From the source control explorer add the copied folders to source control. Check in changes.
AFAIK there is no way to make "links" to existing files or folders in TFS.