Alon Bar-Lev has uploaded a new change for review.

Change subject: packaging: doc: extract AuditLogMessages.properties as doc for 
notifier
......................................................................

packaging: doc: extract AuditLogMessages.properties as doc for notifier

Change-Id: Ifb6d56511011e76aebd3b0dc558d8c2f9c94d2d1
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M Makefile
M ovirt-engine.spec.in
M packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in
3 files changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/63/26963/1

diff --git a/Makefile b/Makefile
index 6fb4748..d0adbc5 100644
--- a/Makefile
+++ b/Makefile
@@ -340,6 +340,13 @@
        install -dm 0755 "$(DESTDIR)$(PKG_EAR_DIR)"
        find "$(MAVEN_OUTPUT_DIR)" -name '*.ear' -type f | grep -v tmp.repos | 
xargs -n 1 unzip -q -o -d "$(DESTDIR)$(PKG_EAR_DIR)"
 
+       # extract embedded artifacts as doc
+       # no need to relay on source tree for these
+       install -d -m 755 "$(DESTDIR)$(PKG_DOC_DIR)"
+       unzip -q -c 
"$(DESTDIR)$(PKG_JBOSS_MODULES)/org/ovirt/engine/core/dal/main/dal.jar" 
bundles/AuditLogMessages.properties > \
+               "$(DESTDIR)$(PKG_DOC_DIR)/AuditLogMessages.properties"
+       chmod 0644 "$(DESTDIR)$(PKG_DOC_DIR)/AuditLogMessages.properties"
+
 install_poms:
        install -dm 755 "$(DESTDIR)$(MAVENPOM_DIR)"
        install -m 644 backend/manager/modules/bll/pom.xml 
"$(DESTDIR)$(MAVENPOM_DIR)/$(PACKAGE_NAME)-bll.pom"
diff --git a/ovirt-engine.spec.in b/ovirt-engine.spec.in
index 3777ce4..3f01511 100644
--- a/ovirt-engine.spec.in
+++ b/ovirt-engine.spec.in
@@ -825,6 +825,7 @@
 %{engine_data}/conf/osinfo-defaults.properties
 %{engine_data}/conf/sysprep/
 %{engine_data}/files/
+%{engine_doc}/AuditLogMessages.properties
 %{engine_ear}/META-INF
 %{engine_ear}/bll.jar
 %{engine_ear}/docs.war/
diff --git 
a/packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in 
b/packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in
index 35f0995..1cdbe24 100644
--- a/packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in
+++ b/packaging/services/ovirt-engine-notifier/ovirt-engine-notifier.conf.in
@@ -87,6 +87,9 @@
 # * = all messages/all subscribers.
 # * as a subscriber should be used only for exclude.
 #
+# Message constants can be found at:
+# @ENGINE_DOC@/AuditLogMessages.properties
+#
 # examples:
 # FILTER="include:VDC_START(smtp:m...@example.com) ${FILTER}"
 # FILTER="exclude:VDC_START include:*(smtp:ma...@gmail.com) ${FILTER}"


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb6d56511011e76aebd3b0dc558d8c2f9c94d2d1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to