JDK-8008143 : Automate the generation of rtfd files at build time
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2013-02-13
  • Updated: 2013-10-17
  • Resolved: 2013-04-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u40Fixed 8 b93Fixed
Right now, rtfd files that we use for the Mac installers are manually generated. Any change in these files need to be manually done which poses an issue for the localization team. We have to send the english strings and then manually create rtfd files for localized strings returned from the i18n team.

This change should create rtfd files automatically for each supported i18n language at build time by pulling in information from the Localizable.strings files at build time.
Auto generate Welcome and Conclusion html files with using text from strings or properties files.

Then lets go this way. As a side Q - Can we implement accessibility bugs (the ones we closed) when we switch to html? i.e. Does the html format support for better accessibility? Can you also test/check this?

Yes. The current PackageMaker tool supports HTML files files as well.

Does the current tool (packagemaker) support HTML files? If yes, I am okay with changing *.rtfd to *.html

The new tools from Apple (pkgbuild, pkgutil and productbuild) which replaces the PackageMaker does not accept RTFD for Welcome, Read-me, License and Conclusion. Instead of auto generating the rtfd files, auto generating HTML files will be a better idea, keeping in mind that switching to the newer Apple tools for creating installation packages.