Author: struberg
Date: Tue Mar 22 08:07:59 2016
New Revision: 983406
Log:
small helper script to extract the proper docs from the dist bundle
Added:
websites/production/openjpa/content/builds/add_docs.sh (with props)
Added: websites/production/openjpa/content/builds/add_docs.sh
==============================================================================
--- websites/production/openjpa/content/builds/add_docs.sh (added)
+++ websites/production/openjpa/content/builds/add_docs.sh Tue Mar 22 08:07:59
2016
@@ -0,0 +1,19 @@
+#!/bin/sh
+# parameter 1 is the project version, e.g. 2.4.1
+# parameter 2 is the path to the openjpa binary.zip
+#
+# To build the openjpa binary.zip go to the tag and start with
+# $> mvn clean site install -DskipTests -Pjavadoc-profile,docbook-profile
+
+mkdir $1
+cd $1
+mkdir tmp
+
+unzip $2 apache-openjpa-${1}/* -d tmp
+mv tmp/apache-openjpa-${1}/docs/javadoc apidocs
+mkdir apache-openjpa
+mv tmp/apache-openjpa-${1}/RELEASE-NOTES.html apache-openjpa/
+mv tmp/apache-openjpa-${1}/docs/docbook apache-openjpa/docs
+
+rm -rf ./tmp
+cd ..
Propchange: websites/production/openjpa/content/builds/add_docs.sh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: websites/production/openjpa/content/builds/add_docs.sh
------------------------------------------------------------------------------
svn:executable = *