ASP.NET MVC on IIS6

It took me a bit, but I figured out how to make the extensions work with IIS 6. First, you need to rework the base routing to include .aspx so that they will be routed through the ASP.NET ISAPI filter. routes.MapRoute( “Default”, // Route name “{controller}.aspx/{action}/{id}”, // URL with parameters new { controller = “Home”, … Read more

Custom distutils commands

This can easily be done with distutils by subclassing distutils.core.Command inside of setup.py. For example: from distutils.core import setup, Command import os, sys class CleanCommand(Command): description = “custom clean command that forcefully removes dist/build directories” user_options = [] def initialize_options(self): self.cwd = None def finalize_options(self): self.cwd = os.getcwd() def run(self): assert os.getcwd() == self.cwd, ‘Must … Read more

assembly-merge-strategy issues using sbt-assembly

As for the current version 0.11.2 (2014-03-25), the way to define the merge strategy is different. This is documented here, the relevant part is: NOTE: mergeStrategy in assembly expects a function, you can’t do mergeStrategy in assembly := MergeStrategy.first The new way is (copied from the same source): mergeStrategy in assembly <<= (mergeStrategy in assembly) … Read more

How to manually deploy a web service on Tomcat 6?

How to MANUALLY build and deploy a jax-ws web service to tomcat I was trying to figure out how to MANUALLY build and deploy a web service for learning pourposes. I began with this excellent article http://java.sun.com/developer/technicalArticles/J2SE/jax_ws_2/ (new URL: http://www.oracle.com/technetwork/articles/javase/jax-ws-2-141894.html) The idea was to do the whole thing using only a notepad and the command … Read more

Merge msi and exe

Yes, you can create a self-extracting installer containing both MSI and the setup.exe bootstrapper file. I think it is possible to do that with WinZip, or you can use IExpress coming with Windows. Here is a guide how to create a self-extracting executable with IExpress. You can either use the IExpress wizard or manually write … Read more