All Versions
11
Latest Version
Avg Release Cycle
23 days
Latest Release
318 days ago

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.
    • 📦 #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.
  • v1.4.1 Changes

    November 15, 2020

    🛠 Fixed issues and patches:

    • 📦 #73, DMG image generation stops with error if destination file already exists when compressing DMG on Mac OS X.
    • 🐎 #74, Link to /Applications created directly in the mounted volume instead of build directory on Mac OS (fix a performance issue on IDE).
  • 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 and macConfig.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 in Java 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.
  • 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 using javapackager extension.
      • Packaging tasks are now configured by default using values from javapackager extension.
    • 🛠 Fixed issues:
  • 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 and macConfig.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)
  • 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.
  • v1.0.2 Changes

    June 11, 2020

    🛠 Fixed an issue related to startup and universalJavaApplicationStub 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 and windowsConfig.generateMsi: Allows to enable/disable installers generation on Windows.
      • macConfig.generatePkg and macConfig.generateDmg: Allows to enable/disable installers generation on Mac OS X.
      • linuxConfig.generateDeb and linuxConfig.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.