You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@incubator.apache.org by jo...@apache.org on 2017/06/17 12:12:39 UTC

[6/6] incubator git commit: Use a custom bake script to allow DTD processing over HTTP.

Use a custom bake script to allow DTD processing over HTTP.


Project: http://git-wip-us.apache.org/repos/asf/incubator/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator/commit/088dcf8e
Tree: http://git-wip-us.apache.org/repos/asf/incubator/tree/088dcf8e
Diff: http://git-wip-us.apache.org/repos/asf/incubator/diff/088dcf8e

Branch: refs/heads/jbake-site
Commit: 088dcf8e14bdc41b4e1a1a2b9b563b971925a68b
Parents: c21565f
Author: John D. Ament <jo...@apache.org>
Authored: Sat Jun 17 08:12:28 2017 -0400
Committer: John D. Ament <jo...@apache.org>
Committed: Sat Jun 17 08:12:28 2017 -0400

----------------------------------------------------------------------
 bake.sh       | 3 +++
 build_site.sh | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator/blob/088dcf8e/bake.sh
----------------------------------------------------------------------
diff --git a/bake.sh b/bake.sh
new file mode 100755
index 0000000..2ad5cfb
--- /dev/null
+++ b/bake.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+java -Djavax.xml.accessExternalDTD=http -jar "${JBAKE_HOME}/jbake-core.jar" $@

http://git-wip-us.apache.org/repos/asf/incubator/blob/088dcf8e/build_site.sh
----------------------------------------------------------------------
diff --git a/build_site.sh b/build_site.sh
index 7931fb6..61bdb33 100755
--- a/build_site.sh
+++ b/build_site.sh
@@ -3,7 +3,7 @@
 WORKDIR=/tmp/incubator-site
 rm -rf $WORKDIR
 mkdir -p $WORKDIR
-$JBAKE_HOME/bin/jbake -b . $WORKDIR
+./bake.sh -b . $WORKDIR
 git checkout asf-site
 git clean -f -d
 git pull origin asf-site


---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org