FAQ Database Discussion Community


TFS Build - Get Assembly Version Info

visual-studio,tfs,build,msbuild
Is there a simple way to set the TFS Build Number to be an Assembly Version during build? I've seen many examples of the other way around (i.e. a build number updates the assembly version). We already use the SharedAssemblyInfo implementation from here, so we would like to leverage this...

Difference between Eclipse Build Project and Maven Compile command

java,eclipse,maven,build,sts-springsourcetoolsuite
Is Eclipse "Build Project" command same as the Maven command "mvn compile"? Do both basically do the same thing? If Yes, then why do I need to do a "Build Project" in STS after running "mvn clean install" in order to run the application without any issues? Running "mvn clean...

submitting app to itunes connect no build shows

xcode,build,app-store,itunesconnect
I finally finished my app . I did validation to my archive and clicked submit to appStore using xCode , after some minutes xCode showed me a success message , I went to my itunes connect and the plus button (above the build) is enabled , but when I click...

Sencha app build production successfully,but the production page fails to load with .js not found error

build,sencha-cmd,dev-to-production
I am using Extjs 5 ,sencha cmd 5 and extjs sencha charts. My app's index.html in the 'app' directory works fine,and sencha app build successfully. When I go to the production package to load the production index.html,the console gives me the error '.js not found' ,the log below: GET http://localhost:8080/build/production/recommendation/.js?_dc=1431411762018...

ANT if else tasks approach [duplicate]

java,ant,build
This question already has an answer here: Use pure Ant to implement if else condition (check command line input) 2 answers I had a query regarding ANT if else tasks. After browsing lot of stuff, i understood that we dont have direct if else tasks in ant. My Requirement...

gradle reffers java 6 even though my java home is aim to java 8

java,build,gradle,java-8
I run ./gradlew clean build and i get this error: warning: [options] bootstrap class path not set in conjunction with -source 1.6 /Users/eladb/WorkspaceQa/java/UsersServer/src/test/java/linqmap/users/jms/UsersServerAccessPropUserNameTest.java:163: error: diamond operator is not supported in -source 1.6 Map<String, String> properties = new HashMap<>(); ^ (use -source 7 or higher to enable diamond operator) 1 error...

building cassandra test cases failing

ant,build,cassandra
I am trying to build cassandra binaries from source and when I try to compile unit test cases, some of them give me errors. I tried versions 2.0.14, 2.1.4 and 2.1.5 with ubuntu 14.04 and Java 7 as well as Java 8. This is the message I get after building...

Missing libraries in side jars

java,maven,jar,build,war
I have 2 maven projects: 1 a jar with different dependencies and a war that include all that jar. When I look inside the created Jar I dont see any library folder. And when I look in to the War I only see the libs that the war is using...

floreant POS : error in building jar file using maven

