How to recompile whc.jar?

Run ant in whc_install_dir/src/.

whc_sc.jar, a self-contained variant of whc.jar

Jar file whc.jar is not self-contained. whc needs to access its whc_template/ template directory. For that, it expects whc_template/manifest.txt, the manifest file of the template directory, to be found at any of the following locations:

  1. resource /whc_template/manifest.txt, if found in whc.jar,
  2. location_of_whc.jar/whc_template/manifest.txt,
  3. location_of_whc.jar/../whc_template/manifest.txt.

Running ant scjar in whc_install_dir/src/ allows to build whc_install_dir/lib/whc_sc.jar (SC for Self-Contained) which unlike whc.jar, embeds whc_template/.