TFS 2010 Build: Microsoft.TeamFoundation.Build.Workflow.Activities.SyncWorkspace - workflow-foundation-4

If I call (Microsoft.TeamFoundation.Build.Workflow.Activities.SyncWorkspace), it seems to get all the folders and files from the workspace. Can I specify the only selected folder to be downloaded?
Say, Workspace is mapped to RootDir_A.
RootDir_A
|---- SubDir_A
|---- SubDir_B
|---- SubDir_C
|---- SubDir_D
'---- SubDir_E
If I only want to get SubDir_B and SubDir_C from the Workspace. What do I need to specify?

You need to scope down your working folder mappings of your build definition to just the sub folders you want to sync and build. Open your build definition in Visual Studio to edit, and go to the working folder mappings tab to remove or cloak the ones you do not want.

Related

The output directory is under your source tree in meteor

how do I solve this
The output directory is under your source tree
warning:the output directory is under your source tree
your generated files may get interpreted as source code
consider building into a different directory instead meteor build ../output
I apologize for my ignorance on this matter, I am new in the world of programming and meteor. about my case. 1. I have a folder on Desk called “Findme” where I have the structure of my project (the code and everything which forms the application which works) 2. Then through the console I access that directory findme and then run the command meteor build/Desktop/MyApp --server = https: //findme.com, and start downloading. 3. But inside the console I also get the message indicated before and when it is finished, and I check the folder MyApp, it is empty. 4. And when I check the Findme folder it has created a folder named ~ and inside displays a file called Desktop/MyApp but it also doesn’t have any useful files, only winrar and nothing useful. 5. I am trying to generate the apk, could you please let me know what I might be doing wrong? Is there another way to generate the apk? I would appreciate it if you could help me!
Your should specify a path for where to build your application that is outside of your project directory.
Otherwise this can lead to problems with Meteor's file watcher and as your error already pointed out:
your generated files may get interpreted as source code consider
building into a different directory instead
So if your command uses a relative path, as used in meteor build ../output then it is important to call this command at the most upper project folder.
Consider the following project structure:
/myapp
/client
/import
/server
If you call meteor build ../output from within /myapp it will generate the output folder as expected outside of the project:
/output
/myapp
/client
/import
/server
However if you call it from within a subfolder, say /myapp/imports it may generate the output within the project like so:
/myapp
/client
/import
/output
/server
So keep this in mind when building your app.
Further readings:
https://guide.meteor.com/deployment.html#custom-deployment
https://docs.meteor.com/commandline.html#meteorbuild

Sharing .netcore project between windows and linux Keeps adding files

I am working on a group project and we have decided to use netcore for the project. The project was originally created using VS.
When I pull the project and run it using VSCode, I have noticed two things:
I have to navigate to the src folder and run it from there.
Before pushing new changes to the master branch, .netcore on linux has made changes to obj folder and added .vscode folder.
how can I stop this from happening so we don't step over each others toes, and why does this happen?
Thanks.
You should not add the files under obj to source control. It contains artifacts that are regenerated on every build.
If you use git, here's a suggested list of files and folders to ignore:
[Oo]bj/
[Bb]in/
.vs/
*.xap
*.user
/TestResults
*.vspscc
*.vssscc
*.suo
*.cache
*.docstates
_ReSharper.*
*.csproj.user
*[Rr]e[Ss]harper.user
_ReSharper.*/
packages/*
artifacts/*
msbuild.log
PublishProfiles/
*.psess
*.vsp
*.pidb
*.userprefs
*DS_Store
*.ncrunchsolution
*.log
*.vspx
/.symbols
nuget.exe
build/
*net45.csproj
*k10.csproj
App_Data/
bower_components
node_modules
*.sln.ide
*.ng.ts
*.sln.ide
project.lock.json
.build/
.testpublish/
launchSettings.json

What creates the symlinks in the bin folder in Symfony2

I'm having some issues since I've changed the vendor folder path for a symfony2 project. (Its currently outside of the project)
But right now the symlinks (phpunit, doctrine, etc) inside the bin folder are wrong.
When composer runs in which part or what actually creates the symlinks that appear in the bin folder (like phpunit) that point to lib in the vendor folder? Where those paths are comming from?
Thanks
Just delete the vendor directory and run ./composer.php install and you'll get the symlinks back. I couldn't find a way to force recreation of the bins

How to add external Java libraries' folder to Jython project in PyDev?

I am completely new to Python/Jython/PyDev.
I just tried to add a folder containing JARs as an External Source Folder to my Jython project as shown here: https://stackoverflow.com/a/12583946/2018047
Unfortunately, imports only resolved when adding the JARs individually (instead of their containing folder).
Do I have to add something like __init__.py files to those directories to make it work on a per folder basis? How are the init files structured?

Eclipse CDT static resources under build folder

I'm building a C++ project under Eclipse and my release folder should include a static sub-folder with some files inside it, those are required by executable during runtime. The problem is that this folder is automatically deleted before every build - entire release folder is completely wiped out and I'm losing all the files inside it.
Solution is simple - need to place rm.exe from mingw utilites on path and Eclipse will delete only specific build files instead of removing entire release folder.

Resources