hg: openjfx/8u-dev/rt: RT-38705: [Bundlers] bundling fails because of FileNotFoundException when using only Unicode in APP_NAME
danno.ferrin at oracle.com
danno.ferrin at oracle.com
Sat Oct 25 05:50:28 UTC 2014
Changeset: e10b2247ea2d
Author: shemnon
Date: 2014-10-24 23:45 -0600
URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e10b2247ea2d
RT-38705: [Bundlers] bundling fails because of FileNotFoundException when using only Unicode in APP_NAME
Summary: * RPM and DEB have bundler name restrictions that exclude non-latin characters, so add a validation step requiring linux.bundleName to be set to a valid bundle name
* APP_FS_NAME was stripping too much, basically all non-latin characters. Now we just strip whitespace and windows hostile punctuation.
* update mac and linux unit tests to validate cyrillic characters work in a full loop.
Contributed-By: dcherepanov, shemnon
! modules/fxpackager/src/main/java/com/oracle/tools/packager/StandardBundlerParam.java
! modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxDebBundler.java
! modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxRpmBundler.java
! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/LinuxDebBundler.properties
! modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/LinuxRpmBundler.properties
! modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/MacPkgBundler.properties
! modules/fxpackager/src/test/java/com/oracle/tools/packager/BundlersTest.java
! modules/fxpackager/src/test/java/com/oracle/tools/packager/CLITest.java
! modules/fxpackager/src/test/java/com/oracle/tools/packager/linux/LinuxAppBundlerTest.java
! modules/fxpackager/src/test/java/com/oracle/tools/packager/linux/LinuxDebBundlerTest.java
! modules/fxpackager/src/test/java/com/oracle/tools/packager/linux/LinuxRpmBundlerTest.java
! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppBundlerTest.java
! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppStoreBundlerTest.java
! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacDaemonBundlerTest.java
! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacDmgBundlerTest.java
! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacPkgBundlerTest.java
More information about the openjfx-changes
mailing list