build-automation

TFS: cannot set up new build

倖福魔咒の 提交于 2019-12-07 02:02:30
I have set up TFS Build Service on one machine in the network. Now I want to create a build. When logging to Team Explorer (under my personal TFS account) I see a Build subfolder in my project folder. However there is a small red cross icon alt text http://s001.radikal.ru/i195/1001/fa/8196d29e4f9b.jpg Does it have to do with my account rights? I belong to Contributors group. How can I create a new build? MSDN says To create a new build type 1. In Team Explorer, select the project for which you want to create a new build type. 2. On the Build menu, select New Team Build Type. Where is Build

Build Automation & MySQL Workbench Scripting: Forward Engineer SQL CREATE SCRIPT

妖精的绣舞 提交于 2019-12-06 20:24:54
问题 I'm currently looking into automating a software build process that includes a database schema defined in MySQL Workbench. Using Workbench's scripting capabilities, I'd like to open a Workbench document and export its schema as an SQL CREATE script. What I'd like to know is if there is a function that exports the entire schema in one step as Workbench's File | Export | Forward Engineer SQL CREATE Script , automatically handling any dependencies between tables. I've found some candidates in

Pre-Build events in Eclipse

风流意气都作罢 提交于 2019-12-06 18:24:18
问题 I have a project that uses jaxb for some xml processing. How can I setup a pre-build event in eclipse to execute xjc before building my project? 回答1: Goto Project->Properties->Builders. Create your own builder and enable it. And in the configuration of the builder enable "During auto builds" etc. as shown below: 回答2: At the moment, eclipse doesn't support this. However, you can use a build tool like Ant, Maven or Gradle for getting the same result. There are functions in these tools which

ocamlbuild; building toplevel

只谈情不闲聊 提交于 2019-12-06 11:49:34
问题 Having successfully reorganized my project for ocamlbuild with subdirectories and using ocamlfind, I've found it difficult to build the top-level. I've constructed a .mltop file containing all the modules that would be included and added the packages to the _tags , but the build doesn't work. It cannot find the C functions that are compiled with one of the modules. With -classic-display on, I can see that file, libcside.a , not being included and isn't even being compiled at all! The c file

TFS 2012 automatically build projects that depend on current one

…衆ロ難τιáo~ 提交于 2019-12-06 09:44:31
Ok so I have to admit, I'm very new to all of this build automation stuff. But basically what I'm wondering is if there is a way to wire up my build definitions in such a way that if I have a case like so ProjectA produces ComponentA.dll ProjectB references ComponentA.dll and produces ComponentB.dll ProjectC references ComponentB.dll then when I make changes to ProjectA and check them in, the build process would automatically also build ProjectB, and finally ProjectC, and report any errors. So is there a way to accomplish this, or should this type of thing be handled somehow completely

Automatically Copy Built Files and Libraries with java, eclipse, and ant

若如初见. 提交于 2019-12-06 09:19:53
问题 I'm using java with eclipse on windows 7, and I'm trying to build a server program that will run on another (ubuntu) machine on my network. How can I get eclipse to save the built class files into an external location (I have a drive mapped, or it could even be over ssh/sftp/whatever)? I have created a git repository on that machine, so the class files are saved in there, however the external libraries that I'm using (which are on the build path) are not being saved as part of the repository.

How to Recursively Delete wildcard files in TFS Build?

牧云@^-^@ 提交于 2019-12-06 08:56:00
I want to recursively delete files that match a certain pattern as part of my post-build cleanup routines in TFS Build. I've tried this... <Delete Files="T:\DeploymentDir\**\A*" /> No errors in the build, but it doesn't work. Modify your TFSBuild.proj file and add the following lines at the very end (just before closing ): <Target Name="AfterDropBuild"> <ItemGroup> <FilesToDelete Include="$(DropLocation)\$(BuildNumber)\**\temp*.*" /> </ItemGroup> <Delete Files="@(FilesToDelete)" TreatErrorsAsWarnings="true"/> </Target> I don't think the Delete task will automatically expand the wildcard. You

C/C++, FORTRAN, underscores, and GNU Autotools

浪尽此生 提交于 2019-12-06 07:48:11
问题 I have a question about mixed-language programming (C/C++ and FORTRAN) using gcc and gfortran. I've searched plenty of "mixing fortran with language X" and haven't been able to resolve this. I'm not sure if this is a linking problem or a compiler problem, or both. I've created three files and I'm using GNU Autotools to build the crude application, but should be able to build the app from command line independently. The C File (main.c) will be the driving app, that calls several FORTRAN

Post build event in VS2012..Running a Batch file

耗尽温柔 提交于 2019-12-06 05:32:58
问题 Am trying to run a Batch file in Post build event in Visual studio. Referred Can we execute a .bat file in post build event command line in visual studio? for reference. When i post the line xcopy "$(ProjectDir)bin" "$(SolutionDir)Deploy\bin" /S in postbuild am getting the expected result Same line i put in bat and tried calling call "$(SolutionDir)\Deploy.bat" or call "Physical path\deploy.bat" Am getting excited with code 1. What am i doing wrong here ? Can i specify macros inside batch

How can I have teamcity run a .bat file on each successful build?

◇◆丶佛笑我妖孽 提交于 2019-12-06 05:23:40
I have a teamcity (4.something) install that creates .wsp file for deployment to sharepoint. Currently I have to copy the wsp out of the build artifacts directory and into a little deploy folder I have created. In the folder I run a .bat that deploys the new .wsp to our test server. What steps can I take to automate this? Either copy the .bat into the artifacts folder and update the paths etc or copy from the artifacts folder into the 'deploy' folder and run the .bat from there. I am a neophyte when it comes to the intricacies (or basics!) of MSBuild and the like... so hand holding is