build-process

Ant build scripts, antcall, dependencies, etc

僤鯓⒐⒋嵵緔 提交于 2019-12-02 17:32:13
I have a build script and as part of that script it copies a jar file to a directory, for ease lets call it the utils jar. the utils jar is built by another build script sitting in another directory. What im trying to do have my build script run the utils build script so that I can ensure the utils jar is up to date. So I know I need to import the utils build file. <import file="../utils/build/build.xml" /> Which doesn't work because the import task, unlike almost every other ant taks, doesn't run from basedir, it runs from the pwd. So to get around that I have this little ditty, which does

how to get docker-compose to use the latest image from repository

人盡茶涼 提交于 2019-12-02 17:24:42
I don't know what I'm doing wrong, but I simply cannot get docker-compose up to use the latest image from our registry without first removing the old containers from the system completely. It looks like compose is using the previously started image even though docker-compose pull has fetched a newer image. I looked at How to get docker-compose to always re-create containers from fresh images? which seemed to be similar to my issue, but none of the provided solutions there work for me, since I'm looking for a solution I can use on the production server and there I don't want to be removing all

How do I run a universal app on the iPhone 3.1.3 simulator?

你说的曾经没有我的故事 提交于 2019-12-02 17:20:14
I'm working on a new app that I want to be universal for the iPhone and iPad. I started out with the "Create a Window-based app" wizard, and it created separate app delegates in "iPhone" and "iPad" groups. Since I already was quite familiar with iPhone dev, I did that part of my project, and now I'm ready to do some iPad stuff. So... I started out by adding a UISplitViewController to my iPad delegate, switch the Active SDK to 3.2, and it works! But when I switch back to 3.1.3, and try to run it in the simulator, Build and Go fails. For starters, I see: ...path.../iPad/AppDelegate_Pad.h:13:

What toolchains exist for Continuous Integration with C++?

扶醉桌前 提交于 2019-12-02 17:07:16
Continuous Integration toolchains for .NET, Java, and other languages are relatively well defined, but the C++ market seems to have a lot of diversity. By CI "toolchain" I specifically mean tools for the build scripts, automated testing, coding standards checking, etc. What are C++ teams using for CI toolchains? Another option might be buildbot . It's written in python, but is not just for python apps. It can execute any script for doing your build. If you look at their success stories, there appear to be a wide variety of languages. We implemented our C++ cross platform continous integration

Building a library using autotools from cmake

烈酒焚心 提交于 2019-12-02 15:48:40
This is my first try with cmake and I would like to have, if possible, some feedbacks about what I did since some problems remain. In the CMakeLists.txt of the library folder, I created two makefile targets: configure-antlr3c and antlr3c . The first target runs the autotools configuration shell script, the second one runs the make executable to build the library: # CMakeLists.txt in libantlr3c-3.1.3 add_custom_target( configure-antlr3c ${SHELL_EXECUTABLE} configure WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} ) add_custom_target( antlr3c ${MAKE} DEPENDS configure-antlr3c WORKING_DIRECTORY $

How do I upgrade the version of a maven plugin?

房东的猫 提交于 2019-12-02 15:35:54
I am using the maven-ear-plugin version 2.3.1 - I know there is a new version available: http://maven.apache.org/plugins/maven-ear-plugin/ I can't work out how to upgrade to the latest version? andri The default plugin versions are inherited from the Super POM, and you can check them with mvn help:effective-pom . If you want to override the version provided there, add this to your POM: <project> <build> <plugins> <plugin> <artifactId>maven-ear-plugin</artifactId> <version>2.3.1</version> </plugin> </plugins> </build> </project> Replace the version with what you need. Pat Even though this has

How to set the build area for rpmbuild per-invocation

不羁岁月 提交于 2019-12-02 15:31:39
I'm modifying an automated build, and want to tell rpmbuild to use a specific build area when invoking it . This is similar to an existing question , but more specific. I don't want to run any of the build commands as the root user; the aim is only to have an RPM, not to install anything into the system. I don't want to require the user to change their dotfiles (e.g. $HOME/.rpmrc ); the build should be self-contained and not affect the user's existing settings. I don't want to hard-code the location into the foo.spec file; that file should be useable as-is if the user wants to build in a

What are the differences between Bazel and Gradle?

最后都变了- 提交于 2019-12-02 14:05:29
Google just open-sourced its build tool Bazel . What are the differences between this tool and Gradle ? What can it do that Gradle cannot, what does it do better, and what does Gradle do better? Disclaimer: I work on Bazel and I'm not intimately familiar with Gradle. However, one of my coworkers wrote up a comparison of the two systems, which I will paraphrase here: Bazel and Gradle emphasize different aspects of the build experience. To some extent, their priorities are incompatible - Gradle’s desire for flexibility and non-obtrusiveness limits the restrictions it can place on build structure

Xcode variables

本小妞迷上赌 提交于 2019-12-02 13:53:01
In Xcode, I know that you can get variables such as PROJECT_DIR to use in some situations, such as a run script build phase. I am wondering if it's possible to get the build type (i.e., Release or Debug ). Any ideas? smorgan The best source is probably Apple's official documentation . The specific variable you are looking for is CONFIGURATION. Here's a list of the environment variables . I think you might want CURRENT_VARIANT . See also BUILD_VARIANTS . 来源: https://stackoverflow.com/questions/890569/xcode-variables

Force regeneration of Settings.settings file after change in app.config

岁酱吖の 提交于 2019-12-02 10:09:37
问题 I have an automated build process that sets up the application for a specified mode (e.g. Dev, uat, live). Depending on this mode I want to update Connection Strings to the relevant one. However, in my Data Access Layer there is an app.config file which stores the connection string and this is used to feed the Settings.Settings file. In my builder I update the app.config's xml with the new Connection String and then the solution is built, however the Settings.setting file doesn't get