Class TaskCopyFrontendFiles
- All Implemented Interfaces:
FallibleCommand
"Frontend resources" are bundle sources for @JsModule /
@CssImport annotations. The recommended location for them in addon
JARs is META-INF/frontend. The legacy location
META-INF/resources/frontend is still scanned for backwards
compatibility but is deprecated; a per-jar warning is emitted when it is
used. Theme files under META-INF/resources/[**]/themes are also
copied.
Public runtime resources for @StyleSheet / @JavaScript should
be placed under META-INF/resources/ and are served directly by the
servlet container ? they are not handled by this task.
For internal use only. May be renamed or removed in a future release.
- Since:
- 2.0
-
Method Summary
Methods inherited from class com.vaadin.flow.server.frontend.AbstractFileGeneratorFallibleCommand
setGeneratedFileSupport, track, track, writeIfChanged, writeIfChanged
-
Method Details
-
execute
public void execute()Description copied from interface:FallibleCommandRuns the given command.If execution fails then the command may throw an exception which may give a message and a cause of the failure.
-