build-process

Xcode 4: Project does not honor $(inherited) Build Setting in Workspace?

痞子三分冷 提交于 2019-12-02 07:37:24
问题 Today is my day to suffer through Xcode 4, Workspaces, and Projects. I have a workspace with a few open source libraries (openssl, sqlcipher, and a couple of others). Within the workspace there is one "Main" project which produces an EXE as a target. The open source projects are "subprojects" or "child projects" to the "Main" project. It looks similar to below: Main Project +- OpenSSL Project +- SqlCipher Project ... In the "Main" project, under "Project" (rather than "Target"), I set

Xcode 4: Project does not honor $(inherited) Build Setting in Workspace?

≡放荡痞女 提交于 2019-12-02 06:03:34
Today is my day to suffer through Xcode 4, Workspaces, and Projects. I have a workspace with a few open source libraries (openssl, sqlcipher, and a couple of others). Within the workspace there is one "Main" project which produces an EXE as a target. The open source projects are "subprojects" or "child projects" to the "Main" project. It looks similar to below: Main Project +- OpenSSL Project +- SqlCipher Project ... In the "Main" project, under "Project" (rather than "Target"), I set preprocessor and warning flags build settings . For example, the debug preprocessor macros are "DEBUG=1 SQLITE

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

无人久伴 提交于 2019-12-02 05:28:14
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 regenerated with the updated app.config connection string and so the app doesn't connect to the correct DB. Is

ASP.NET Web Application Build Output - How do I include all deployment files?

爱⌒轻易说出口 提交于 2019-12-02 04:33:59
问题 When I build my ASP.NET web application I get a .dll file with the code for the website in it (which is great) but the website also needs all the .aspx files and friends, and these need to be placed in the correct directory structure. How can I get this all in one directory as the result of each build? Trying to pick the right files out of the source directory is a pain. The end result should be xcopy deployable. Update: I don't want to have to manually use the Publish command which I'm aware

Ant for other ant's

时光怂恿深爱的人放手 提交于 2019-12-02 02:47:31
I have several projects, most of them has " test " target, which run tests and store results in property ' test.faulire '. All projects located in same directory: big_project / someproject1 big_project / someproject1 / build.xml big_project / someproject2 big_project / someproject2 / build.xml So, in root of 'big_project' i want to create one build.xml for: Running test on all projects If all test ok, run " deploy " task on each project. It'll be very well if I could pass some deployment parameters to each project. How would you realize this scenario ? You might have a look at the for task in

How to create directories specified by a mapper in Ant

一个人想着一个人 提交于 2019-12-02 01:36:17
Given a fileset <fileset id="myFiles" dir="."> <include name="**/*.file"/> </fileset> How do I create a sub-directory at each file in the set, named after the filename without the extension? For example, given the files folderA/X.file and folderA/folderB/Y.file, I want to create the directories folderA/X and folderA/folderB/Y The ant touch task supports creating files, parent dirs and filename mapping, so can be used to achieve this: <target name="mkdirs"> <touch mkdirs="true"> <fileset dir="the_dir"/> <mapper type="glob" from="*.file" to="the_dir/*/.tmp" /> </touch> <delete> <fileset dir="the

Managed Source Control Hosting and Continuous Integration with CVSDude and CruiseControl.net

末鹿安然 提交于 2019-12-02 01:22:54
问题 For my own project at home, I'm using the rather excellent managed subversion hosting from CVSDude. As it's only me working on the code right now, I'm not using CruiseControl.net, however I expect this will change in the next couple of months and will want a full build process to kick off upon check-in. Has anyone managed to get CruiseControl.net working with CVSDude? My collegue Mike has this blog post where someone from CVSDude said: "Your can use our post-commit call back facility to call

Conditionally including Flex libraries (SWCs) in mxmlc/compc ant tasks

匆匆过客 提交于 2019-12-02 00:59:42
I have been struggling trying to figure out how to conditionally include Flex libraries in an ant build based on a property that is set on the command line. I have tried a number of approaches with the <condition/> task, but so far have not gotten it to work. Here is where I am currently. I have an init target that includes condition tasks like this: <condition property="automation.libs" value="automation.qtp"> <equals arg1="${automation}" arg2="qtp" casesensitive="false" trim="true"/> </condition> The purpose of this task is to set a property that determines the name of the patternset to be

How to continue a Jenkins build even though a build step failed?

☆樱花仙子☆ 提交于 2019-12-02 00:48:40
问题 I am using a Phing build script with Jenkins and would like to run it end to end on a job and capture all the reports. The problem is it stop building on a failed build step. Is there a way or a plugin that would continue the job even on failures? Thanks 回答1: I don't know a lot about Phing but, since it's based on Ant, if the build step you are executing has a "failonerror" attribute you should be able to set it to false so that the entire build doesn't fail if the step returns an error. 回答2:

How to continue a Jenkins build even though a build step failed?

落爺英雄遲暮 提交于 2019-12-01 22:38:10
I am using a Phing build script with Jenkins and would like to run it end to end on a job and capture all the reports. The problem is it stop building on a failed build step. Is there a way or a plugin that would continue the job even on failures? Thanks I don't know a lot about Phing but, since it's based on Ant, if the build step you are executing has a "failonerror" attribute you should be able to set it to false so that the entire build doesn't fail if the step returns an error. Yes, use try, catch block in you pipeline scripts example: try { // do some stuff that potentially fails } catch