Skip to content

Commit 35dff15

Browse files
Scissmuuki88
authored andcommitted
fix error message for jdkpackager when antTaskLib is missing (#1222)
- grammar: 'find' -> 'found' - settings key requires `Option[File]` not `Option[String]`
1 parent 1dcf292 commit 35dff15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/com/typesafe/sbt/packager/jdkpackager/JDKPackagerAntHelper.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ object JDKPackagerAntHelper {
176176
if (antTaskLib.isEmpty) {
177177
sys.error(
178178
"Please set key `antPackagerTasks in JDKPackager` to `ant-javafx.jar` path, " +
179-
"which should be find in the `lib` directory of the Oracle JDK 8 installation. For example (Windows):\n" +
180-
"""(antPackagerTasks in JDKPackager) := Some("C:\\Program Files\\Java\\jdk1.8.0_45\\lib\\ant-javafx.jar")"""
179+
"which should be found in the `lib` directory of the Oracle JDK 8 installation. For example (Windows):\n" +
180+
"""(antPackagerTasks in JDKPackager) := Some(file("C:\\Program Files\\Java\\jdk1.8.0_45\\lib\\ant-javafx.jar"))"""
181181
)
182182
}
183183

0 commit comments

Comments
 (0)