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.
TODO: Syntax
Syntax ------
target ::= <scheme> ':' ( single-file | file-pattern ) ';archive=' <archive> single-file ::= 'file=' <file> ( ';targetFile=' <file> )? file-pattern ::= 'pattern=' <pattern>
The
scheme
is the name under which the ZipSchemeHandler was registered. Thearchive
is the ZIP archive and can be any supported target resolving to a file target.Extracting single files -----------------------
The
file
is a the path to the to-be-extracted file in the archive. The optionaltargetFile
denotes the location, where the extracted file should be stored.The ZipSchemeHandler will resolve to a file scheme pointing to the extracted file.
Examples:
Extracting multiple files (no yet implemented) ----------------------------------------------
Use
pattern
to specify a regular expression pattern which will match those files from the archive to be extracted. The ZipSchemeHandler will 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.