You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2017/11/24 19:28:12 UTC
[GitHub] sijie commented on a change in pull request #772: bookkeeper script excludes sources jar
sijie commented on a change in pull request #772: bookkeeper script excludes sources jar
URL: https://github.com/apache/bookkeeper/pull/772#discussion_r153020134
##########
File path: bookkeeper-server/bin/bookkeeper
##########
@@ -71,18 +71,18 @@ else
fi
# exclude tests jar
-RELEASE_JAR=$(ls ${BK_HOME}/*bookkeeper-server-*.jar 2> /dev/null | grep -v tests | tail -1)
+RELEASE_JAR=$(ls ${BK_HOME}/*bookkeeper-server-*.jar 2> /dev/null | grep -v tests | grep -v sources | tail -1)
Review comment:
if the problem comes from multiple package, or your shell doesn't emit the right result. You need to exclude following packages:
```
target/bookkeeper-server-4.6.0-SNAPSHOT-javadoc.jar
target/bookkeeper-server-4.6.0-SNAPSHOT-shaded.jar
target/bookkeeper-server-4.6.0-SNAPSHOT-sources.jar
```
However I would suggest digging into this issue a bit more and come up a command that can produce determistic results.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services