brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [47/50] brooklyn-docs git commit: Fix make-javadoc.sh to work without brooklyn-all-with-dependencies (because it's been removed)
Date Mon, 01 Feb 2016 17:45:02 GMT
Fix make-javadoc.sh to work without brooklyn-all-with-dependencies (because it's been removed)


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/294a99b0
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/294a99b0
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/294a99b0

Branch: refs/heads/0.7.0-incubating
Commit: 294a99b0841f8090ad28c8fc457433229441da0b
Parents: 31f0c21
Author: Richard Downer <richard@apache.org>
Authored: Mon Jul 27 15:10:57 2015 +0100
Committer: Richard Downer <richard@apache.org>
Committed: Mon Jul 27 15:10:57 2015 +0100

----------------------------------------------------------------------
 docs/_build/make-javadoc.sh | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/294a99b0/docs/_build/make-javadoc.sh
----------------------------------------------------------------------
diff --git a/docs/_build/make-javadoc.sh b/docs/_build/make-javadoc.sh
index 80a6c24..56e3bb5 100755
--- a/docs/_build/make-javadoc.sh
+++ b/docs/_build/make-javadoc.sh
@@ -24,13 +24,7 @@ export DATESTAMP=`date "+%Y-%m-%d"`
 export SHA1STAMP=`git rev-parse HEAD`
 
 # BROOKLYN_VERSION_BELOW
-export BROOKLYN_JAVADOC_CLASSPATH=../../usage/all/target/brooklyn-all-0.7.0-incubating-with-dependencies.jar
-
-if [ \! -f ${BROOKLYN_JAVADOC_CLASSPATH} ]; then
-  echo "Expected to find ${BROOKLYN_JAVADOC_CLASSPATH}"
-  echo "Please run a full Maven build in the project root"
-  exit 1
-fi
+export BROOKLYN_JAVADOC_CLASSPATH=$( mvn -f ../../pom.xml --projects :brooklyn-all dependency:build-classpath
| grep -E -v '^\[[A-Z]+\]' )
 
 echo "building javadoc at $DATESTAMP from:
 $SOURCE_PATHS"


Mime
View raw message