build-process

Maven - How to build multiple Independent Maven projects from one project

倾然丶 夕夏残阳落幕 提交于 2019-11-27 11:36:49
问题 I have 3 maven projects WebComponents DataComponents ServiceComponents When i build each of the projects i have to go into each folder and run mvn clean install on each of the projects. I have looked into multi module projects and most of the resources i see suggest that i have to make a change to the structure of my existing projects. Is it possible to have a new project that will build each of the independent projects without me having to make any changes to anything in the existing project

Should I switch from nant to msbuild?

好久不见. 提交于 2019-11-27 11:34:47
问题 I currently use nant, ccnet (cruise control), svn, mbunit. I use msbuild to do my sln build just because it was simpler to shell out. Are there any merits to switching my whole build script to MSBuild? I need to be able to run tests, watir style tests, xcopy deploy. Is this easier? Update: Any compelling features that would cause me to shift from nant to msbuild? 回答1: I like MSBuild. One reason is that .csproj files are msbuild files, and building in VS is just like building at the command

What is the best way to share Delphi source files among projects?

£可爱£侵袭症+ 提交于 2019-11-27 11:33:39
问题 What is the best way to share Delphi source files among projects? Clarification: We want to use a single source file in multiple Delphi projects. We've been using our SCM tool to put the same file into multiple folders, but this is not a super-elegant experience and we are also considering migrating to a tool that doesn't support this. As I’ve been investigating this question, I’ve considered a few different approaches, but I’d like to know what you’re doing and how you find your approach.

Overriding a default option(…) value in CMake from a parent CMakeLists.txt

丶灬走出姿态 提交于 2019-11-27 11:26:20
问题 I am trying to include several third-party libraries in my source tree with minimal changes to their build system for ease of upgrading. They all use CMake, as do I, so in my own CMakeLists.txt I can use add_subdirectory(extern/foo) for libfoo. But the foo CMakeLists.txt compiles a test harness, builds documentation, a shared library which I don't need, and so on. The libfoo authors had the foresight to control these via options - option(FOO_BUILD_SHARED "Build libfoo shared library" ON) for

Maven and the JOGL library?

荒凉一梦 提交于 2019-11-27 11:08:15
I've been studying Maven in my free time over the last several days but can't seem to figure out how to organize a project so that the JOGL libraries are used. I would preferably like the following: Automatically download, if necessary, the OS-specific JOGL zip file from here (contains 4 jar files and some native library files (.so/.dll)); or depend on a Maven project which is a wrapper of one of the files. Unzip that zip file appropriately, so that: the jar files are added to the classpath and deployed as necessary, and the native library files are added to the final jar file (would this

Sharing build artifacts between jobs in Hudson

早过忘川 提交于 2019-11-27 11:08:14
问题 I'm trying to set up our build process in hudson. Job 1 will be a super fast (hopefully) continuous integration build job that will be built frequently. Job 2, will be responsible for running a comprehensive test suite, at a regular interval or triggered manually. Job 3 will be responsible for running analysis tools across the codebase (much like Job 2). I tried using the "Advanced Projects Options > use custom workspace" feature so that code compiled in Job 1 can be used in Job 2 and 3.

How to check if an assembly was built using Debug or Release configuration?

China☆狼群 提交于 2019-11-27 11:00:05
问题 I'm starting deployment of my web application and I need to guarantee that all the assemblies that are going to be deployed were built using Release configuration. Our system was developed using C#/.Net 3.5. Is there any way to achieve this? 回答1: Check this. The idea is that you get the list of assembly attributes using Assembly.GetCustomAttributes() and search for DebuggableAttribute and then find if such attribute has IsJITTrackingEnabled property set. public bool IsAssemblyDebugBuild

how to watch changes in whole directory/folder containing many sass files

孤街醉人 提交于 2019-11-27 10:54:51
How could I trace changes in whole directory containing many sass files ? I'm using the following command to watch changes in sass file: sass --watch style.scss:style.css But how to watch changes in whole directory/folder containing many sass files. Simply use the command sass --watch <input folder>:<output folder> , like this: $ ls -l css/ sass/ $ sass --watch sass:css Where <input folder> contains the Sass files and <output folder> that hosts the generated CSS files. Expanding the answer by piouPiouM a little: Output files will be created with the same names as input files except ending with

Is there a Maven alternative or port for the .NET world?

↘锁芯ラ 提交于 2019-11-27 10:54:42
Is there a Maven alternative or port for the .NET world? I would love to use a good dependency management system that the Java world has, but I don't find anything comparable for .NET projects... Sean McMillan NMaven has been the first/official effort to provide Apache Maven for .NET; the project failed to clear the high bar of requirements for an official Apache project and was retired from the Apache Incubator in November 2008. There have been several efforts to fork and survive the project, but only one of them ( NPanday ) managed to do so and has been able to rejoin the Apache Incubator in

What strategies have you used to improve build times on large projects?

走远了吗. 提交于 2019-11-27 10:53:20
问题 I once worked on a C++ project that took about an hour and a half for a full rebuild. Small edit, build, test cycles took about 5 to 10 minutes. It was an unproductive nightmare. What is the worst build times you ever had to handle? What strategies have you used to improve build times on large projects? Update: How much do you think the language used is to blame for the problem? I think C++ is prone to massive dependencies on large projects, which often means even simple changes to the source