public class ProductionModeCopyStep extends Object
| Constructor and Description |
|---|
ProductionModeCopyStep(Collection<ArtifactData> projectArtifacts)
Fill and verify initial jar files' data.
|
ProductionModeCopyStep(com.vaadin.flow.server.frontend.JarContentsManager jarContentsManager,
Collection<ArtifactData> projectArtifacts)
Fill and verify initial jar files' data, use custom version of
JarContentsManager for the operations. |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrontendJavaScriptFiles(File frontendDirectory,
String commaSeparatedWildcardPathInclusions,
String jsResourcePath)
Copies files from earlier specified jars and
frontendWorkingDirectory, applying exclusions specified to all files. |
void |
copyWebApplicationFiles(File outputDirectory,
File frontendWorkingDirectory,
String commaSeparatedWildcardPathExclusions)
Copies files from earlier specified jars and
frontendWorkingDirectory, applying exclusions specified to all
files. |
public ProductionModeCopyStep(Collection<ArtifactData> projectArtifacts)
projectArtifacts - project artifacts to get the data fromIllegalArgumentException - if no bower.json is found inside any WebJarUncheckedIOException - if any IOException occurs during
bower.json parsingpublic ProductionModeCopyStep(com.vaadin.flow.server.frontend.JarContentsManager jarContentsManager,
Collection<ArtifactData> projectArtifacts)
JarContentsManager for the operations.jarContentsManager - a class to manage jar file contents, not nullprojectArtifacts - project artifacts to get the data fromIllegalArgumentException - if no bower.json is found inside any WebJarUncheckedIOException - if any IOException occurs during
bower.json parsingpublic void copyWebApplicationFiles(File outputDirectory, File frontendWorkingDirectory, String commaSeparatedWildcardPathExclusions)
frontendWorkingDirectory, applying exclusions specified to all
files.outputDirectory - the directory to copy files into, not nullfrontendWorkingDirectory - the directory to copy files from, intended to be current
application's directory with frontend files, can be
nullcommaSeparatedWildcardPathExclusions - comma separated wildcard exclusions to exclude files, can be
null if no files are excludedIllegalStateException - if any directory fails to be created via
File.mkdirs()UncheckedIOException - if any IOException occurs during other file
operationspublic void copyFrontendJavaScriptFiles(File frontendDirectory, String commaSeparatedWildcardPathInclusions, String jsResourcePath)
frontendWorkingDirectory, applying exclusions specified to all files.frontendDirectory - the directory to copy files into, not nullcommaSeparatedWildcardPathInclusions - comma separated wildcard to include files, can be null
if no files are includedjsResourcePath - path to get the js files fromUncheckedIOException - if any IOException occurs during other file
operationsCopyright © 2025. All rights reserved.