Releases: fvarrui/JavaPackager
Releases · fvarrui/JavaPackager
v1.2.0
- 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
- New properties added for each platform to specify icons instead of put them in
- 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
v1.0.3
- 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
v1.0.2
v1.0.1
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
- 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.
v0.9.7
v0.9.6
- Renamed
versionInfo
property (now deprecated) aswinConfig
. - Enhanced DMG disk image generation, based on create-dmg project:
- Added property
macConfig
, as a set of new properties to customize DMG generation.
- Added property
v0.9.5
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 withjdeps
. - #28: documentation was wrong about
mac
assets folder name.
v0.9.4
- Added properties
jreDirectoryName
andversionInfo
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
createZipball
andcreateTarball
to bundle app in ZIP and TAR/TAR.GZ:
<createTarball>true|false</createTarball>
<createZipball>true|false</createZipball>