I am trying to create a local copy of the nu html validator. I can get it to run on the console, but I have not been successful in getting it to run in the background (or as a service).
I have no experience setting up Java Servlets, so I am looking for some pointers in converting the jetty application on the command line to a service.
The machine I am using has Ubuntu 10.04 Server.
I am really not sure whether to ask this here or on serverfault. I can move it there if it should be there.
The build.py script has a 'script' parameter which builds a run-validator.sh
file that runs the validator,
python build/build.py script
Will generate the script for you, You can inspect this script to see the bare java command.
I have been unable to get this running in the background as of yet,
Something to do with stdin methinks (the way the validator exits when you hit return) but I haven't been able to figure it out yet!