Build NuGet Package automatically including referenced dependencies

Your point #3 (Add references to various .dll files/other projects <– this is the missing part) really contains two different issues: (1) add references to various dll files, and (2) add references to other projects in the same solution. Number (2) here has gotten some added support as of NuGet 2.5. You can add an … Read more

CruiseControl [.Net] vs TeamCity for continuous integration?

I have worked on and with Continuous Integration tools since the one that spawned Cruise Control (java version). I’ve tried almost all of them at some point. I’ve never been happier than I am with TeamCity. It is very simple to set up and still provides a great deal of power. The build statistics page … Read more

How can I create an executable/runnable JAR with dependencies using Maven?

<build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <archive> <manifest> <mainClass>fully.qualified.MainClass</mainClass> </manifest> </archive> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> </plugin> </plugins> </build> and you run it with mvn clean compile assembly:single Compile goal should be added before assembly:single or otherwise the code on your own project is not included. See more details in comments. Commonly this goal is tied to … Read more

Have Grunt generate index.html for different setups

I recently discovered these Grunt v0.4.0 compatible tasks: grunt-preprocess Grunt task around preprocess npm module. grunt-env Grunt task to automate environment configuration for future tasks. Below are snippets from my Gruntfile.js. ENV setup: env : { options : { /* Shared Options Hash */ //globalOption : ‘foo’ }, dev: { NODE_ENV : ‘DEVELOPMENT’ }, prod … Read more

Controlling Maven final name of jar artifact

For Maven >= 3 <packaging>jar</packaging> <build> <finalName>WhatEverYouLikey</finalName> </build> See bug report/documentation. (Credits to Matthew’s and his comment) For older Maven versions You set the finalName property in the plugin configuration section: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.3.2</version> <configuration> <finalName>myJar</finalName> </configuration> </plugin> As indicated in the official documentation.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)