build-process

What do you use for a complex build process? [closed]

廉价感情. 提交于 2019-12-02 19:38:19
I am trying to revamp our build process, which is currently a gigantic Ant build.xml that calls into other ant build files and executes several Java classes to perform more complex logic that would be impossible/scary to attemp in Ant. Background: experience in Java and Ant, some Groovy Windows platforms Goals: run as a combination of command line cron and when a servlet is posted to as simplified as possible, fewest languages and bouncing between techs I need higher level logical power that a language like Java provides and Ant is pretty easy and we use the filtering to override default

How to cope with “intrin.h: No such file or directory”?

隐身守侯 提交于 2019-12-02 19:29:45
#include <intrin.h> The above will report: intrin.h: No such file or directory Which seems to be a MSVC header file,but I'm using eclipse cdt,how can I make it available?Is there some libraries needed? cdt uses MinGW for compiling,but there is no intrin.h : D:\Tools\MinGW\lib\gcc\mingw32\3.4.5\include>dir *intrin.h 2006-01-17 21:47 34,528 emmintrin.h 2006-01-17 21:47 22,281 mmintrin.h 2006-01-17 21:47 3,586 pmmintrin.h 2006-01-17 21:47 30,925 xmmintrin.h Is there anyone can help? I have same problem. using eclipse + cdt + mingw32-gcc7.2 + glm (openGL math libraty) I replace #include <intrin.h>

Are there any good build frameworks written in Python?

偶尔善良 提交于 2019-12-02 19:28:12
I switched from NAnt to using Python to write build automation scripts. I am curious if whether any build frameworks worth using that are similar to Make, Ant, and NAnt, but, instead, are Python-based. For example, Ruby has Rake. What about Python? Try SCons Or are you looking for something just to build python projects? The following look good, but I haven't used them (yet): Paver waf doIt Paver looks especially promising. My Rapid Throughts: SCons is quite mature and oriented also to other languages (es C++) Waf is very simlar to ant/maven, so you will prefer it if you are used to ant/maven

cmake RUNTIME_OUTPUT_DIRECTORY on Windows

依然范特西╮ 提交于 2019-12-02 19:15:05
I'm using cmake for managing my cross-platform builds, and I have everything worked out except for this problem. I set RUNTIME_OUTPUT_DIRECTORY to a bin/ directory where I have data files stored. On Linux, this works fine. On Windows, the executables get placed in the Debug / Release sub-directory depending on the build type. Is there any way to get cmake to copy the executable to the proper directory, or (even better) stop using these sub-directories altogether? Christopher Bruns I've been using the fine prefix property hack reported by Ogapo for years. It works. But as of CMake version 2.8,

TFS2010 - Wrong changeset appearing at SourceGetVersion

試著忘記壹切 提交于 2019-12-02 19:07:58
I am currently setting up a Team Foundation Server 2010 and I found a very strange behavior when performing a build: The situation explained: We have 2 Branches Development Main All developers check in code into the Development branch only. Once per day, the build manager merges some changesets over to the Main branch. On the Development brach, a continuous build at each check in is running. On the Main branch, once per day (in the night) a build is triggered. Now suppose that the changesets 1-100 are being merged into the Main brach at 5pm, giving changeset 101 as the merge operation. Some

ant+cpptasks vs. scons vs. make

偶尔善良 提交于 2019-12-02 19:07:08
I'm looking into scons and I just want to make sure I know what the alternatives are, before I invest a chunk of brain cells into something completely different. I've been using GNU make in the past but have never been particularly happy with it. Particularly: why isn't Ant used more often with C / C++ projects? (given that there's ant cpptasks ) I read a few posts that say that Ant is more oriented around Java (obviously), but what's the drawback to doing so? And why is scons so much better than make? I am working with a cross-compiler for TI DSPs, typically there are 20-50 cpp files in a

Creating an installer for Linux application [closed]

半城伤御伤魂 提交于 2019-12-02 19:04:29
I'm developing a small cross-platform application and I need some advice on how to install it in Linux. I am using InnoSetup in Windows and an application bundle in OSX but I have no idea how to get my app installed in Linux, are there any opensource installer creators for Linux? Thanks. The standard all mighty universally available installer on *nix systems (and not only) is Autotools . # the user will install like so: ./configure --with-stuff make # if package is from source make install You can also provide distribution specific installers like a RPM on RedHat or CentOS or deb for Debian,

How does ivy:publish work?

烈酒焚心 提交于 2019-12-02 18:05:31
I'm completely at loss how the ant task ivy:publish is supposed to work. I would expect that I do my normal build, which creates a bunch of jar files, then I would push those jars to the (local) repository. How can I specify from where to retrieve the built jars, and how would those end up in the repository? Update: <target name="publish-local" description="--> Publish Local"> <ivy:retrieve /> <ivy:publish resolver="local" pubrevision="${release.version}" status="release" update="true" overwrite="true"> <artifacts pattern="${dist.dir}/[organisation]-[module].[ext]" /> </ivy:publish> </target>

.Net AssemblyName.version Build versus Revision

孤街醉人 提交于 2019-12-02 17:58:44
The MSDN documentation states: Version numbers consist of two to four components: major, minor, build, and revision. The major and minor components are required; the build and revision components are optional, but the build component is required if the revision component is defined. All defined components must be integers greater than or equal to 0. The format of the version number is as follows (optional components are shown in square brackets ([ and ]): major.minor[.build[.revision]] The components are used by convention as follows: Major: Assemblies with the same name but different major

What is build automation software (for example, Ant)?

≡放荡痞女 提交于 2019-12-02 17:35:33
I see reference of ant a lot but I don't get exactly what its meant to do? from what i've heard its supposed to compile your projects but can't i just do that by clicking Run->Run in eclipse? Edit : I guess I should rephrase my question. I already know that ant is a 'build automation software', my question is, what exactly is build automation? I thought that you're supposed to test your app, and when it is running you click the 'build' button in eclipse or through command-line java, and it makes a .jar file out of it? So why do you need to 'automate' this process? I already know that ant is a