CLDR-19426 charts: attempt to auto generate kbd charts#5667
Conversation
|
|
||
| ## 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. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
|
close in favor of #5764 |
CLDR-19426
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