build-process

Visual Studio Setup and Deployment build fails with no errors

夙愿已清 提交于 2019-12-19 08:14:28
问题 I have a setup and deployment project that, on our build server, reports the following in the summary: ========== Rebuild All: 25 succeeded, 2 failed, 0 skipped ========== I don't know what the two are that failed, though I believe one of them is the vdproj project because if I run the build without the installer there are no errors reported at all. The "packaging file" messages match the output on my PC, where the build completes successfully. I'm convinced it's an environment thing, just

Visual Studio Setup and Deployment build fails with no errors

[亡魂溺海] 提交于 2019-12-19 08:14:13
问题 I have a setup and deployment project that, on our build server, reports the following in the summary: ========== Rebuild All: 25 succeeded, 2 failed, 0 skipped ========== I don't know what the two are that failed, though I believe one of them is the vdproj project because if I run the build without the installer there are no errors reported at all. The "packaging file" messages match the output on my PC, where the build completes successfully. I'm convinced it's an environment thing, just

Compiling C++Builder project on command line

别来无恙 提交于 2019-12-19 06:02:55
问题 Is there a way to compile a C++Builder project (a specific build configuration) from the command line? Something like: CommandToBuild ProjectNameToBuild BuildConfiguration ... 回答1: Use: msbuild project.cbproj /p:config=[build configuration] More specifics can be found in Building a Project Using an MSBuild Command . 回答2: There are different ways for automating your builds in C++Builder (as of my experience, I'm speaking about old C++Builder versions like 5 and 6). You can manually call

android-library with specific Product Flavors dependency

心已入冬 提交于 2019-12-19 05:58:11
问题 I'm looking for something like apply plugin: 'android-library' dependencies { flavor1Compile files('utility.aar') } Everything fails with: Could not find method flavor1Compile() for arguments [file collection] on root project 'SampleProject'. 回答1: Libraries don't support flavors. Note that this wouldn't work in a app project because you haven't defined the flavor first. You'd need to do android { productFlavors { flavor1 {} } } dependencies { flavor1Compile ... } it wouldn't work in the other

Packaging and deploying a Jython program from Eclipse

狂风中的少年 提交于 2019-12-19 04:15:23
问题 So I've been pigeon-holed into writing some Jython code. I've been using the latest version of Eclipse IDE with the PyDev plugin for development. Up until now, things have been moderately tolerable. I've gotten all my Python scripts working and I'm successfully including a couple of JAR files and the class directory of another Java project as external dependencies. Everything seems to run fine through the Eclipse IDE. Now I need to package everything up and deploy it. From what I can gather,

Exit a bash script if an error occurs in it or any of the background jobs it creates [duplicate]

∥☆過路亽.° 提交于 2019-12-19 03:44:08
问题 This question already has answers here : How to wait in bash for several subprocesses to finish and return exit code !=0 when any subprocess ends with code !=0? (29 answers) Closed 3 years ago . Background I'm working on a bash script to automate the process of building half a dozen projects that live in the same directory. Each project has two scripts to run in order to build it: npm install npm run build The first line will fetch all of the dependencies from npm. Since this step takes the

Good techniques to use Makefiles in VisualStudio?

放肆的年华 提交于 2019-12-19 03:23:06
问题 I know the ideal way to build projects is without requiring IDE based project files, since it theoretically causes all sort of trouble with automation and what not. But I've yet to work on a project that compiles on Windows that doesn't depend on the VisualStudio project (Ok, obviously some Open Source stuff gets done with Cygwin, but I'm being general here). On the other hand if we just use VS to run a makefile, we loose all the benefits of the compile options window, and it becomes a pain

Jenkins - How can i pass parameters from the Upstream to Downstream

扶醉桌前 提交于 2019-12-19 02:54:16
问题 I have 3 builds: A - is the Master build which control the flow B- Anoter build C- will be executed after B I want to add a String parameter to A so the user will enter some String manually, and i'm not sure how can i path this parameter to B. lets say that this is my build flow: build("B") build("C") I don't know how can i path the parameter to B, should i do that from the build flow or from the B build configuration and how can i do that. Thanks in advance Alex 回答1: Something like this:

Call powershell script in post-built with parameters

十年热恋 提交于 2019-12-19 02:05:17
问题 I'm trying to get Powershell to run my PS script in post built - but somehow it doesn't work like it's supposed to: Following command in Post-Build: C:\WINDOWS\system32\windowspowershell\1.0\powershell.exe -Command "& $(MSBuildProjectDirectory)\CreateSite.ps1 'auto'" (inserted line break for better reading) The command executes the powershell script sucessfully, but what it can't do is run the commands within (Output from Build): Rund Post-Build Command: Add-PSSnapin : No snap-ins have been

Parallel Make Output

风流意气都作罢 提交于 2019-12-18 17:37:54
问题 When running a CMake generated Makefile with multiple processes ( make -jN ), the output often gets messed up like this: [ 8%] [ 8%] [ 9%] Building CXX object App/CMakeFiles/App.dir/src/File1.cpp.o Building CXX object App/CMakeFiles/App.dir/src/File2.cpp.o Building CXX object App/CMakeFiles/App.dir/src/File3.cpp.o I'm not sure, but I think this behavior is also there for Makefiles not generated by CMake. I'd say it happens when multiple processes write to stdout at the same time. I know I'm