X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d.git;a=blobdiff_plain;f=tools%2Fupdate%20web%20site;h=f4ff6e05c09b273b682022d49a5b78aaa6467f56;hp=8f630847adf6139219c3f27e4321994a98b5e0f8;hb=968fe6fc2df43441dca03d50d9fbc0cf41c746b4;hpb=6213716671ccab6b7256de41838e1f5401ce173c diff --git a/tools/update web site b/tools/update web site index 8f63084..f4ff6e0 100755 --- a/tools/update web site +++ b/tools/update web site @@ -1,27 +1,25 @@ #!/bin/bash -cd "${0%/*}"; if [ "$1" != "T" ]; then xterm -e "'$0' T"; exit; fi; +cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi; -# -# TODO: needs updating -# -# ( -# cd .. +cd .. -# mvn clean +mvn clean package -# mkdir -p target/website/codegraphs +rm -rf doc/graphs/ +mkdir -p doc/graphs/ -# mvn test package -e exec:java -Dexec.mainClass="eu.svjatoslav.sixth.DataGraph" -Dexec.classpathScope="test" +javainspect -j target/sixth-3d-*-SNAPSHOT.jar -d doc/graphs/ -n "all classes" -t png -h +javainspect -j target/sixth-3d-*-SNAPSHOT.jar -d doc/graphs/ -n "GUI" -t png -w "eu.svjatoslav.sixth.e3d.gui.*" -h +javainspect -j target/sixth-3d-*-SNAPSHOT.jar -d doc/graphs/ -n "raster engine" -t png -w "eu.svjatoslav.sixth.e3d.renderer.raster.*" -h -# ( -# cd target/website/codegraphs/ -# meviz index -t Sixth -# ) +meviz index -w doc/graphs/ -t "Sixth 3D classes" -# cp target/sixth.jar target/website/ -# rsync -avz --delete target/website/ n0@svjatoslav.eu:/var/www/svjatoslav.eu/projects/sixth -# ) +rm -rf doc/apidocs/ +cp -r target/apidocs/ doc/ -echo "Script finished. Press ENTER to close this terminal" +rsync -avz --delete -e 'ssh -p 10006' doc/ n0@www3.svjatoslav.eu:/mnt/big/projects/sixth-3d/ + +echo "" +echo "Press ENTER to close this window." read