Summary
My new Initializr application's JavaScript page is titled Codename One JavaScript Port instead of MyAppName. The generic title appears in browser tabs and bookmarks and provides no application identity in the document title used for indexing.
Minimal reproducer
Generate any new project with the web Initializr and build its JavaScript port using the Codename One cloud build server.
My example: https://routinote.hopto.me/scrolling-test/. I added only one SpanLabel to the generated Hello World screen and published the downloaded ZIP unchanged. JavaScript compilation ran on the cloud build server, not offline.
Steps to reproduce
- Generate a new Initializr project with an application name, such as
MyAppName.
- Build JavaScript through the CN1 cloud build server and serve the returned files.
- Open the page and compare its browser title with the configured application name.
Expected and observed behavior
Expected: the generated page title uses the application name, here MyAppName.
Observed: both the browser title and the generated HTML use Codename One JavaScript Port.
Codename One version
7.0.273 (core and Maven plugin).
JDK version
Microsoft OpenJDK 17.0.19.
Target environment
JavaScript port; Firefox 156.0.1 on macOS 15.8 (24H23).
Last known working version
Unknown.
Logs and diagnostics
Project setting:
codename1.displayName=MyAppName
Generated index.html:
<title>Codename One JavaScript Port</title>
Screenshots or recordings
See the live example and generated HTML above.
Report checks
Summary
My new Initializr application's JavaScript page is titled
Codename One JavaScript Portinstead ofMyAppName. The generic title appears in browser tabs and bookmarks and provides no application identity in the document title used for indexing.Minimal reproducer
Generate any new project with the web Initializr and build its JavaScript port using the Codename One cloud build server.
My example: https://routinote.hopto.me/scrolling-test/. I added only one
SpanLabelto the generated Hello World screen and published the downloaded ZIP unchanged. JavaScript compilation ran on the cloud build server, not offline.Steps to reproduce
MyAppName.Expected and observed behavior
Expected: the generated page title uses the application name, here
MyAppName.Observed: both the browser title and the generated HTML use
Codename One JavaScript Port.Codename One version
7.0.273 (core and Maven plugin).
JDK version
Microsoft OpenJDK 17.0.19.
Target environment
JavaScript port; Firefox 156.0.1 on macOS 15.8 (24H23).
Last known working version
Unknown.
Logs and diagnostics
Screenshots or recordings
See the live example and generated HTML above.
Report checks