build-process

In Maven 2, how do I know from which dependency comes a transitive dependency?

时间秒杀一切 提交于 2019-12-18 09:56:46
问题 I would like to know which dependency described in my pom.xml brings a transitive dependency in my target directory. To be more precise, I have the library "poi-2.5.1-final-20040804.jar" in my WEB-INF/lib directory and I would like to know which dependency in my pom.xml brings that. 回答1: To add to @David Crow, here's a dependency:tree example from the Maven site: mvn dependency:tree -Dincludes=velocity:velocity might output [INFO] [dependency:tree] [INFO] org.apache.maven.plugins:maven

'cmake rebuild_cache' for *just* a subdirectory?

前提是你 提交于 2019-12-18 04:17:14
问题 I have an issue with the generation of makefiles stage of CMake being slow which is similar to this unanswered question: CMake is slow to generate makefiles My project is made up of a top level CMakeLists.txt file which uses add_subdirectory() to add various subprojects for individual library and executable components. For a given component, the CMakeLists.txt file contains something like: add_library(mylib SHARED sourceFile1.cpp sourceFile2.cpp ... ) I can build just the contents of that

How to organize full build pipeline with Gulp, Maven and Jenkins, all the way to integration tests?

岁酱吖の 提交于 2019-12-17 21:47:13
问题 I have a project that has: JS client with somewhat interesting build process. That includes compiling CSS, catenating and minifying JS and CSS, generating and processing HTML, and some other steps. The Node tools like Grunt or Gulp are great at this. Java server that is a WAR deployed on Tomcat. It includes these assets as well as all the Java code. It has all kinds of tests: Unit tests, integration tests that may instantiate a DAO and talk to DB, and end-to-end API tests that actually talk

Build information in iOS Application (date/time app was built)

自古美人都是妖i 提交于 2019-12-17 19:27:49
问题 I'm looking for a way to dynamically add in information about the application during the build process of an iOS application. During testing, it would be great to know when the application I have installed on my device was built and possibly who built it would be a good to know as well. I'm envisioning a section in settings.app that would give basic build information for debugging purposes. I don't want to have to manually update a build information file before each build - the data should be

What are ways of improving build/compile time?

隐身守侯 提交于 2019-12-17 18:57:55
问题 I am using Visual Studio, and it seems that getting rid of unused references and using statements speeds up my build time on larger projects. Are there other known ways of speeding up build time. What about for other languages and build environments? What is typically the bottleneck during build/compile? Disk, CPU, Memory? What is a list of/are good references for distributed builds? 回答1: The biggest improvement we made for our large C++ project was from distributing our builds. A couple of

How to set a Mercurial VCS build trigger for TeamCity that ignores label operations

感情迁移 提交于 2019-12-17 18:24:40
问题 I am trying to setup a build trigger for TeamCity using Mercurial as the VCS. Right now the trigger looks like: +:/** This trigger get fired when changesets are committed. However, I have TeamCity setup to tag each build in the VCS. The tagging process is firing the above build trigger so the build gets caught in a loop. Can anyone suggest a VCS build trigger that will filter out the tagging process? 回答1: Adding the trigger pattern: -:/.hgtags filters out the .hgtags file from the build

HintPath on a added reference in Visual Studio

岁酱吖の 提交于 2019-12-17 17:54:32
问题 I know that I can add a HintPath to an external DLLs to help Visual Studio/TFS find the dll when it builds. What I was wondering is... is it possible to add multiple HintPath ? For example... developers have their DLLs for one place and we do a GetLatest of those DLLs at a different place on the server hence the need for multiple HintPath . What do you think, world? 回答1: Sorry, you can't use multiple HintPath's. Visual Studio/MSBuild takes only the last <HintPath> definition and will ignore

What is obj folder generated for? [duplicate]

≯℡__Kan透↙ 提交于 2019-12-17 17:36:36
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: What are the obj and bin folders (created by Visual Studio) used for? The default output path for any project is Visual studio is bin/Debug , but I have noticed that obj folder is also generated which again contains dll and pdb files. Can someone tell me why is this folder generated? 回答1: "obj" folder is used to store temporary object files and other files used to create the final binary. Further reading here 来源

Can I add maven repositories in the command line?

为君一笑 提交于 2019-12-17 17:35:03
问题 I'm aware I can add maven repositories for fetching dependencies in ~/.m2/settings.xml. But is it possible to add a repository using command line, something like: mvn install -Dmaven.repository=http://example.com/maven2 The reason I want to do this is because I'm using a continuous integration tool where I have full control over the command line options it uses to call maven, but managing the settings.xml for the user that runs the integration tool is a bit of a hassle. 回答1: You can do this

Why is a different dll produced after a clean build, with no code changes?

萝らか妹 提交于 2019-12-17 16:34:44
问题 When I do a clean build my C# project, the produced dll is different then the previously built one (which I saved separately). No code changes were made, just clean and rebuild. Diff shows some bytes in the DLL have changes -- few near the beginning and few near the end, but I can't figure out what these represent. Does anybody have insights on why this is happening and how to prevent it? This is using Visual Studio 2005 / WinForms. Update: Not using automatic version incrementing, or signing