build-process

Add sourcesJar task to custom Gradle plugin

白昼怎懂夜的黑 提交于 2019-12-01 04:03:28
问题 My company recently wrote gradle plugin for vanilla configuration (repositories, common dependencies across projects, etc). Overall, this has greatly simplified our build process and uncovered a few inconsistencies across projects. We recently tried to add a sourcesJar task to the plugin and it's not working. Here's the broken plugin: package com.mycompany.plugins import org.gradle.api.Project import org.gradle.api.Plugin import org.gradle.api.tasks.bundling.Jar class OurJavaPlugin implements

How to build a boost dependent project using regular makefiles?

让人想犯罪 __ 提交于 2019-12-01 03:57:42
I'm working on a c++ project, and we recently needed to include a small part of boost in it. The boost part is really minimal (Boost::Python), thus, using bjam to build everything looks like an overkill (besides, everyone working on the project feels comfortable with make, and has no knowloedge of jam). I made quite some tests already, but I cant find a way to include the formerly mentioned library in my makefile and make the build succesful. All your help is deeply apreciated. :) rafak I had the same problem and found a solution in this tutorial . You 1) need to compile the source into an

Java: How do I build standalone distributions of Maven-based projects?

删除回忆录丶 提交于 2019-12-01 03:50:00
I often encounter distributions of Java applications or libraries which use Maven as their build tool. Some of them, sadly, don't provide standalone (or redistributable) jars. Is it possible to build Maven-based applications in such a way, that the build result contains all dependencies and can be redistributed to work out-of-the box? I tried to build Jackrabbit's OCM module. For some very "intelligent" reasons there is no downloadable standalone version. So I built Jackrabbit with Maven (the source package of Jackrabbit includes OCM), and got the same jar as found in the apache repository .

Compiling C++Builder project on command line

非 Y 不嫁゛ 提交于 2019-12-01 03:45:14
Is there a way to compile a C++Builder project (a specific build configuration) from the command line? Something like: CommandToBuild ProjectNameToBuild BuildConfiguration ... David Dean Use: msbuild project.cbproj /p:config=[build configuration] More specifics can be found in Building a Project Using an MSBuild Command . Sergey Karpukhin There are different ways for automating your builds in C++Builder (as of my experience, I'm speaking about old C++Builder versions like 5 and 6 ). You can manually call compilers - bcc32.exe (also dcc32.exe , brcc32.exe and tasm32.exe if you have to compile

Silverlight xap file not being copied to ClientBin on Build Server

喜夏-厌秋 提交于 2019-12-01 03:31:12
We're developing a ASP.Net Web Application project that has a Silverlight 2.0 component. We've referenced the silverlight project in the web application properties, and the xap file is being copied to the ClientBin folder of the Web application when we build locally. The problem is that when we build this on our build server (which is using CruiseControl.Net, though I don't think that's relevant) the xap file isn't being copied. The strange thing is that this was working, but something has broken it and we can't figure out what. Anybody seen this before? Sorted! Not quite sure why, but it

How to skip lifecycle phase in multi maven module

流过昼夜 提交于 2019-12-01 02:12:38
问题 I have a maven multi module project which call two sub modules. please note that this child module do not use the parent markup tag. Now I need to have the deploy phase executed only on one child module but not the other one. Could someone provide any advice on the best way of doing this ? Thanks 回答1: As mentioned in this FAQ for maven deploy plugin , as well as in this SO discussion, you should add the following in the pom of the module you do not want to deploy. <plugin> <artifactId>maven

Silverlight xap file not being copied to ClientBin on Build Server

这一生的挚爱 提交于 2019-12-01 00:50:34
问题 We're developing a ASP.Net Web Application project that has a Silverlight 2.0 component. We've referenced the silverlight project in the web application properties, and the xap file is being copied to the ClientBin folder of the Web application when we build locally. The problem is that when we build this on our build server (which is using CruiseControl.Net, though I don't think that's relevant) the xap file isn't being copied. The strange thing is that this was working, but something has

How to build a boost dependent project using regular makefiles?

爷,独闯天下 提交于 2019-12-01 00:37:50
问题 I'm working on a c++ project, and we recently needed to include a small part of boost in it. The boost part is really minimal (Boost::Python), thus, using bjam to build everything looks like an overkill (besides, everyone working on the project feels comfortable with make, and has no knowloedge of jam). I made quite some tests already, but I cant find a way to include the formerly mentioned library in my makefile and make the build succesful. All your help is deeply apreciated. :) 回答1: I had

Java: How do I build standalone distributions of Maven-based projects?

馋奶兔 提交于 2019-12-01 00:32:11
问题 I often encounter distributions of Java applications or libraries which use Maven as their build tool. Some of them, sadly, don't provide standalone (or redistributable) jars. Is it possible to build Maven-based applications in such a way, that the build result contains all dependencies and can be redistributed to work out-of-the box? I tried to build Jackrabbit's OCM module. For some very "intelligent" reasons there is no downloadable standalone version. So I built Jackrabbit with Maven (the

Packaging and deploying a Jython program from Eclipse

牧云@^-^@ 提交于 2019-11-30 23:44:11
So I've been pigeon-holed into writing some Jython code. I've been using the latest version of Eclipse IDE with the PyDev plugin for development. Up until now, things have been moderately tolerable. I've gotten all my Python scripts working and I'm successfully including a couple of JAR files and the class directory of another Java project as external dependencies. Everything seems to run fine through the Eclipse IDE. Now I need to package everything up and deploy it. From what I can gather, the best way to do this would be to package everything up in a JAR file. The Jython documentation