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
> :warning:**Installers generation will be ommited if target platform is different from current platform (see `platform` property), except DEB and RPM packages.**
132
+
> :warning:**Some installers generation will be ommited if target platform is different from current platform (see `platform` property), except for DEB and RPM packages.**
133
133
134
134
### Plugin configuration properties
135
135
@@ -167,6 +167,7 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
167
167
|`packagingJdk`|:x:|`${java.home}`| JDK used in the execution of `jlink` and other JDK tools. |
168
168
|`platform`|:x:|`auto`| Defines the target platform, which could be different to the execution platform. Possible values: `auto`, `mac`, `linux`, `windows`. Use `auto` for using execution platform as target. |
169
169
|`runnableJar`|:x:|| Defines your own JAR file to be bundled. If it's ommited, the plugin packages your code in a runnable JAR and bundle it with the app. |
170
+
|`scripts`|:x:|| Specify bootstrap script. **Pre and post-install scripts comming soon!**|
170
171
|`url`|:x:|| App website URL. |
171
172
|`useResourcesAsWorkingDir`|:x:|`true`| Uses app resources folder as default working directory (always `true` on Mac OS). |
@@ -186,7 +187,7 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
186
187
187
188
### Plugin assets
188
189
189
-
Some assets, such as application icons and Velocity templates, could be placed in `${assetsDir}` folder organized by platform.
190
+
Some assets, such as application icons and templates, could be placed in `${assetsDir}` folder organized by platform.
190
191
191
192
```bash
192
193
${assetsDir}/
@@ -197,23 +198,22 @@ ${assetsDir}/
197
198
198
199
#### Icons
199
200
200
-
If icons are located in `${assetsDir}`folders, it would not be necessary to specify the `iconFile` property:
201
+
If icons are located in `${assetsDir}`folder, it would not be necessary to use icon properties:
201
202
202
203
```bash
203
204
${assetsDir}/
204
205
├── linux/
205
-
│ ├── ${name}.png # on GNU/Linux it has to be a PNG file for DEB package
206
-
│ └── ${name}.xpm # and XPM file for RPM package
206
+
│ └── ${name}.png # on GNU/Linux it has to be a PNG file
207
207
├── mac/
208
208
│ └── ${name}.icns # on Mac OS X it has to be a ICNS file
209
209
└── windows/
210
210
└── ${name}.ico # on Windows it has to be a ICO file
211
211
```
212
212
213
-
> :warning: If `iconFile` plugin property is not specified and it can't find the correct icon in `${assetsDir}` folder, it will use an [icon by default](https://raw.githubusercontent.com/fvarrui/JavaPackager/master/src/main/resources/linux/default-icon.png) for all platforms.
213
+
> :warning: If icon is not specified , it will use an [icon by default](https://raw.githubusercontent.com/fvarrui/JavaPackager/master/src/main/resources/linux/default-icon.png) for all platforms.
214
214
>
215
215
216
-
#### Velocity templates
216
+
#### Templates
217
217
218
218
[Velocity](https://velocity.apache.org/engine/2.0/user-guide.html) templates (`.vtl` files) are used to generate some artifacts which have to be bundled with the app.
0 commit comments