Skip to content

Releases: fvarrui/JavaPackager

v1.2.0

21 Sep 10:11
Compare
Choose a tag to compare
  • 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

30 Jun 16:34
Compare
Choose a tag to compare
  • Now JavaPackager plugin is built and deployed with Gradle (preparing the plugin to support Gradle and Maven).

v1.0.3

16 Jun 07:39
Compare
Choose a tag to compare
  • 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

11 Jun 09:40
Compare
Choose a tag to compare

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

09 Jun 00:19
Compare
Choose a tag to compare

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

06 Jun 17:55
Compare
Choose a tag to compare
  • 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.

v0.9.7

24 Apr 00:21
Compare
Choose a tag to compare
  • Fixed #29: cannot access to Resources folder, where the additional resources are being stored.

v0.9.6

19 Apr 21:01
Compare
Choose a tag to compare
  • Renamed versionInfo property (now deprecated) as winConfig.
  • Enhanced DMG disk image generation, based on create-dmg project:
    • Added property macConfig, as a set of new properties to customize DMG generation.

image

v0.9.5

16 Apr 22:34
Compare
Choose a tag to compare

Fixed issues:

  • #25: Now it's used rpm-maven-plugin in order to generate RPM package (alien command is not needed anymore and there's no need to generate DEB package before).
  • #27: it checks if libs folder exists before determining required modules with jdeps.
  • #28: documentation was wrong about mac assets folder name.

v0.9.4

18 Mar 13:01
Compare
Choose a tag to compare
  • Added properties jreDirectoryName and versionInfo required on issue #22:
<jreDirectoryName>jre</jreDirectoryName>
<versionInfo>
    <fileVersion>1.0.0.0</fileVersion>
    <txtFileVersion>${version}</txtFileVersion>
    <productVersion>1.0.0.0</productVersion>
    <txtProductVersion>${version}</txtProductVersion>
    <fileDescription>${description}</fileDescription>
    [...]
</versionInfo>
  • Added properties createZipballand createTarball to bundle app in ZIP and TAR/TAR.GZ:
<createTarball>true|false</createTarball>
<createZipball>true|false</createZipball>