huijunwu closed pull request #3014: fix to generate correct artificats 
[https://github.com/apache/incubat…
URL: https://github.com/apache/incubator-heron/pull/3014
 
 
   

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/README.md b/README.md
index a68494282d..ed2d7f4985 100644
--- a/README.md
+++ b/README.md
@@ -2,24 +2,20 @@
 
 ![logo](website/static/img/HeronTextLogo.png)
 
-Heron is realtime analytics platform developed by Twitter. It is the direct
-successor of [Apache Storm](http://storm.apache.org), built to be backwards
-compatible with Storm's [topology 
API](http://storm.apache.org/releases/current/Tutorial.html#topologies)
-but with a wide array of architectural improvements.
+Heron is realtime analytics platform developed by Twitter.  It has a wide 
array of architectural improvements over it's predecessor.
 
-http://incubator.apache.org/projects/heron.html
+[Heron in Apache Incubation](http://incubator.apache.org/projects/heron.html)
 
-https://heron.incubator.apache.org
+[Heron Website](https://apache.github.io/incubator-heron)
 
 ### Documentation
-Documentation and tutorials can be found on the [Heron 
website](http://heronstreaming.io)
 
-Developers and contributors should also take a look at [Heron 
developers](https://apache.github.io/incubator-heron/docs/developers/compiling/compiling/)
+[https://apache.github.io/incubator-heron](https://apache.github.io/incubator-heron)
 
 #### Heron Requirements:
  * Java JDK 1.8
  * Python 2.7
- * Bazel
+ * Bazel latest
 
 
 ## Contact
@@ -38,25 +34,20 @@ Heron on Twitter: 
[@heronstreaming](https://twitter.com/heronstreaming)
 
 #### Slack
 
-heron slack channel at https://heronstreaming.slack.com/
-
-You can self-register at http://heronstreaming.herokuapp.com/
+[Self-Register](http://heronstreaming.herokuapp.com/) to our [Heron Slack 
Workspace](https://heronstreaming.slack.com/)
 
 #### Meetup Group
-https://www.meetup.com/Apache-Heron-Bay-Area
+
+[Bay Area Heron Meetup](https://www.meetup.com/Apache-Heron-Bay-Area), *We 
meet on Third Monday of Every Month in Palo Alto.*
 
 
 ## For more information:
 
-* Official Heron documentation located at 
[heronstreaming.io](http://heronstreaming.io)
+* Official Heron documentation located at 
[https://apache.github.io/incubator-heron](https://apache.github.io/incubator-heron)
 * Official Heron resources, including Conference & Journal Papers, Videos, 
Blog Posts and selected Press located at [Heron 
Resources](https://apache.github.io/incubator-heron/docs/resources/)
-* [Twitter Heron: Stream Processing at
-  Scale](http://dl.acm.org/citation.cfm?id=2742788) (academic paper)
-* [Twitter Heron: Stream Processing at
-  Scale](https://www.youtube.com/watch?v=pUaFOuGgmco) (YouTube video)
-* [Flying Faster with Twitter
-  Heron](https://blog.twitter.com/2015/flying-faster-with-twitter-heron) (blog
-  post)
+* [Twitter Heron: Stream Processing at 
Scale](http://dl.acm.org/citation.cfm?id=2742788) (academic paper)
+* [Twitter Heron: Stream Processing at 
Scale](https://www.youtube.com/watch?v=pUaFOuGgmco) (YouTube video)
+* [Flying Faster with Twitter 
Heron](https://blog.twitter.com/2015/flying-faster-with-twitter-heron) (blog 
post)
 
 ## Update
 
diff --git a/scripts/setup-eclipse.sh b/scripts/setup-eclipse.sh
index 9a9657974a..d5f1da8b99 100755
--- a/scripts/setup-eclipse.sh
+++ b/scripts/setup-eclipse.sh
@@ -70,10 +70,10 @@ EOH
 done
 }
 
-py_dir_list=`find $DIR/../heron -path "*/src/python" | cut -d '/' -f 3-`
+py_dir_list=`find $DIR/../heron -path "*/src/python" | cut -d '/' -f 4-`
 generate_py_source_dirs
 
-py_dir_list=`find $DIR/../heron -path "*/tests/python" | cut -d '/' -f 3-`
+py_dir_list=`find $DIR/../heron -path "*/tests/python" | cut -d '/' -f 4-`
 generate_py_source_dirs
 
 cat >> $pydevproject_file << 'EOF'
@@ -93,33 +93,33 @@ EOH
 function generate_source_dirs() {
 for srcdir in $dir_list; do
     cat >> $classpath_file << EOH
-  <classpathentry kind="src" output="bin/$srcdir" path="$srcdir">$
-    <attributes>$
-      <attribute name="optional" value="true"/>$
-      <attribute name="maven.pomderived" value="true"/>$
-    </attributes>$
-  </classpathentry>$
+  <classpathentry kind="src" output="bin/$srcdir" path="$srcdir">
+    <attributes>
+      <attribute name="optional" value="true"/>
+      <attribute name="maven.pomderived" value="true"/>
+    </attributes>
+  </classpathentry>
 EOH
 done
 }
 
-dir_list=`find $DIR/../heron -path "*/src/java" | cut -d '/' -f 3-`
+dir_list=`find $DIR/../heron -path "*/src/java" | cut -d '/' -f 4-`
 generate_source_dirs
 
-dir_list=`find $DIR/../integration_test -path "*/src/java" | cut -d '/' -f 3-`
+dir_list=`find $DIR/../integration_test -path "*/src/java" | cut -d '/' -f 4-`
 generate_source_dirs
 
-dir_list=`find $DIR/../heron -path "*/tests/java" | cut -d '/' -f 3-`
+dir_list=`find $DIR/../heron -path "*/tests/java" | cut -d '/' -f 4-`
 generate_source_dirs
 
-#dir_list=`find $DIR/../heron -path "*/src/python" | cut -d '/' -f 3-`
+#dir_list=`find $DIR/../heron -path "*/src/python" | cut -d '/' -f 4-`
 #generate_source_dirs
 
-#dir_list=`find $DIR/../heron -path "*/tests/python" | cut -d '/' -f 3-`
+#dir_list=`find $DIR/../heron -path "*/tests/python" | cut -d '/' -f 4-`
 #generate_source_dirs
 
 
-for jarfile in `find $DIR/../bazel-genfiles/ -name \*.jar | cut -d '/' -f 3-`; 
do 
+for jarfile in `find $DIR/../bazel-genfiles/ -name \*.jar | cut -d '/' -f 4-`; 
do 
   cat >> $classpath_file << EOH
   <classpathentry kind="lib" path="$jarfile"/>
 EOH


 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to