This can be set as a startup script so that it will automatically start when the RPi restarts.
Then in OpenSprinkler source code, modify the JAVA_SCRIPT_PATH to from ‘http://rayshobby.net/scripts/java/…..’ to ‘http://192.168.1.50/scripts/java…’. That’s it. Basically it’s using the python’s SimpleHTTPServer module as a simple way to serve the files.
The downside of this is that it involves an RPi (or some other server that should be on at all times), and modifying the OpenSprinkler source code.