forked from olap4j/olap4j
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add script to deploy doc to website; add retroweaver jars.
git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@5 c6a108a4-781c-0410-a6c6-c2d559e19af0
- Loading branch information
1 parent
ce4de02
commit ab979cd
Showing
7 changed files
with
65 additions
and
8 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#!/bin/sh | ||
# $Id: //open/mondrian/doc/deployDoc.sh#3 $ | ||
# This software is subject to the terms of the Common Public License | ||
# Agreement, available at the following URL: | ||
# http://www.opensource.org/licenses/cpl.html. | ||
# Copyright (C) 2005-2005 Julian Hyde | ||
# All Rights Reserved. | ||
# You must accept the terms of that agreement to use this software. | ||
# | ||
# This is a script to deploy olap4j's website. | ||
# Only the release manager (jhyde) should run this script. | ||
|
||
set -e | ||
set -v | ||
|
||
generate=true | ||
if [ "$1" == --nogen ]; then | ||
shift | ||
generate= | ||
fi | ||
|
||
# Prefix is usually "release" or "head" | ||
prefix="$1" | ||
# Directory at sf.net | ||
docdir= | ||
case "$prefix" in | ||
0.6) export docdir=htdocs;; | ||
head) export docdir=head;; | ||
*) echo "Bad prefix '$prefix'"; exit 1;; | ||
esac | ||
|
||
cd $(dirname $0)/.. | ||
if [ "$generate" ]; then | ||
ant doczip | ||
else | ||
echo Skipping generation... | ||
fi | ||
|
||
scp dist/doc.tar.gz [email protected]: | ||
|
||
GROUP_DIR=/home/groups/o/ol/olap4j | ||
|
||
ssh -T [email protected] <<EOF | ||
set -e | ||
set -v | ||
rm -f $GROUP_DIR/doc.tar.gz | ||
mv doc.tar.gz $GROUP_DIR | ||
cd $GROUP_DIR | ||
tar xzf doc.tar.gz | ||
rm -rf old | ||
if [ -d $docdir ]; then mv $docdir old; fi | ||
mv doc $docdir | ||
rm -rf old | ||
rm -f doc.tar.gz | ||
./makeLinks | ||
EOF | ||
|
||
# End deployDoc.sh |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.