mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Logs.
This commit is contained in:
parent
b9924d3b69
commit
f695fdf38c
1 changed files with 3 additions and 3 deletions
|
@ -47,15 +47,15 @@ public class JarUtils {
|
|||
throw AssertionError("File should exist: $localFile")
|
||||
}
|
||||
|
||||
if (localFile.isDirectory) {
|
||||
log(2, "Writing contents of directory $foundFile")
|
||||
if (foundFile.isDirectory) {
|
||||
log(2, " Writing contents of directory $foundFile")
|
||||
|
||||
// Directory
|
||||
val includedFile = IncludedFile(From(""), To(""), listOf(IFileSpec.GlobSpec("**")))
|
||||
addSingleFile(localFile.path, includedFile, outputStream, expandJarFiles)
|
||||
} else {
|
||||
if (file.expandJarFiles && foundFile.name.endsWith(".jar") && ! file.from.contains("resources")) {
|
||||
log(2, "Writing contents of jar file $foundFile")
|
||||
log(2, " Writing contents of jar file $foundFile")
|
||||
val stream = JarInputStream(FileInputStream(localFile))
|
||||
var entry = stream.nextEntry
|
||||
while (entry != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue