Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maven-plugin: @STJSBridge classes are counted as generated javascript files #54

Closed
npiguet opened this issue Dec 10, 2014 · 0 comments

Comments

@npiguet
Copy link
Member

commented Dec 10, 2014

Here is an extract from my build:

[DEBUG] Generating /jslib/JstreeEventHandler.js
[DEBUG] Generating /jslib/JQueryUIDrag.js
[DEBUG] Generating /jslib/twitter/Widget.js
[DEBUG] Generating /jslib/AnimateOptions.js
[DEBUG] Generating /jslib/twitter/TwitterWidgetConfig.js
[DEBUG] Generating /jslib/Jstree.js
[DEBUG] Generating /jslib/RSVP.js
[DEBUG] Generating /jslib/ToffException.js
[DEBUG] Generating /jslib/ToffWindow.js
[DEBUG] Generating /jslib/FormattersBridge.js
[DEBUG] Generating /jslib/JQueryUIDragData.js
[DEBUG] Generating /jslib/Console.js
[DEBUG] Generating /jslib/ToffGlobalJQuery.js
[DEBUG] Generating /jslib/FoxGlobal.js
[DEBUG] Generating /jslib/Point.js
[DEBUG] Generating /jslib/ToffJQuery.js
[DEBUG] Generating /jslib/twitter/TwitterWidgetFeaturesConfig.js
[DEBUG] Generating /jslib/DatePickerPlugin.js
[DEBUG] Generating /jslib/CometD.js
[DEBUG] Generating /jslib/STJSUtils.js
[DEBUG] Generating /jslib/ExtendedAjaxParams.js
[DEBUG] Generating /jslib/CometDMessage.js
[DEBUG] Generating /jslib/JstreeConfigurationOptions.js
[DEBUG] Generating /jslib/JQueryUITabEvent.js
[DEBUG] Generating /jslib/Math.js
[DEBUG] Generating /jslib/JQueryXHR.js
[DEBUG] Generating /js/drilldown/ElementEx.js
[DEBUG] Generating /js/drilldown/DocumentEx.js
[DEBUG] Generating /js/data/Storage.js
[INFO] Generated 29 JavaScript files in 249 ms

Most of the files that are listed in this output are classes annotated with @STJSBridge which do not need to be translated (and actually correctly aren't translated).

However, the ST-JS maven plugin counts them when doing it's short incremental build status report. On top of this, it counts them even when they have not been modified for ages. Bridges should be excluded from the "Generated X JavaScript files" report.

@npiguet npiguet added the Bug label Dec 10, 2014

@acraciun acraciun closed this in d4fad9a Jan 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.