Return the dependencies required to be resolved when resolving the given path.
Return the dependencies required to be resolved when resolving the given path. Please note, that the return value of this method needs to be stable for the same path, as it is evaluated at configuration time, not at resolving time.
The resulting target name (path) this target resolves to.
The resulting target name (path) this target resolves to.
Actually resolve the dependency/target.
Actually resolve the dependency/target.
(zipSchemeHandler: StringAdd).self
(zipSchemeHandler: StringFormat).self
(zipSchemeHandler: ArrowAssoc[ZipSchemeHandler]).x
(Since version 2.10.0) Use leftOfArrow instead
(zipSchemeHandler: Ensuring[ZipSchemeHandler]).x
(Since version 2.10.0) Use resultOfEnsuring instead
The SchemeHandler to extract resources from a ZIP resource.
Syntax
The
schemeis the name under which the ZipSchemeHandler was registered.The
archiveis the ZIP archive and can be any supported target resolving to a file target.Extracting single files
The
fileis a the path to the to-be-extracted file in the archive. The optionaltargetFiledenotes the location, where the extracted file should be stored.The
ZipSchemeHandlerwill resolve to a file scheme pointing to the extracted file.Examples:
Extracting multiple files
Use
regexto specify a regular expression pattern which will match those files from the archive to be extracted.The
ZipSchemeHandlerwill resolve to a phony scheme including all extracted files as attached files.Remember that it is legal for ZIP resources, to not include directory entries, thus your might want to match concrete files inside the archive.