Gilad Chaplik has submitted this change and it was merged.

Change subject: webadmin: adding externalize check to the frontend checkstyle
......................................................................


webadmin: adding externalize check to the frontend checkstyle

no bz

1. Separating build-tools into two packages-
  * checksyles- for checkstyle xml files.
  * ovirt-checkstyle-extension- for adding to new (not built-in)
    checkstyle checks.
2. Add to the ckechstyle.xml new check- NlsCheck.
This check fails if there is a non externalized string in a java file and
there is no //$NON-NLS-N$ comment to mark that it is ok that the string
is not externalized.

To understand more about the need of this check
see http://gerrit.ovirt.org/#change,3612

Important- The NlsCheck wouldn't run by default. If you want
this check to run on a specific project you have to add
<propertyExpansion>runNlsCheck=false</propertyExpansion>
to the configuration of the checkstyle in the project's pom.

Signed-off-by: Alona Kaplan <alkap...@redhat.com>
Change-Id: Ie23035701398158b70b61c1c85a7f6eb40770784
---
R build-tools-root/checkstyles/pom.xml
A build-tools-root/checkstyles/src/main/resources/checkstyle.xml
A build-tools-root/ovirt-checkstyle-extension/pom.xml
A build-tools-root/ovirt-checkstyle-extension/src/main/java/NlsCheck.java
A build-tools-root/pom.xml
D build-tools/src/main/resources/checkstyle.xml
M frontend/webadmin/modules/frontend/pom.xml
M frontend/webadmin/modules/gwt-common/pom.xml
M frontend/webadmin/modules/uicommonweb/pom.xml
M frontend/webadmin/modules/userportal-gwtp/pom.xml
M frontend/webadmin/modules/webadmin/pom.xml
M pom.xml
12 files changed, 235 insertions(+), 40 deletions(-)

Approvals:
  Gilad Chaplik: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/3760
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie23035701398158b70b61c1c85a7f6eb40770784
Gerrit-PatchSet: 18
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <alkap...@redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfedi...@redhat.com>
Gerrit-Reviewer: Einav Cohen <eco...@redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vsz...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to