From 8e2a17c3df90eeb36a91b74860a1ace0d3536feb Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Tue, 16 Feb 2016 07:09:49 -0800 Subject: [PATCH] Copy the war resources to WEB-INF/classes. --- .../kotlin/com/beust/kobalt/plugin/packaging/WarGenerator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/beust/kobalt/plugin/packaging/WarGenerator.kt b/src/main/kotlin/com/beust/kobalt/plugin/packaging/WarGenerator.kt index 428dfe3e..81bb1a31 100644 --- a/src/main/kotlin/com/beust/kobalt/plugin/packaging/WarGenerator.kt +++ b/src/main/kotlin/com/beust/kobalt/plugin/packaging/WarGenerator.kt @@ -64,7 +64,7 @@ class WarGenerator @Inject constructor(val dependencyManager: DependencyManager) // The resources // context.variant.resourceDirectories(project).forEach { - result.add(IncludedFile(From(it.path), To(""), listOf(IFileSpec.GlobSpec("**")))) + result.add(IncludedFile(From(it.path), To(CLASSES), listOf(IFileSpec.GlobSpec("**")))) } result.add(IncludedFile(From(fullDir), To(LIB), listOf(IFileSpec.GlobSpec("**"))))