Skip to content

Commit cfe2366

Browse files
committed
Updated generate_site.bash script with proper information so that it can be run from a cron job to periodically update the site based on trunk changes.
git-svn-id: https://src.springframework.org/svn/se-springpython-py/trunk/springpython@129 ce8fead1-4192-4296-8608-a705134b927f
1 parent cdae6d3 commit cfe2366

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

generate_site.bash

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
# spring and then to rebuild the hosted site.
1919
###################################################################################
2020

21+
export JAVA_HOME=~/java
22+
export M2_HOME=~/apache-maven
23+
export M2=$M2_HOME/bin
24+
export PATH=$M2:$JAVA_HOME/bin:$PATH
25+
2126
cd ~/springpython
22-
svn update
23-
./build.py --clean --site
27+
svn update >> log.txt
28+
./build.py --clean --site >> log.txt
29+

0 commit comments

Comments
 (0)