java,maven,build
I have downloaded source code of FLOREANT POS from official site, and tried to built the project using maven. It requires two Commands mvn clean & mvn pacakage , when I tried to use these it gives me following error [ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.3:cr eate (default) on project...

Grunt build is leaving out a new directory in 'Dist'

angularjs,build,gruntjs,yeoman,yeoman-generator-angular
I'm new to angular and I'm trying to do a grunt build of my Yeoman scaffolded app. At one point in my project I created a new sub directory of "app/". When I do a Grunt build this directory is not included in the "dist" project and it's causing errors....

OS X - PKG_CONFIG_PATH results in empty pc_path, package not found

build,homebrew,pkg-config
First off: I use OS X 10.10 Yosemite and I do everything from Terminal, no XCode IDE or other GUI involved. I installed pkg-config version 0.28 from Homebrew. I want to build some software which depends on Ogre 1.8. I built and installed OGRE (via CMAKE_INSTALL_PREFIX) to a custom location...

ssh/login to a buildserver on the network and logout

python,ssh,build,server,remote-server
I am trying to ssh into a buildserver on the network and run some commands and logout of the server,i have looked at other posts and written the following code but its not working?can anyone suggest what is wrong or is there a better way to accomplish this?thanks in advance...

Can I control the setting of an AndroidManifest.xml file from my Cordova config.xml?

android,cordova,build,android-manifest
I would like to be able to control the "supports-screens" element within the AndroidManifest.xml file when doing a build from the Cordova CLI. Specifically, I'd like to control the following element within AndroidManifest.xml: <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" /> Ideally, I'm hoping that there is a setting available...

Gradle Jar structure is different than the real project structure

java,jar,gradle,build
I'm trying to build my project with gradle but for some reason the resources are put on a different level than their real level. Here's the build: apply plugin: 'java' version = '1.1' archivesBaseName = 'DesktopOmegle' repositories { //mavenCentral() maven { url 'http://oss.sonatype.org/content/repositories/snapshots/' url "http://repo1.maven.org/maven2" } } dependencies { compile...

Use a different layouts/main.gsp based on environment in Grails

grails,build,gsp
I am trying to have two distinct layouts for my application. Most of the changes are CSS based, however some elements might also get moved around(such as moving a navbar from the top to the side). I decided the easiest would be is to have two main layouts, and pick...

xcode6 - how to see build command and log?

xcode,logging,build,xcode6,output
I have build errors in my xcode project (objective c), and I no longer "stumble upon" the build command string nor the build output logs. This is xcode 6.3.1. All I can inspect is a left-side panel listing errors/warnings. I want the build command and build console output to compare...

Naming conventions and file placement using Bower and Gulp

node.js,build,npm,gulp,bower
I started working with Bower and Gulp just recently. I have a bower.json listing my dependencies, a gulpfile.js with tasks for fonts, css, js, etc. and a package.json listing gulp dependencies, among other things. I have only those files under version control and as a test checked out the repository...

`npm build` doesn't run my build scripts

javascript,node.js,build,npm
For a new module I'm trying to use npm build without gulp / Grunt / other specialised build tools. "scripts": { "build": "node build.js" }, My build.js is simply console.log('Hello') However, running npm build Simply exists without printing anything, with a status of 0. Running: npm install Also does all...

How to Build curl with NDK 10rd in windows

android,windows,curl,build,android-ndk
I am new to NDK, Now I want to build curl with NDK 10rd in windows 7. I download curl's code at[https://github.com/bagder/curl]. I have tried and searched many ways. But It does not work. The error info is : E:/study/thrid_lib/curl-master//jni/src/setup.h:41:25: fatal error: curl_config.h: No such file or directory #include "curl_config.h"...

Netbeans build.xml to execute when using Ant

ant,build,execute,build.xml
I'm relatively new to using build files and Ant to compile and execute from a command line so i wanted to know how it would be possible to modify the build-impl.xml file auto generated from netbeans so that after it compiles it also executes the program. Currently when i type...

Does Visual Studio option /MP help IncrediBuild?

performance,visual-studio,build,incredibuild
I use Xorax IncrediBuild to build Visual Studio 2013 (or later) projects. Does turning the /MP option on in properties of the projects affect the IncrediBuild performance in any way? Does it help, interfere or is the option ignored? Unfortunately, I can't find any confirmation in the IncrediBuild documentation....

undefined reference to `vtable for implementation' error

c++,build,makefile
I wrote some c++ files and after compiling with out make file it works fine . But when using make file it pop out some errors . My codes are : include directory files : application.h #ifndef APPLICATION_H #define APPLICATION_H #include "employee.h" #include "employee_data.h" #include "employee.h" ...some defintions here... #endif...

How can I capture Sublime 2 build output when it it sometimes on one line, sometimes on two lines

regex,build,sublimetext2
Title is a little long, but that's the best way to phrase the question. I am using MivaScript as the programming language, so I am building all the tools to make it work in Sublime by hand. I have most everything working except the build system. My problem is that...

cassandra IndexSummaryManagerTest unit test case timeout error

unit-testing,build,cassandra
I have been an error while compiling cassandra unit test cases. One of the tests gets timed out sometimes. While https://issues.apache.org/jira/browse/CASSANDRA-8981 states that this issue has been resolved in version 2.1.5, I am still getting this issue. Building cassandra 2.1.5 from source using jdk1.8. Below are the details: [junit] Testsuite:...

x64 option not available in the new project's configuration manager [duplicate]

c#,visual-studio-2013,build,configurationmanager
This question already has an answer here: Visual Studio will not give me the platform option of 64 bit in configuration manager..? 1 answer I have added a new project to my solution. I have set the target platform of all my other projects in the solution to x64....

Separate build directory for autotools projects not designed to use one

build,autotools
... Sorry, this has to be a duplicate, but I'm just running across answers for people who are making their own projects and can change the build system setup. Can I always compile a program in a separate build directory, or must it be supported by the program's build system?...

TeamCity Professional License

build,continuous-integration,teamcity
I'm considering TeamCity for CI and not sure whether I can use Professional License (which is free) for commercial application? From their license page https://www.jetbrains.com/teamcity/buy/ , seem like the Professional License only restricted in number of build configuration and build agents, doesn't mention anything about commercial usage. In their FAQ...

cannot modify .csproj files using build auto with tfs 13

build,workflow,tfsbuild,tfs2013,workflow-activity
I created a workflow activity named EditCsproj which is a C# class that I added to my build template. I put it right after the Initialize Workspace step. This workflow has to get all .csproj files in the directory path that I provide as a parameter and it has to...

Android Build failed at ':app:dexDebug' with exception ( library and app project )

android,exception,gradle,build
I am using some third party libraries in my library project. The following is my library project build.gradle apply plugin: 'com.android.library' android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { minSdkVersion 14 targetSdkVersion 21 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } //dexOptions...

Jenkins - Stage before “Source Code Management”

jenkins,build,jenkins-plugins
I need my build to run only if some conditions are met. For that I need to insert a check procedure before running the built-in "Source Code Management" that updates the svn working copy. Is there a way to do that?

Apache IVY Unable to resolve dependencies for MAVEN Projects

netbeans,build,maven-2,ivy,nexus
I have a setup of Apache Ivy(Version 2.4.0) and Netbeans IDE(8.0.2). I have not been able to resolve dependencies for full blown maven projects(For example:org.glassfish.jersey). Apache Ivy successfully resolves dependencies for more specific modules like (org.glassfish.jersey.core). Non working Example: <dependency org="org.glassfish.jersey" name="project" rev="2.13" conf="solrj->*"/> Working Examples: <dependency org="org.apache.solr" name="solr-solrj" rev="5.0.0"...

How can I migrate to automated builds while keeping Git's commit log clean?

git,build,continuous-integration,bamboo,atlassian
I'm currently working towards migrating a large application to a build server. Every push to our Git repository will trigger a new build that will build, tests - all with the help of a variety of scripts located in my project. As of now I'm making modifications to my scripts...

No IPA output for Cordova build in Visual Studio

ios,visual-studio,cordova,build,visual-studio-cordova
I'm developing a mobile app with Visual Studio Tools for Apache Cordova CTP 3.1 in VS 2013. I have configured everything according to the MSDN specifications here Install Tools to Build for iOS. I am able to build the app and run the remote simulator (as described here Run Your...

Can't get different values of dependencies with automatic variable '$<' in makefile

build,makefile,automatic-variable
I'm making once which compiles some sort algorithms that i made. I have a structure like this: |/sorting_algorithms |----/bin |----/build |----/include |--------tiempo.h |----/src |--------bubble_sort.c |--------enhanced_bubble_sort.c |--------selection_sort.c |--------insertion_sort.c |--------shellsort.c |--------heapsort.c |--------tiempo.c |----makefile And my makefile is like this: CC := gcc CFLAGS := -g -Wall SRCDIR := src BUILDDIR := build...

Can't properly link libraries when compiling with Waf

c++,build,linker,shared-libraries,waf
I'm trying to compile a program that depends on Caffe using Waf (not my program, just trying to build it). During linking, I was getting the error /usr/bin/ld: cannot find -lcaffe So I added the path to libcaffe.so to obj.libpath in wscript and it compiled. Yet when I run the...

Cannot run jar file created from scala file

scala,jar,build,sbt
This the code that I have written in scala. object Main extends App { println("Hello World from Scala!") } This is my build.sbt. name := "hello-world" version := "1.0" scalaVersion := "2.11.5" mainClass := Some("Main") This is the command that I have run to create the jar file. sbt package...

Gradle multi-project custom build.gradle file name

gradle,build,multi-project
I have a multi-project Gradle build, which is currently configured through a single build.gradle file. There are over 70 modules in this project, and the single (gigantic) build.gradle file has become cumbersome to use, so I'd like to split it into small per-module buildscript files. Now, I don't want to...

android gradle Local path doesn't exist

android,android-studio,build,gradle
When i run my app every time, versionName is incremented in Manifest file. 20389 means that is old version name, 20390 is incremented number. Project is built successfully like BUILD SUCCESSFUL. But the question is that why Android studio caches previous apk version. Here is what is error: Target device:...

Using Cmake's RelWithDebugInfo as Default Build Type

c++,c++11,build,cmake
Are there any drawbacks to using RelWithDebInfo as the default build type when developing an application and for distributing it? I thought about this after having a problem that occur in release mode but not in debug mode. And since then, I'm using RelWithDebugInfo build type as default. I still...

What's the error as “CMAKE_BOOTSTRAP_BINARY_DIR” at a time as build CMake from a source code

build,cmake
What's the error as "CMAKE_BOOTSTRAP_BINARY_DIR". How can I build cmake from the source. Environment: System: Kubuntu-15.04 CMake source: https://github.com/Kitware/CMake Reproduction: git clone [email protected]:Kitware/CMake.git cd CMake git checkout v3.2.2 ./bootstrap Error ( at ./bootstrap ): --------------------------------------------- g++ -I/home/usagi/repos/CMake/Bootstrap.cmk -I/home/usagi/repos/CMake/Source -I/home/usagi/repos/CMake/Bootstrap.cmk -c /home/usagi/repos/CMake/Source/cmSystemTools.cxx -o cmSystemTools.o...

Changing JS variable with Grunt for different environments

javascript,build,gruntjs,environment-variables
I'm trying to configure my JS build to do next: I'm using a JS variable to define the application root: globals.js define(function (require) { "use strict"; return { mainRoot: "http://myapp.com" //mainRoot: "http://localhost:3000" - local run //mainRoot: "http://myapp-test.com" - test server }; }); During local development I'm using code without Grunt...

CMake fails to find boost libraries (CGAL, Windows)

c++,boost,build,cmake,cgal
I saw dozens of identical questions about this issue. None of their answers worked for me I'm afraid. I'm trying to install CGAL. I'm following the following tutorial describing the process step-by-step. The only difference is that I'm using CodeBlocks and I've selected "Specify native compilers" and pointed them to...

Building Mono Without Bash: Syntax Error in doltlibtool

bash,shell,build,mono
I'm building mono on an android device and getting an error when the build runs ./doltlibtool make[4]: Entering directory `/bld/mono/mono-4.0.0/eglib/src' CC libeglib_la-garray.lo ../doltlibtool: line 4: syntax error: unexpected "(" Here is line 4 of doltlibtool: 1 #!/bin/bash 2 top_builddir_slash="${0%%doltlibtool}" 3 : ${top_builddir_slash:=./} 4 args=() 5 modeok=false 6 tagok=false From what...

GNU make - depend only on file existence and not modification time

linux,build,makefile,dependencies,gnu-make
I want to have a makefile in which I have a task a that can only run if a file b exists, but does not need to be re-run if b is updated. How do I do this?

Android Studio - Error Building - Android tasks have already been created

android,android-studio,build
Getting the following error when building the project: Error:(2, 0) Android tasks have already been created. This happens when calling android.applicationVariants, android.libraryVariants or android.testVariants. Once these methods are called, it is not possible to continue configuring the model. Root build.gradle: buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.1.0'...

How to test for operating system in ant build

ant,build
It seems the only reliably provided property by ant is the "os.name" property. However this name has variants ;lie "Windows 8" "Windows 7" etc But for my purposes both are "Windows" - Is there a way to conditionally set a property based on a partial string match of another property...

The latest application is not deployed in wso2cloud

deployment,build,wso2,wso2cloud
It seems to me like the latest code that I submitted to WSO2 App cloud is not deployed. I tried to access the jenkins server (https://jenkins.cloud.wso2.com/t/cleancoders/webapps/jenkins/job/draft-trunk-default/) I see there that the latest code is built(upto build 29) but on the App cloud still build 24 is deployed. It seems to...

Typescript export syntax & code structuring

build,typescript
I'm building a typescript library, and I would like to do it the following way: One class (interface) / file in the dev sources Since the whole library "belongs together", all can go under 1 namespace When building, I want to be able to create a single output js and...

Matching string in F# FAKE build file

build,f#,f#-fake
I have a F# FAKE build file that I want to call with a parameter conf that can have two values, cs and sk. My batch file looks like this @echo off cls "tools\nuget\nuget.exe" "install" "FAKE" "-OutputDirectory" "tools" "-ExcludeVersion" "tools\FAKE\tools\Fake.exe" build.fsx conf=sk pause In the F# file, I get the...

Tycho compiler does not find classes from plugin dependecies

eclipse,maven,build,eclipse-plugin,tycho
I am trying to build a plugin with Tycho. There are no errors in the Eclipse workspace, but when I try to compile it with Maven I got the following errors (more than 57 errors): [INFO] Resolving dependencies of MavenProject: uk.xman.tool:xman.xtend.conditiondsl:2.0.0 @ C:\Users\Simone\OneDrive\Eclipse\xman.xtend.conditiondsl\pom.xml [INFO] Resolving class path of MavenProject: uk.xman.tool:xman.xtend.conditiondsl:2.0.0...

How to clean Jenkins workspace only if build fails

jenkins,build
In the interest of reducing build times I would like to only clean down the Jenkins job workspace if a build fails. Is there of doing this using post build action? Does Jenkins set a variable to the effect of 'BUILD FAILED' that can be read in a script that...

Fast kernel recompile

linux,build,linux-kernel,make,incremental-build
I'm trying to automate the process of recompile a upgraded kernel. (I mean version upgrade) What I do: Backup the object files (*.o) with rsync Remove the directory and make mrproper Extract new source and patch Restore object files with rsync But I found it doesn't make sense. Since skip...

Android build project error trying to build apps > 65K (65536) methods

android,android-studio,gradle,build,android-gradle
I have added these two new dependencies in my build.gradle compile 'com.android.support:appcompat-v7:22.2.0' compile 'com.android.support:design:22.2.0' And right now, I can't build my project because I've got an error. I have found information about the error and the solution that I have found says that I have to add ... compile 'com.parse.bolts:bolts-android:1.+'...

Gradle: How to perform git pull through gradle?

java,git,build,gradle
I want to pull changes from git repo before compilation begins. I found this Gradle: how to clone a git repo in a task?, but it clones the repo instead of fetching just the changes. This could be time consuming if the git server is not on the local network...

Ant Test Compile Crashes

testing,ant,junit,build,compilation
I am trying to compile a class named TestsVorgabe wich represents a testsuite including five other tests. It works fine with normal JUnit testing, but when i try to compile it with ant i get an error: cannot find symbol Project structure like this: project/src => Classes project/test => TestClasses...

Building Spring Boot from source to contribute

java,maven,build,spring-boot
I would like to start contibuting to Spring Boot and have checked out all the code but I can't get the source to build. According to https://github.com/spring-projects/spring-boot/blob/master/CONTRIBUTING.adoc I should just be able to run mvn clean install but I get these errors [INFO] Scanning for projects... [ERROR] The build could...

Where do I get the configure script for PHP source?

php,build,autoconf,buildconfig
I am currently trying to build an extension for PHP via PECL. /Applications/MAMP/bin/php/php5.4.39/bin/pecl install memcached I am using OS X and MAMP, so I got this error. /Applications/MAMP/bin/php/php5.4.39/include/php/Zend/zend.h:51:11: fatal error: 'zend_config.h' file not found Since MAMP is shipping without any header files for PHP, I had to get them manually....

Ant: Unable to get Ant to copy properties file to classes directory

java,ant,build,war
I have a project which I can build and deploy correctly using Ant I want to build a war file to deploy the project. I can get everything working except I cannot get the properties file to appear in the classes directory. My properties file is located here: /h/a/A/I/S/src/Serv/log4j.properties This...

ANT: Build Failed: failed to create task or type testng:

selenium,ant,build
<project name="name" default="test" basedir="."> <!-- Define <testng> task --> <taskdef resource="testngtasks"> <classpath> <pathelement location="/lib/testng-6.8.5.jar"/> </classpath> </taskdef> <property name="testdir" location="test" /> <property name="srcdir" location="src" /> <property name="libdir" location="lib" /> <property name="full-compile" value="true" /> <path id="classpath.base"/> <path id="classpath.test"> <fileset...

Python: Trouble with dill installation

python,python-3.x,build,installation,dill
I am currently working on a big game project in python and the need for storing my classes has just appeared. I looked into the net and tried out pickle and cpickle but given the structure of my classes they weren't good enough. so I am currently trying to use...

Combine many ruby source files into a single file

ruby,build,building
I'm working on a project in ruby, and I have many source files each declaring a few classes and methods in a module. I've been looking around and I may just be missing something, but I can't seem to find a way to merge all of my source files into...

Command line build solution vs Visual Studio 2012 build

c#,wpf,visual-studio,visual-studio-2012,build
I am in the process of creating a CI build machine. I use the command line to build our VS2012 solutions which contain many project types (wpf, forms, MFC, c# and c++). I use the following command line: call "%VS110COMNTOOLS%\vsvars32.bat" devenv.com SolutionName.sln /rebuild "Release|Mixed Platforms" If I look at the...

How can I run multiple NPM scripts in parallel?

javascript,node.js,build
In my package.json I have these two scripts: "scripts": { "start-watch": "nodemon run-babel index.js", "wp-server": "webpack-dev-server", } I have to run these 2 scripts in parallel everytime I start developing in Node.js. The first thing I thought of was adding a third script like this: "dev": "npm run start-watch &&...

No team selected for iOS build with VS Cordova tools

ios,visual-studio,cordova,build,visual-studio-cordova
I am building an app for iOS with the Visual Studio Tools for Apache Cordova CTP3.1 from VS 2013. I have setup the environment on my Windows and Mac machines and I can build and run the app if I select an emulator. However, if I select Local Device then...

Impossible to run ionic build android

android,cordova,build,ionic
I have a couple of days with this problem, upgrade to the new version ionic and present the following problem: BUILD FAILED Total time: 11.556 secs /Users/lixsys/app_view/platforms/android/cordova/node_modules/q/q.js:126 throw e; ^ Error code 1 for command: /Users/lixsys/app_view/platforms/android/gradlew with args: cdvBuildDebug,-b,/Users/lixsys/app_view/platforms/android/build.gradle,-Dorg.gradle.daemon=true ERROR building one of the platforms: Error: /Users/lixsys/app_view/platforms/android/cordova/build: Command failed with...

Android Studio build file R broken

java,android,build,corruption
I am working on an android app which has worked and been tested many times. Today, however, in attempting to run the application for further testing, I have encountered the following error message: C:\Users\1000\AndroidStudioProjects\WarofSol\app\build\generated\source\r\debug\com\blacktentdigital\warofsol\R.java Error:(1251, 32) error: identifier expected Error:(1251, 34) error: illegal start of type Error:(1251, 35) error: identifier...

Best way for deployments with builds, dependency managers and GIT? [closed]

wordpress,git,magento,deployment,build
I'm currently working with Git, Git Flow, Gulp and Bower. I'm working on the develop branch and create releases with Git Flow to the master branch. So develop is equal to my local and test environment, release/version to the acceptance environment and the master branch is equal to the production...

Gulp task runs much faster without 'return' statement - why is that?

build,return,task,gulp
Gulp task formed like this (without return) runs much faster: gulp.task('less', function () { gulp.src('./less/**/*.less') .pipe(less()) .pipe(gulp.dest('./destination')); }); than the same one with return: gulp.task('less', function () { return gulp.src('./less/**/*.less') .pipe(less()) .pipe(gulp.dest('./destination')); }); So, my question is what does Gulp task is supposed to return? Why is it so much...

What is the standard build tool in Erlang?

build,erlang,make,rebar
I am very new to Erlang programming language. Is there a standard build tool in Erlang? I have googled out these, not sure which one I should use. Erlang Make http://www.erlang.org/doc/man/make.html Rebar Erlang.mk ...

Play framework: package javax.inject does not exist

java,build,playframework-2.0,sbt,dependency-management
In my Play 2.0 Framework Java project, the following line yields errors both in Eclipse and during the sbt compile step: import javax.inject.*; I already added the javax.inject dependency to my build.sbt file: libraryDependencies ++= Seq( javaCore, javaJdbc, javaEbean, javaWs, javaFooBar, cache, "javax.inject" % "javax.inject" % "1", "org.atmosphere" % "atmosphere-play"...

Gerrit + Jenkins

testing,jenkins,build,gerrit
I use jenkins + gerrit. If I commit and push some changes and build-NOT-OK, I will see and fix it. When I fixed it, then commit and push, I see "Submitted, Merge Pending"....

Prerelease builds missing on iTunes Connect

build,itunes,store,connect
Although I can upload successfully new versions of my app to iTunes Connect, I can't see them nor the previous ones under the "Prerelease" section in the app's page. Instead, I get a message saying "Upload your builds with Xcode 5.1.1 or later, or with Application Loader 3.0 or later"....

Should a Nightly build be incremental?

tfs,build,incremental-build
We have a nightly build that currently cleans the entire workspace and builds all projects from the ground up and then runs integration tests on them. But this process takes quite a while - around 10 hours. Using an incremental build could save at least half an hour, but would...

How can I resolve the “Could not fix timestamps in …” “…Error: The requested feature is not implemented.”

linux,build,f#
I have been trying to build a project in F# on Linux that I have located here on github. It's a basic kata project that I am working on as a demo. However on Linux (specifically Ubuntu 14.04 LTS Desktop) I haven't been able to get it to build yet...

compiling cassandra test cases failing

ant,build,cassandra
I am trying to build cassandra binaries from source and when I try to compile unit test cases, one of them fails. I am build cassandra-2.1.4 with Java 8. These are the commands I run: ant -Dfile.encoding="UTF-8" ant test ant artifacts Failure details: [junit] Testsuite: org.apache.cassandra.tools.SSTableExportTest [junit] Tests run: 8,...

What is the name of CMake's default build target?

c++,c,build,cmake
I have a custom target, and I want it to depend on the default target (the one that is built with make). add_custom_target(foo ....) add_dependency(foo default_target_name_goes_here) What is the name of the default target? I've tried ALL, ALL_BUILD, MyProjectsName, DEFAULT,... Finding anything in the CMake documentation is always an unsuccessful...

How can I build BIRT 4 designer RCP?

build,eclipse-rcp,birt
I am new to Eclipse development and I have been trying to build the BIRT designer RCP without success. My goal is to customize the BIRT designer, e.g. removing some views and menus, setting fixed data sources and templates, restricting some actions, etc, and then embed it in my own...

What does go build build?

go,build,compilation
New Go programmers often don't know or get confused what the fundamental go build command does. What do exactly the go build and go install commands build and where do they put the result/output?...

Gradle: Prevent execution of tasks defined in allProjects for root project

gradle,build,build-process
I have a flat multi-project configuration like this: projA projB projC build_scripts build_scripts contains build.gradle build.gradle looks like this: allprojects { ... task gitPull(type: Exec) { description 'Pulls git.' commandLine "git", "pull" } } project(':projA') { ... } project(':projB') { ... } project(':projC') { ... } When I run gradle...

Force GHC using local files

haskell,build,ghc,cabal
I'm making some "experiments" on a haskell module and I have a problem with a source file I wish to modify. I have many reasons to think that GHC seek the installed (with cabal) library on my system and not the local sources files. I deleted the *.o files locally...

Build libfreenect on ubuntu

build,header,cmake,make,openkinect
I built the libfreenect (Open Kinect) library from sorce, but the libraries and headers are nowhere to be found. I have checked the paths specified in the configuration step, i.e., /usr/local, /usr/local/lib, usr/local/include. Has anyone faced this problem with libfreenect or any other library? ~/libfreenect/build\ $ cmake -L .. -DBUILD_AUDIO=ON...

Cannot build Anjuta default GTK project

build,gtk,anjuta
I've just installed Anjuta on Ubuntu. I tried building the auto-made GTK(simple) project but I get the following error : "Error: Directory `/home/cookie . Cie' does not look like the top-level package directory" My project directory is named "PSE Anjuta Cie" so the mentionned directory looks like the end of...

Change Wix Product version number using NANT XmlPoke

build,wix,nant,wix3.9
I ran into this issue recently - when I try to replace the Wix Product version number using NANT XMLPOKE task, it returns the following error message "No matching nodes found". <xmlpoke file="..\Setup\abc.wxs" xpath="//Wix/Product[@Version]" value="${version.label}" > Initially I thought that this was an issue with XPATH statement that I wrote....

Combination of chdir=1 and num_jobs>1 in SCons

python,build,multiprocessing,scons
I have a rather lengthy test task which is automated by SCons and could be parallelized. However, it currently relies on using chdir=1, which at the moment is not trivial to remove. Now, as soon as I use -j2 respectively SetOption('num_jobs', 2) the job fails and the following minimal (non-)...

cannot delete builds in tfs 2012

build,tfs2012
I am trying to delete some build definitions for a specific range of time by using tfsbuild delete command. After waiting for about 3 hours I get the error message: Unexpected end of file. Following elements are not closed: InformationField, Fields, BuildInformationNode, Information, BuildDetails, Builds, BuilQueryResult, QueryBuildsResult, QueryBuildsResponse, Body, Envelope....

Would GNU Make automatically add extra prerequisite?

c++,build,makefile,make
The following example snippet is from "Managing Projects with GNU Make(3rd edition)" p.21. count_words: counter.o lexer.o -lfl The author says that make will automatically add count_words.o to prerequisite list by implicit rule. Quoted: ..., make identifies four prerequisites: count_words.o (this prerequisite is missing from the makefile, but is provided by...

SBT: execute task using other task value

scala,build,sbt,sbt-0.13
I redefine my tests to supply some arguments from configuration to test suite: This is an excerpt from my Build.scala: object Build extends Build { lazy val myProject = (project in file("my_project")).settings( test in Test := myProjectTest.value ) val myProjectTest = Def.task { (testOnly in Test).toTask(" tests.Suites -- " +...

Specify Non-Standard Source Folder

build,rust-cargo
I am writing a multi-language project (a Java library which loads and calls rust functions through the FFI), and so I want to divide my code files up a little bit. Rather than just putting everything in src, I've made folders src/rust and src/java. How can I tell Cargo that...

Create build.xml file independant of the location of the libraries on a computer

eclipse,java-ee,ant,build
In order to generate a war file , I've created a build.xml file via eclipse. The build.xml is as shown below: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- WARNING: Eclipse auto-generated file. Any modifications will be overwritten. To include a user specific buildfile here, simply create one in the same directory with...

The given path's format is not supported “obj\Debug\C:\…” on build

c#,visual-studio-2013,build
I'm trying to build a project that wasn't created by me. VS gives me the error: Could not write lines to file "obj\Debug\C:\...". The given path's format is not supported. I've replaced the full path with "...". Note that the path is interrupted with "C:..." Anyone know what VS uses...

Ignoring task dependencies in gulp.js

javascript,build,dependencies,gulp
I have the following task gulp.task('sass-build', ['clean-build'], function () { // do stuff }); which obviously requires clean-build to be finished before starting. However, I would also like to use this task with gulp.watch without the clean-build dependency. I'm aware that you could solve this with a helper task like...

Compile a directory tree of separate apps (one entry point each), using CommonJS modules and ES6 modules

build,couchdb,ecmascript-6,commonjs
I am writing a Couch app. The output of the build process must be a directory tree of self contained JS files, like so: dist ├── _attachments │ ├── logo.jpg │ └── splash.jpg ├── lists │ └── sitemap.js ├── shows │   ├── article.js │ ├── home.js │ └── dashboard.js ├──...

TeamCity config transform error

visual-studio-2013,build,teamcity
I'm trying to switch out a web config file using team city so that each deployment has the correct settings. I've added an AfterBuild target in my .csproj file <Target Name="AfterBuild"> <Delete Files="$(TargetDir)$(TargetFileName).config" /> <Copy SourceFiles="$(ProjectDir)\Config\Web.$(Configuration).config" DestinationFiles="$(TargetDir)$(TargetFileName).config" /> </Target> and then called this in team city in the "Targets" section...

Run a Jenkins job every one minute using H/1 * * * *

jenkins,build,cron,job-scheduling,periodic-processing
How can I run a job created in Jenkins every one minute ? Am I missing anything? PS: I'm trying not to use: */1 * * * * ...

Omit localized versions of assemblies from the build output

c#,.net,build,localization,.net-assembly
In one of my projects, I am using an awesome library called Humanizer. This library comes in many language variations (I counted 38). When I build my project, I then see all these folders like "af", "ar", "bg", "bn-BD", ..., "zh-Hant" with assemblies containing the localized resources for this library....

Conditionally include project in gradle build

android,build,gradle
Scenario: We have an Android app with a few different optional components that we would like to be able to include/exclude depending on customer needs and licensing. Is it possible to include specific projects based on a build parameter and without creating all permutations as build flavors? ./gradlew assembleRelease -PincludeFeatureA=true...

SWIG + Go: C source files not allowed when not using cgo

go,build,swig
I am trying to wrap this library (https://github.com/lemire/EWAHBoolArray) in Go using SWIG, but I'm having a lot of problems since I upgraded to 1.4 I had successfully gotten everything to work using Go 1.3.3 and following the instructions on the SWIG site for SWIG + Go. I had to compile...

MultiJob should not start when other MultiJob is running

git,jenkins,build
I'm using the plugin http://entagen.github.io/jenkins-build-per-branch/ to create my jobs for feature-branches. Generating these jobs works great but I'm running into a problem when performing my builds. My template job is scheduled to check SCM(Git) every 15 minutes. When generating the feature-branch jobs they'll be triggered because they're all new. The...

Gradle Multiproject Build: How to include JAR of a WAR project into another WAR without creating pseudo projects

java,build,gradle,build-process
I have two web apps A and B. B uses parts of code from A. If I declare A as a dependency for B the A.war is included WEB-INF/lib of B.war This kind of include is meaningless to the container. The only solution I see is to change A to...

CMake custom builds issues

build,cmake,emscripten
I am trying to use CMake to build a custom project, which involves using emscripten to provide javascript binding for my C++ library. This is what I want my CMakeLists.txt file to achieve Specify source locations for my files (DONE) Set up relevant COMPILERS to use as well as compiler...