Changelog History
Page 1
-
v1.4.2 Changes
December 05, 2020๐ New minor features:
- ๐ฆ #75, Added new property
winConfig.setupMode
, with 3 possible values:- installForAllUsers (default value, to keep the old behaviour): installs the app for the all users (behaviour can be changed via command-line with
/currentuser
argument). App installed in%ProgramFiles%
folder. - installForCurrentUser : installs the app for the current user (behaviour can be changed via command-line with
/allusers
argument. App installed in%USERPROFILE%\AppData\Local\Programs
folder. - askTheUser : asks to the final user if the app has to be installed for all users or only for the current user.
- installForAllUsers (default value, to keep the old behaviour): installs the app for the all users (behaviour can be changed via command-line with
- ๐ฆ #77, Added new property
jreMinVersion
, allowing to the generated executable to check if a minimum JRE version is installed. - ๐ฆ #79, Added new property
manifest
, allowing to add additional manifest entries and sections.
- ๐ฆ #75, Added new property
-
v1.4.1 Changes
November 15, 2020 -
v1.4.0 Changes
November 06, 2020๐ New features:
- โ Added
classpath
property to specify additional paths to JVM classpath (#70). - โ Added
macConfig.appId
property to specify a unique identifier for the generated app on Mac OS (mainClass
is used by default). - โ Added
macConfig.developerId
andmacConfig.entitlements
properties to be used when signing the generated app on Mac OS (#69) - โ Added the posibility to use
${name}.l4j.ini
config file (available for all platforms) to specify VM arguments (#66) - โ Added
macConfig.relocateJar
to specify if Jar files are relocated inJava
folder or not. Thanks to @keastrid (#63)
๐ Fixed issues:
- ๐ฆ #62, NullPointerException is thrown when bundleJre=true and copyDependencies=false.
- ๐ #64, Impossible to generate two Windows executables.
- ๐
#68, Mac package prompts users to install Java 6, changing
Info.plist
from Apple to Oracle style. - ๐ฆ #71, Error when generating DMG file on Mac OS X: Command execution failed: chmod -Rf go-w, adding user read permissions when generating DMG. Thanks to @treimers.
- ๐ฆ #72, Problems on create Zipball when used together with "outputDirectory".
- ๐ฆ #73, "mvn package" stops with error on Mac OS X when DMG file already exists: "hdiutil: create failed - file exists". Thanks to @treimers.
- โ Added
-
v1.3.0 Changes
October 17, 2020- ๐ New features:
- MSI merge module generation (MSM):
- Added property
winConfig.generateMsm
. - Added template
msm.wxs.vtl
. - Updated MSI template
wxs.vtl
to use the generated merge module. - Gradle:
- Added default task
package
, which is configured usingjavapackager
extension. - Packaging tasks are now configured by default using values from
javapackager
extension.
- ๐ Fixed issues:
- ๐ New features:
-
v1.2.0 Changes
September 21, 2020๐ New features:
- Now JavaPackager is also available as a Gradle plugin ๐ฅณ
- Icons:
- New properties added for each platform to specify icons instead of put them in
assets
folder (winConfig.icoFile
,linuxConfig.pngFile
,linuxConfig.xpmFile
andmacConfig.icnsFile
) - โ ๏ธ
iconFile
property deprecated - Tarball/zipball generation:
- Execution permissions are now set to the proper files.
- tar files are no longer generated, only tar.gz.
- Windows Setup language customization:
<winConfig> <setupLanguages> <english>compiler:Default.isl</english> <french>compiler:Languages\French.isl</french> <german>compiler:Languages\German.isl</german> </setupLanguages> </winConfig>
๐ Issues fixed:
- #41, Error at start on Windows (see
winConfig.wrapJar
property) - #42, Add verification on project name
- #43, building for different OS with optimized JRE (see
jdkPath
property) - #47, Package artifact as Windows Merge module (see
winConfig.generateMsm
) - #48, Configure language installer (see
winConfig.setupLanguages
map property)
- #41, Error at start on Windows (see
-
v1.1.0 Changes
June 30, 2020- ๐ Now JavaPackager plugin is built and deployed with Gradle (preparing the plugin to support Gradle and Maven).
-
v1.0.3 Changes
June 16, 2020- ๐ New properties added:
assetsDir
: allows to customize assets folder, where icons and custom templates are stored.
- ๐ Bugs fixed, thanks to @ogerardin!
- #36: fixed
CommandUtils.execute()
method and added delay after mounting DMG file and before run applescript. - #37: fixed typo in documentation.
- #38: fixed with new property
assetsDir
, which now is relative to${basedir}
. - #39: fixed missing double quotes in startup scripts when names with whitespaces are used.
- #36: fixed
- ๐ New properties added:
-
v1.0.2 Changes
June 11, 2020๐ Fixed an issue related to
startup
anduniversalJavaApplicationStub
scripts execution permissions on Mac OS. Previous version (v1.0.1) setted execution permissions only for owner. -
v1.0.1 Changes
June 09, 2020๐ Fixed a problem when running generated app on Mac OS
universalJavaApplicationStub: /bin/bash^M: bad interpreter: no such file or directory
due to universalJavaApplicationStub LF-endings were being replaced with CRLF when releasing to Maven Central from Windows.
๐ More info: https://stackoverflow.com/questions/11868590/maven-release-plugin-and-windows-line-breaks
-
v1.0.0 Changes
June 06, 2020- ๐จ Major refactoring permorfed:
- Packaging code is now structured by platform.
- ๐ Bugs fixed:
- Issue #33: now it uses universalJavaApplicationStub script to start the app on Mac, so it can find the right JVM when JRE is not bundled. Thanks to @jdimeo!
- Issue #34: fixed the problem when running commands using paths with whitespaces.
- DEB and RPM generation failed when JRE was not bundled.
- ๐ Plugin output improved.
- ๐ New features:
- PKG package installer generation on Mac OS X.
- MSI installer generation on Windows.
- ๐ New properties:
useResourcesAsWorkingDir
: If enabled, it sets app working directory to same directory as additional resources at startup. Useful when app is focused to GUI or to console.extra
: Map with extra properties to use in customized Velocity templates.winConfig.headerType
: Allows to create a Windows executable for GUI or for console.windowsConfig.generateSetup
andwindowsConfig.generateMsi
: Allows to enable/disable installers generation on Windows.macConfig.generatePkg
andmacConfig.generateDmg
: Allows to enable/disable installers generation on Mac OS X.linuxConfig.generateDeb
andlinuxConfig.generateRpm
: Allows to enable/disable installers generation on GNU/Linux.winConfig
properties to customize Setup installer generation:disableDirPage
: disables page to choose installation directory.disableProgramGroupPage
: disables page to choose program group.disableFinishedPage
: disables summary page.createDesktopIconTask
: disables page to choose if creating an icon on the desktop.
- Generated tarball and zipball renamed by platform:
${name}-${version}-${platform}.zip
${name}-${version}-${platform}.tar
${name}-${version}-${platform}.tar.gz
- ๐ Properties removed:
versionInfo
deprecated property removed.
- ๐จ Major refactoring permorfed: