nathanmarz/storm — pull request #101 by dkincaid (2012-01-15 04:26:53+00:00)
Title: Fix for Issue #82 (Storm should extract resources dir in local mode when appropriate)

This should be a fix for issue #82. It checks the url that the supervisor gets from the getResource call for "jar:" on the front to determine if it's inside a jar file. It calls the Java function Utils.copyResourcesFromJar() which extracts the files from the jar and copies them to the given directory.

I didn't do extensive testing, but it worked here for me on a couple of different situations.