Package org.yamcs.web

Class WebFileDeployer

java.lang.Object
org.yamcs.web.WebFileDeployer

public class WebFileDeployer extends Object
Deploys web files from a source to a target directory, while tweaking some files.

The source is determined in order to be either:

  • (1) Check system property yamcs.web.staticRoot
  • (2) Check a property in etc/yamcs.yaml
  • (3) Load from classpath (packaged inside yamcs-web jar)
A production deployment will use a precompiled web application, and use (3).

(1) and (2) are intended for enabling local development on the web sources. (1) allows doing so without needing to modify the etc/yamcs.yaml.