How do I include a dependency’s test jar into a Maven project’s deployment?

Better to configure maven pom file in your first module <project> <groupId>com.example</groupId> <artifactId>foo</artifactId> <version>1.0.0-SNAPSHOT</version> <packaging>jar</packaging> <build> <plugins> … <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> After this a mvn install/release will also deploy an artifact foo-1.0.0-SNAPSHOT-tests.jar Then configure the dependency on the test jar with classifier (like suggested in other responses) … Read more

How to fix ASP.NET error “The file ‘nnn.aspx’ has not been pre-compiled, and cannot be requested.”?

I’ve not had that error, but after a little Googling I came across this link, I’m not sure if you’ve seen it yet: http://forums.asp.net/t/956297.aspx Edit (adding the key text): This error will come when a reference is specified in web.config and deployment folder/site does not contain these dlls installed in the system or bin folder … Read more

How to manually register ClickOnce file associations after installation?

You can figure out the registry keys to be added, using Windows Sysinternals Process Monitor (Previously known as RegMon). Capture Events when you install your app using ClickOnce with default file associations. It will record all the registry operations (lots of them). You would need to use some filters to easily identify the registry keys.

What flags do you set for your GFORTRAN debugger/compiler to catch faulty code?

Bare minimum -Og/-O0 -O0 basically tells the compiler to make no optimisations. Optimiser can remove some local variables, merge some code blocks, etc. and as an outcome it can make debugging unpredictable. The price for -O0 option is very slow code execution, but starting from version 4.8 GCC compilers (including the Fortran one) accept a … Read more

Difference between build and deploy?

Disclaimer: Defining what build and deploy means is very subjective. I will start with deploy. Deploy should mean take all of my artifacts and either copy them to a server, or execute them on a server. It should truly be a simple process. Build means, process all of my code/artifacts and prepare them for deployment. … Read more

How to deploy Node.js in cloud for high availability using multi-core, reverse-proxy, and SSL

It’s been several months since I asked this question and not a lot of answer flow. Both Samyak Bhuta and nponeccop had good suggestions, but I wanted to discuss the answers I’ve found to my questions. Here is what I’ve settled on at this point for a production system, but further improvements are always being … Read more

Best practices in building and deploying Clojure applications: good tutorials?

A couple of quick hints, then some links: Don’t use lein uberjar during development; prefer lein jar. The difference is that lein uberjar puts all your dependencies in the generated jar (including Clojure itself), so that your single jar is an entirely self contained package with your app inside; lein jar only jars your own … Read more