reinstate jar exclusion, with comments these mustn't be included (and tests which want them are skipped if they aren't present)
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/aaf97039 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/aaf97039 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/aaf97039 Branch: refs/heads/0.8.0-incubating Commit: aaf97039ab33c2b489479fe9fd2c21732731c277 Parents: 6da5c6d Author: Alex Heneveld <[email protected]> Authored: Fri Sep 4 14:27:42 2015 +0100 Committer: Alex Heneveld <[email protected]> Committed: Fri Sep 4 14:33:52 2015 +0100 ---------------------------------------------------------------------- release/make-release-artifacts.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/aaf97039/release/make-release-artifacts.sh ---------------------------------------------------------------------- diff --git a/release/make-release-artifacts.sh b/release/make-release-artifacts.sh index a9184f3..476a6e3 100755 --- a/release/make-release-artifacts.sh +++ b/release/make-release-artifacts.sh @@ -173,7 +173,13 @@ echo "Creating source release folder ${release_name}" set -x mkdir -p ${src_staging_dir} mkdir -p ${bin_staging_dir} -rsync -rtp --exclude .git\* --exclude docs/ --exclude sandbox/ --exclude release/ . ${staging_dir}/${release_name}-src +# exclude: +# * docs (which isn't part of the release, and adding license headers to js files is cumbersome) +# * sandbox (which hasn't been vetted so thoroughly) +# * release (where this is running, and people who *have* the release don't need to make it) +# * jars and friends (these are sometimes included for tests, but those are marked as skippable, +# and apache convention does not allow them in source builds; see PR #365 +rsync -rtp --exclude .git\* --exclude docs/ --exclude sandbox/ --exclude release/ --exclude '**/*.[ejw]ar' . ${staging_dir}/${release_name}-src rm -rf ${artifact_dir} mkdir -p ${artifact_dir}
