nlu90 closed pull request #2902: Make MetricsManager.java a target so that it 
can be customized
URL: https://github.com/apache/incubator-heron/pull/2902
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/heron/metricsmgr/src/java/BUILD b/heron/metricsmgr/src/java/BUILD
index 36cf3ade31..4707369838 100644
--- a/heron/metricsmgr/src/java/BUILD
+++ b/heron/metricsmgr/src/java/BUILD
@@ -24,6 +24,11 @@ deps = [
     "@org_yaml_snakeyaml//jar",
 ]
 
+filegroup(
+    name = "metricsmgr-main",
+    srcs = glob(["**/MetricsManager.java"]),
+)
+
 java_library(
     name = "metricsmgr-java",
     srcs = files, 
@@ -32,7 +37,7 @@ java_library(
 
 java_binary(
     name = "metricsmgr-unshaded",
-    srcs = glob(["**/MetricsManager.java"]),
+    srcs = [":metricsmgr-main"],
     deps = [
         ":metricsmgr-java",
         "//heron/api/src/java:api-java-low-level",


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to