Package org.yamcs.web
Class WebFileDeployer
java.lang.Object
org.yamcs.web.WebFileDeployer
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)
(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
.
-
Field Details
-
PATH_INDEX_TEMPLATE
- See Also:
-
PATH_INDEX
- See Also:
-
PATH_NGSW
- See Also:
-
PATH_WEBMANIFEST
- See Also:
-
-
Constructor Details
-
WebFileDeployer
public WebFileDeployer(String cacheKey, YConfiguration config, String contextPath, List<Path> extraStaticRoots, Map<String, Map<String, throws IOException, ParseExceptionObject>> extraConfigs) - Throws:
IOException
ParseException
-
-
Method Details
-
getDirectory
Returns the directory where files are deployed -
getExtraStaticRoots
-
setExtraSources
-
redeploy
public void redeploy()
-