openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r983406 - /websites/production/openjpa/content/builds/add_docs.sh
Date Tue, 22 Mar 2016 08:07:59 GMT
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 = *



Mime
View raw message