Skip to content

Releases: fvarrui/JavaPackager

v1.6.3

11 Feb 10:54
Compare
Choose a tag to compare

New minor features:

  • New winConfig.exeCreationTool property to choose the EXE generation tool: launch4j or winrun4j (#93).
  • New winConfig.disableWelcomePage property to enable|disable welcome page in Setup installer (#130).
  • New winConfig.removeOldLibs property to choose if old libs folder has to be removed when installing from Setup (#137).
  • New macConfig.infoPlist.additionalEntries property to add custom entries to Info.plist file (#143).
  • New macConfig.infoPlist.bundlePackageType property to customize CFBundlePackageType key in Info.plist file.

Fixed issues:

  • #144 Failure to generate MSI installer: "error CNDL0014 : The Module/@id attribute's value is not a legal identifier".

v1.6.2

03 Oct 22:55
Compare
Choose a tag to compare

Fixed issues:

  • #128: When packaging jdeps, there was a problem that non-essential packages could not be found.

v1.6.1

23 Sep 11:52
Compare
Choose a tag to compare

Fixed issues:

  • #127: Version 1.6.0 can't run with Gradle 5.4.1.

v1.6.0

10 Sep 19:45
Compare
Choose a tag to compare

New features:

  • New winConfig.registry property to specify registry entries to be added to Windows Registry during the installation (only Setup) (#91).
  • New additionalModulePaths property to specify additional module paths for jdeps (#97).
  • Removed iconFile property as it's deprecated. Use winConfig.icoFile, linuxConfig.pngFile and/or macConfig.icnsFile instead.
  • Added macConfig.codesignApp property to disable Mac OS app codesigning (#99).
  • Added fileAssociations property to specify file associations to the app (#103)
  • Added packagingJdk property to specify the toolchains to use (#111) (thanks to @keastrid).
  • DEB and RPM generation when building with Gradle (#115).
  • Allow for a "bootstrap" script (new scripts.bootstrap property) to be run before application start (#122).
  • Added linuxConfig.wrapJar property to disable combining startup script and runnable jar (#123).

Fixed issues:

  • #90: Windows exe creation failed when app uses Chinese characters.
  • #95: Fixed syntax error in XML tag in Linux specific properties documentation (thanks to @swissbuechi).
  • #108: Plugin fails on Java 16; launch4j-maven-plugin upgraded to v2.1.1 (thanks to @mica-alex)
  • #112: Fixed issue running on Gradle 7 due to afterEvaluate (thanks to @keastrid)
  • #114: Fixed ICNS file not being used.
  • #119: gradle-launch4j plugin version downgraded to v2.4.7 due to newer breaks existing builds.
  • #120: Fixed jspawnhelper doesn't have 755 permissions after embedding an existing JRE.
  • #125: Breaking change when bundling JRE on Mac in 1.2.0+.

v1.5.1

25 Jan 01:36
Compare
Choose a tag to compare

Fixed issues:

  • NPE when manifest property is not specified in Gradle (Oops! 😅)
  • #88, bundleJre does not check if the JRE path for Mac distributions already contains "Contents/Home" before appending it

v1.5.0

18 Jan 16:52
Compare
Choose a tag to compare

New features:

  • Added winConfig.signing property to code sign Windows executables and installers (Setup and MSI) (#82).
  • Upgraded Mac OS startup script (universalJavaApplicationStub) to v3.1.0 (#83).

Fixed issues:

  • #85, macOS useSystemMenuBarProperty().set(true) is overridden by package phase when opening .app (fixed with #83)

v1.4.2

05 Dec 20:12
Compare
Choose a tag to compare

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

15 Nov 19:17
Compare
Choose a tag to compare

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

06 Nov 19:44
Compare
Choose a tag to compare

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

17 Oct 23:25
Compare
Choose a tag to compare
  • 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: