You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GWT version: 2.12 and below Browser (with version): any Operating System: any
Description
GWT's TreeLogger class is used in the compiler, and in Generators and Linkers, allowing library/framework code to also meaningfully contribute to log output. Usually, calls to the logger only use the log(Type, String) overload, but technically other overloads exist, including one that can provide an isntance of com.google.gwt.core.ext.TreeLogger.HelpInfo. This class is effectively just a wrapper around a URL.
There aren't many usages of this either, and most are out of date - in fact I didn't even remember that this feature existed until I was trying to clean up other usages of com.google.gwt.util.tools.Utility (which by its package should mostly be used in other cli tools? but instead is used in linkers, HelpInfo, and other assorted places).
Existing usages:
Concrete subclass com.google.gwt.dev.util.InstalledHelpInfo, takes a file name assumed to be in the GWT SDK zip. When the log message is written, verifies that the gwt-dev.jar came from such a zip, and finds the appropriate file, or skips linking at all. Since most GWT users these days download from Maven Central, this means the extra help is missing.
The only other link that exists is from BrowserChannelServer, to http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM (code.google.com is erroring out, so it apepars to be a dead link at this time). This would only be logged for an old browser plugin to a "recent" legacy dev mode server instance as a warning - probably can be safely removed.
Past releases had at least one other:
If GWT was found to be out of date, a link to release notes... with a null URL.
Proposed steps:
Create a directory specifically for "gwt-dev-help" in gwt-site, and create files there for help options as they are updated/created. Consider adding an anchor or queryparam including the GWT version, so that an anchor/etc can be added to the page with specifics for older versions (as the website might get updates as features change/improve) - this is the sort of feature we can't go back and add later when it matters.
Deprecate and replace InstalledHelpInfo with "GwtprojectHelpInfo".
Migrate and update existing help text documents, fixing details that are no longer helpful, adding references to other pages.
Consider adding new documents, dealing with jsinterop, regressions, reporting bugs when they are found, etc.
The text was updated successfully, but these errors were encountered:
GWT version: 2.12 and below
Browser (with version): any
Operating System: any
Description
GWT's TreeLogger class is used in the compiler, and in Generators and Linkers, allowing library/framework code to also meaningfully contribute to log output. Usually, calls to the logger only use the
log(Type, String)
overload, but technically other overloads exist, including one that can provide an isntance ofcom.google.gwt.core.ext.TreeLogger.HelpInfo
. This class is effectively just a wrapper around a URL.There aren't many usages of this either, and most are out of date - in fact I didn't even remember that this feature existed until I was trying to clean up other usages of
com.google.gwt.util.tools.Utility
(which by its package should mostly be used in other cli tools? but instead is used in linkers, HelpInfo, and other assorted places).Existing usages:
com.google.gwt.dev.util.InstalledHelpInfo
, takes a file name assumed to be in the GWT SDK zip. When the log message is written, verifies that the gwt-dev.jar came from such a zip, and finds the appropriate file, or skips linking at all. Since most GWT users these days download from Maven Central, this means the extra help is missing.Past releases had at least one other:
Proposed steps:
The text was updated successfully, but these errors were encountered: