Return-Path: X-Original-To: apmail-brooklyn-commits-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBDC718761 for ; Thu, 30 Jul 2015 20:00:39 +0000 (UTC) Received: (qmail 94814 invoked by uid 500); 30 Jul 2015 20:00:39 -0000 Delivered-To: apmail-brooklyn-commits-archive@brooklyn.apache.org Received: (qmail 94790 invoked by uid 500); 30 Jul 2015 20:00:39 -0000 Mailing-List: contact commits-help@brooklyn.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.incubator.apache.org Delivered-To: mailing list commits@brooklyn.incubator.apache.org Received: (qmail 94781 invoked by uid 99); 30 Jul 2015 20:00:39 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jul 2015 20:00:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 4CADDD8F79 for ; Thu, 30 Jul 2015 20:00:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.373 X-Spam-Level: X-Spam-Status: No, score=0.373 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.428, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id jArHwm3KTf6K for ; Thu, 30 Jul 2015 20:00:30 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 5E781343F9 for ; Thu, 30 Jul 2015 20:00:19 +0000 (UTC) Received: (qmail 94210 invoked by uid 99); 30 Jul 2015 20:00:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jul 2015 20:00:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9061DE7149; Thu, 30 Jul 2015 20:00:18 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sjcorbett@apache.org To: commits@brooklyn.incubator.apache.org Date: Thu, 30 Jul 2015 20:00:20 -0000 Message-Id: <50157621aec749e7b39530d0a98b2a38@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [03/11] incubator-brooklyn git commit: Revert the eager loading of the catalog items Revert the eager loading of the catalog items - Include the catalog items generation in the documentation build Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/642035ae Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/642035ae Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/642035ae Branch: refs/heads/master Commit: 642035ae4e409598f3c47e25d0473a6cfcc1e879 Parents: b2d3f33 Author: Valentin Aitken Authored: Fri May 1 03:03:22 2015 +0300 Committer: Valentin Aitken Committed: Tue Jul 14 10:28:05 2015 +0100 ---------------------------------------------------------------------- docs/.gitignore | 1 + docs/_build/build.sh | 12 + docs/_build/list-objects-logback.xml | 42 + docs/style/js/catalog/items.json | 24674 ----------------- .../website/learnmore/catalog/catalog-item.html | 12 +- docs/website/learnmore/catalog/index.html | 11 +- 6 files changed, 60 insertions(+), 24692 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/642035ae/docs/.gitignore ---------------------------------------------------------------------- diff --git a/docs/.gitignore b/docs/.gitignore index 3767b72..34ce063 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -1,3 +1,4 @@ _site _config_local.yml .sass-cache +./style/js/catalog/items.js \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/642035ae/docs/_build/build.sh ---------------------------------------------------------------------- diff --git a/docs/_build/build.sh b/docs/_build/build.sh index 2f7e395..2cdcffc 100755 --- a/docs/_build/build.sh +++ b/docs/_build/build.sh @@ -179,9 +179,21 @@ function test_site() { } function make_jekyll() { + BROOKLYN_BIN=../usage/dist/target/brooklyn-dist/brooklyn/bin/brooklyn + if [ -f $BROOKLYN_BIN ]; then + ITEMS_JS=style/js/catalog/items.js + echo "Generating catalog items in $ITEMS_JS" + echo -n "var items = " > "$ITEMS_JS" + JAVA_OPTS='-Dlogback.configurationFile=_build/list-objects-logback.xml' $BROOKLYN_BIN \ + list-objects >> "$ITEMS_JS" + echo ";" >> "$ITEMS_JS" + echo "Generating catalog items completed" + fi + echo JEKYLL running with: jekyll build $JEKYLL_CONFIG jekyll build --config $JEKYLL_CONFIG || return 1 echo JEKYLL completed + for DI in "${!DIRS_TO_MOVE[@]}"; do D=${DIRS_TO_MOVE[$DI]} DT=${DIRS_TO_MOVE_TARGET[$DI]} http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/642035ae/docs/_build/list-objects-logback.xml ---------------------------------------------------------------------- diff --git a/docs/_build/list-objects-logback.xml b/docs/_build/list-objects-logback.xml new file mode 100644 index 0000000..4ce07ae --- /dev/null +++ b/docs/_build/list-objects-logback.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + \ No newline at end of file