You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+7-29
Original file line number
Diff line number
Diff line change
@@ -79,38 +79,16 @@ packageBin in Debian <<= debianJDebPackaging in Debian
79
79
80
80
JDK 8 from Oracle includes the tool `javapackager` (née `javafxpackager`) to generate application
81
81
launchers and native installers for MacOS X, Windows, and Linux. This plugin complements the existing
82
-
`sbt-native-packager` formats by taking the staged output from `JavaAppPackaging` and `Universal`
83
-
settings and passing them through `javapackager`.
82
+
`sbt-native-packager` formats by taking the settings and staged output from `JavaAppPackaging`
83
+
and passing them through `javapackager`.
84
84
85
-
This plugin's most significant complement to the core capabilities is the generation of
86
-
MacOS X App bundles and derived`.dmg` and `.pkg`packages. It can also generate Linux `.deb` and `.rpm`
87
-
packages, and Windows `.exe` and `.msi` installers, provided the requisite tools are available on the
88
-
build platform.
85
+
This plugin's most significant complement to the core `sbt-native-packager`capabilities is the
86
+
generation of MacOS X App bundles, and associated`.dmg` and `.pkg`package formats.
87
+
It can also generate Windows `.exe` and `.msi` installers provided the requisite tools are
88
+
available on the Windows build platform.
89
89
90
-
For details on the capabilities of `javapackager`, see the [windows](http://docs.oracle.com/javase/8/docs/technotes/tools/windows/javapackager.html) and [Unix](http://docs.oracle.com/javase/8/docs/technotes/tools/unix/javapackager.html) references. (Note: only a few of the possible
91
-
settings are exposed through this plugin. Please submit a github issue or pull request if something
92
-
specific is desired.)
90
+
For usage details see the [JDKPackager Plugin guide](http://www.scala-sbt.org/sbt-native-packager/formats/jdkpackager.html).
93
91
94
-
Using this plugin requires running SBT under JDK 8, or setting `jdkPackagerTool` to the location
95
-
of the tool.
96
-
97
-
To use, first get your application working per `JavaAppPackaging` instructions (including `mainClass`),
98
-
then add
99
-
100
-
```scala
101
-
enablePlugins(JDKPackagerPlugin)
102
-
```
103
-
104
-
to your build file. Then run `sbt jdkPackager:packageBin`.
105
-
106
-
By default, the plugin makes the installer type that is native to the current build platform in
107
-
the directory `target/jdkpackager`. The key `jdkPackageType` can be used to modify this behavior.
108
-
Run `help jdkPackageType` in sbt for details. The most popular setting is likely to be `jdkAppIcon`. See
109
-
[the example build file](test-project-jdkpackager/build.sbt) on how to use it.
110
-
111
-
To take it for a test spin, run `sbt jdkPackager:packageBin` in the `test-project-jdkpackager` directory
112
-
and then look in the `target/jdkpackager/bundles` directory for the result. See [Oracle documentation](http://docs.oracle.com/javase/8/docs/technotes/guides/deploy/self-contained-packaging.html) for Windows and
0 commit comments