Skip to content

CLDR-19426 charts: attempt to auto generate kbd charts#5667

Closed
srl295 wants to merge 1 commit into
unicode-org:mainfrom
srl295:srl295/cldr-19426/kbd-chart-from-generator
Closed

CLDR-19426 charts: attempt to auto generate kbd charts#5667
srl295 wants to merge 1 commit into
unicode-org:mainfrom
srl295:srl295/cldr-19426/kbd-chart-from-generator

Conversation

@srl295
Copy link
Copy Markdown
Member

@srl295 srl295 commented Apr 30, 2026

CLDR-19426

  • This PR completes the ticket.

If you either have Node.js installed on the PATH, and/or if you have done a Maven build of CLDR (including cldr-apps), then GenerateKeyboardCharts ought to work.

(Building cldr-apps does fetch Node.js, so we attempt to leverage that.)

ALLOW_MANY_COMMITS=true

@srl295 srl295 requested review from a team, btangmu, conradarcturus and macchiati April 30, 2026 03:23
@srl295 srl295 self-assigned this Apr 30, 2026

## To run from `GenerateKeyboardCharts`

If you either have Node.js isntalled, or you've run a CLDR maven build (including cldr-apps), then calling `GenerateKeyboardCharts` (or `GenerateAllCharts`) ought to attempt to build.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: cldr-apps do not build in Maven for me, nor can I update Maven for them.

Updating:

Could not update project cldr-apps configuration
Cannot invoke "org.eclipse.wst.common.componentcore.internal.WorkbenchComponent.findResourcesByRuntimePath(org.eclipse.core.runtime.IPath)" because "aComponent" is null

Building:
53 Error messages.

Description	Resource	Path	Location	Type
com.ibm.icu.dev cannot be resolved	tc-mzfix.jsp	/cldr-apps/src/main/webapp	line 122	JSP Problem
ElapsedTimer cannot be resolved to a type	admin-DAIPVotes.jsp	/cldr-apps/src/main/webapp	line 31	JSP Problem
ElapsedTimer cannot be resolved to a type	admin-DAIPVotes.jsp	/cldr-apps/src/main/webapp	line 31	JSP Problem
ElapsedTimer cannot be resolved to a type	admin-softToHardVotes.jsp	/cldr-apps/src/main/webapp	line 31	JSP Problem
ElapsedTimer cannot be resolved to a type	admin-softToHardVotes.jsp	/cldr-apps/src/main/webapp	line 31	JSP Problem
ElapsedTimer cannot be resolved to a type	browse_results.jsp	/cldr-apps/src/main/webapp	line 17	JSP Problem
ElapsedTimer cannot be resolved to a type	browse_results.jsp	/cldr-apps/src/main/webapp	line 17	JSP Problem
ElapsedTimer cannot be resolved to a type	xpath_results.jsp	/cldr-apps/src/main/webapp	line 25	JSP Problem
ElapsedTimer cannot be resolved to a type	xpath_results.jsp	/cldr-apps/src/main/webapp	line 25	JSP Problem
JSONArray cannot be resolved to a type	AdminAjax.jsp	/cldr-apps/src/main/webapp	line 62	JSP Problem
…
The method errln(String) from the type SurveyLog is not visible	st_footer.jsp	/cldr-apps/src/main/webapp/WEB-INF/tmpl	line 45	JSP Problem
The method getDefaultUrl() is undefined for the type SubtypeToURLMap	tc-all-errors.jsp	/cldr-apps/src/main/webapp	line 68	JSP Problem
The method getGuestsAndUsers() is undefined for the type SurveyMain	st_footer.jsp	/cldr-apps/src/main/webapp/WEB-INF/tmpl	line 15	JSP Problem
The method reload() from the type SubtypeToURLMap is not visible	tc-all-errors.jsp	/cldr-apps/src/main/webapp	line 22	JSP Problem

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But a further question: why can't the Keyboard charts be built in the same way other charts are? Is there something special about keyboards that are different?

Copy link
Copy Markdown
Member Author

@srl295 srl295 May 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find a Java version of the BNF processor.

Sorry that was for the unit tests. It could be rewritten, it's in JavaScript because it's integrated into the chart page.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: cldr-apps do not build in Maven for me, nor can I update Maven for them.

This is maybe worth a separate issue.

Updating:

Could not update project cldr-apps configuration
Cannot invoke "org.eclipse.wst.common.componentcore.internal.WorkbenchComponent.findResourcesByRuntimePath(org.eclipse.core.runtime.IPath)" because "aComponent" is null

That isn't from maven.

Building:
53 Error messages.

Description	Resource	Path	Location	Type
com.ibm.icu.dev cannot be resolved	tc-mzfix.jsp	/cldr-apps/src/main/webapp	line 122	JSP Problem
ElapsedTimer cannot be resolved to a type	admin-DAIPVotes.jsp	/cldr-apps/src/main/webapp	line 31	JSP Problem
ElapsedTimer cannot be resolved to a type	admin-DAIPVotes.jsp	/cldr-apps/src/main/webapp	line 31	JSP Problem
ElapsedTimer cannot be resolved to a type	admin-softToHardVotes.jsp	/cldr-apps/src/main/webapp	line 31	JSP Problem
ElapsedTimer cannot be resolved to a type	admin-softToHardVotes.jsp	/cldr-apps/src/main/webapp	line 31	JSP Problem
ElapsedTimer cannot be resolved to a type	browse_results.jsp	/cldr-apps/src/main/webapp	line 17	JSP Problem
ElapsedTimer cannot be resolved to a type	browse_results.jsp	/cldr-apps/src/main/webapp	line 17	JSP Problem
ElapsedTimer cannot be resolved to a type	xpath_results.jsp	/cldr-apps/src/main/webapp	line 25	JSP Problem
ElapsedTimer cannot be resolved to a type	xpath_results.jsp	/cldr-apps/src/main/webapp	line 25	JSP Problem
JSONArray cannot be resolved to a type	AdminAjax.jsp	/cldr-apps/src/main/webapp	line 62	JSP Problem
…
The method errln(String) from the type SurveyLog is not visible	st_footer.jsp	/cldr-apps/src/main/webapp/WEB-INF/tmpl	line 45	JSP Problem
The method getDefaultUrl() is undefined for the type SubtypeToURLMap	tc-all-errors.jsp	/cldr-apps/src/main/webapp	line 68	JSP Problem
The method getGuestsAndUsers() is undefined for the type SurveyMain	st_footer.jsp	/cldr-apps/src/main/webapp/WEB-INF/tmpl	line 15	JSP Problem
The method reload() from the type SubtypeToURLMap is not visible	tc-all-errors.jsp	/cldr-apps/src/main/webapp	line 22	JSP Problem

These are problems but shouldn't prevent a maven build.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had no problems building in eclipse. Right-clicked on tools and chose "Maven Build…", setting the goal to "compile". It executed all of the steps appropriately.

@srl295
Copy link
Copy Markdown
Member Author

srl295 commented May 27, 2026

close in favor of #5764

@srl295 srl295 closed this May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants