build-automation

Why am I getting “could not find com.android.tools.build:gradle” error?

筅森魡賤 提交于 2019-12-04 10:21:09
问题 This is based off my last question as well. Following this tutorial, I cloned the project into my machine and am trying to get the project to build properly. In the process of fixing the error I got in my last question, I encountered a new error. This is the section of the build script I am trying to fix/edit buildscript { repositories { mavenCentral() mavenLocal() maven { url 'https://github.com/steffenschaefer/gwt-gradle-plugin/raw/maven-repo/' } } dependencies { classpath 'de.richsource

Ant is not able to delete some files on windows

北慕城南 提交于 2019-12-04 10:06:01
问题 I have an ant build that makes directories, calls javac and all the regular stuff. The issue I am having is that when I try to do a clean (delete all the stuff that was generated) the delete task reports that is was unable to delete some files. When I try to delete them manually it works just fine. The files are apparently not open by any other process but ant still does not manage to delete them. What can I do? 回答1: I encountered this problem once. It was because the file i tried to delete

VB6 Integration with MSBuild

泄露秘密 提交于 2019-12-04 09:53:27
问题 So this is a question for anyone who has had to integrate the building/compilation of legacy projects/code in a Team Build/MSBuild environment - specifically, Visual Basic 6 applications/projects. Outside of writing a custom build Task (which I am not against) does anyone have any suggestions on how best to integrate compilation and versioning of legacy VB6 projects into MSBuild builds? I'm aware of the FreeToDev msbuild tasks at CodePlex but they've been withdrawn at the moment. Ideally I'm

Post build event in VS2012..Running a Batch file

心不动则不痛 提交于 2019-12-04 09:48:01
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 file ? Thanks You are getting a VS error because it returned an exit code that is not 0. This does not

Name of Provisioning Profile used to sign an iPhone app?

我与影子孤独终老i 提交于 2019-12-04 08:21:39
问题 I wrote a script that uses xcodebuild to generate an AdHoc build of an iPhone application. I would like to edit this script to output the name of the Provisioning Profile used to sign the build. This would allow me to include the Provisioning Profile in the zip that is automatically generated. This way, I could automatically send the archive to the AdHoc testers and be sure that they have the right Provisioning Profile to install the app. Is there any way to extract the Provisioning Profile

How do I automate the installation of Xcode?

旧时模样 提交于 2019-12-04 07:44:47
I am trying to write a shell script that will install all of our development tools & dependencies onto a clean OSX machine. Does anybody know the best approach to automate the installation of Xcode? I am doing this to: Document the development environment. Speed up the on-boarding process for new developers. Follow the automate-everything principle. TrinitronX Fully Automated XCode Installation First, login to the Apple Developer Downloads Site and get the version of XCode.dmg that works for your version of OSX. You might want to grab a couple versions to support the different OSX platforms (e

How to integrate PreMake/CMake in a C++ build workflow

◇◆丶佛笑我妖孽 提交于 2019-12-04 07:42:01
I am looking at PreMake/CMake for the moment. However, I fail to see how this could be used in an entire cross-platform build workflow. Indeed, it generates makefiles (or solutions). Then, how do you actually build those solutions on each targeted platforms? Do you have to maintain one build script per target (like .sh or .bat file)? This would defeat the purpose of using a tool like premake/CMake in the first place. A link to a tutorial showing all the process from coding to final built product using premake would be great. Thanks for any help. Our main development is also done in C++. We use

.cmd and .bat file converting return code to an error message

浪子不回头ぞ 提交于 2019-12-04 05:15:56
I'm trying to automate a program I made with a test suite via a .cmd file. I can get the program that I ran's return code via %errorlevel%. My program has certain return codes for each type of error. For example: 1 - means failed for such and such a reason 2 - means failed for some other reason ... echo FAILED: Test case failed, error level: %errorlevel% >> TestSuite1Log.txt Instead I'd like to somehow say: echo FAILED: Test case failed, error reason: lookupError(%errorlevel%) >> TestSuite1Log.txt Is this possible with a .bat file? Or do I have to move to a scripting language like python/perl?

Good practice for working with multiple solutions in Visual C# Express

被刻印的时光 ゝ 提交于 2019-12-04 04:51:08
Background : My team is made up of 3 fairly inexperienced developers. We are developing in-house software for our company. Currently we have a number of smaller and separate solutions. Many of these are interdependent. Currently these depencies are made by referencing the output dll's in the respective release-folder. Updates are pushed around by manually rebuilding dependent solutions. Example: Solution A uses features of solution B. The connection is made having Solution A referencing ...\Release\B.dll . Changes to B propagates by building solution B, then building solution A and so forth.

How can we display a “step” inside Visual Studio build process?

雨燕双飞 提交于 2019-12-04 04:32:46
When you are monitoring the TFS build from Visual Studio (2008 or 2005), you can see where it is up to. The issue is that I have some Post-Build custom steps I would like the developer to be able to see directly throught the UI. Those steps take some times and we can also get a "timing" of the build step. Any idea how to have it displayed? This is the pattern that I normally use for adding steps to the build report in TFS 2008. (See http://code.msdn.microsoft.com/buildwallboard/ for the full example that I usually use in my Team Build talks) Basically, the magic is that there is a custom task