build-automation

Automated build for developing ios and signing it

只谈情不闲聊 提交于 2019-12-11 16:46:00
问题 So I am building an phonegap application with android and ios platform to support. For android all is fine. I created an apk and signed it with google certificate. Issue is with ios. Till now I was using an enterprise licence to distribute the app. All was working fine, since it allowed wildcard character in bundle name. Now I need to move on with an developer licence. So everytime I create an app the bundle name will be different and so provisioning profile and keychain and certificate. So

How to make package dependencies/requirements dependent on conditional symbols?

本秂侑毒 提交于 2019-12-11 16:11:43
问题 I have a package Package1 which depends on package PackDependency . The .dpk of Package1 contains this: requires vcl, rtl, PackDependency, dbrtl; Now I want to have this dependeny only if a conditional symbol CONDITION is defined. Thus I change the .dpk file manually to: requires vcl, rtl, {$IFDEF CONDITION} PackDependency, {$ENDIF} dbrtl; But is this enough? I am worried about the .dproj files. I have two packages like Package1 I want to do the above with. One of them has the following line

Install/Uninstall a Windows Service in a build script with NAnt

為{幸葍}努か 提交于 2019-12-11 13:19:50
问题 Does NAnt have the ability to install or uninstall a windows service, using the InstallUtil utility or whatever else? 回答1: You can call Nant's exec task to call InstallUtil and can pass parameters to install or uninstall a service easily <target name="install-service"> <exec program="${framework::get-framework-directory('net-2.0')}\InstallUtil.exe"> <arg value="-i" /> <arg value="/name=V1" /> <arg value="C:\Service\SomeService.exe" /> </exec> </target> 回答2: Nant or MSBuild? What's the problem

Visual Studio Pre build events and batch set

北战南征 提交于 2019-12-11 12:02:17
问题 I'm trying to create call a batch file which sets a bunch of environment variables prior to building. The batch file looks something like this (it's automatically generated before-hand to detect ATI Stream SDK or NVidia CUDA toolkit): set OCL_LIBS_X86="%ATISTREAMSDKROOT%libs\x86" set OCL_LIBS_X64="%ATISTREAMSDKROOT%libs\x86_64" set OCL_INCLUDE="%ATISTREAMSDKROOT%include" However, the rest of the build doesn't seem to have access to these variables, so when I try to reference $(OCL_INCLUDE) in

How to configure a jenkins job to send mail if a SCM commit

烂漫一生 提交于 2019-12-11 11:56:26
问题 I have problems with configuring a jenkins job that need to do the following task : scheduled every 30 minutes => OK do an update (CVS, SVN, ...) => OK send an email if a change is detected in the SCM repo => KO So my job is configured as follow : Source Code Management : cvs root / branch / ... Build Triggers : Poll SCM : */30 * * * * Build : No buils step Post-build Actions : E-mail Notification But I received emails only when the build failed and not when an update is detected. Any hint ?

How do you build from a specific TFS 2008 Changeset in Jenkins?

若如初见. 提交于 2019-12-11 05:47:24
问题 I am attempting to create a manual build in Jenkins that will build a specific changeset of code from TFS for a deployment into a testing / production environment. Currently I am only able to use TFS in Jenkins to pull everything up to the newest Changeset out of TFS. I am running Jenkins version 1.471 with the TFS plugin version 1.20 Has anyone run into the problem, and do you know how to fix it? Thanks in advance. 回答1: This feature is missing, but seems to be under way according to the

Build system that is not file-centric

喜欢而已 提交于 2019-12-11 04:09:10
问题 We have a software infrastructure which works pretty much like a software build system: Information is gathered from different sources and used to generate some outputs. Like in traditional software builds we have different types of output, dependency trees, etc. The main difference is that our sources, intermediate results and outputs are not inherently file-based. Rather, they're (uniquely addressable) data objects. Right now we're mapping our data structure to files and directories in

Change default ant target by command line argument

最后都变了- 提交于 2019-12-11 02:08:30
问题 I'm recently assigned a task to make ant be able to build war packages for different environments. I'm almost done except one feature. The ant accepts an env parameter by like -Denv=DEV , and use different configuration files to make the war package. But the default target is start which will build, deploy and start the tomcat. I don't want ant to deploy the war neither start the server when I pass in the -Denv=PROD arg. I only want ant to build the ROOT.war. It's enough. I know I can just

ant copy copying order

柔情痞子 提交于 2019-12-11 00:35:34
问题 I am new to ant and i want to know how the ant copy decides the copying order. Problem is, I have a folder structure like this releases/v1,v2,v3 . folders will be created for each new release. and names of the files will be similar in these folders. and it is required to copy the latest release in to a folder called 'latest' in this scenario it will be required to copy v3 into 'latest'. so my logic is to copy one by one into 'latest' folder and override the files and the latest file will be

cmake to place the intermediate files to a certain directory

流过昼夜 提交于 2019-12-10 21:19:27
问题 I am pretty new to cmake and wonder how I can do this is cmake. I want to place all the intermediate files (like the .o files) to be placed in a certain directory (say "build") and then once the build is done I want copy certain files I need (e.g., the .exe, .dll like the end product) from build directory to "stage" directory. how can I specify the path to these two directories (build and stage)? Cmake will also check if the build/stage directory exists or not. If does not exist, it will