/[Frey]/trunk/bin/codeswarm-render.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/bin/codeswarm-render.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1081 by dpavlin, Thu Mar 12 19:39:22 2009 UTC revision 1082 by dpavlin, Fri Jun 5 14:05:13 2009 UTC
# Line 7  limit=1500 Line 7  limit=1500
7  limit=0  limit=0
8  activity=var/codeswarm/activity.xml  activity=var/codeswarm/activity.xml
9    
10  echo "repository $repository limit $limit"  
11  wget -nc -O $activity "http://localhost:3000/Frey::SVN/codeswarm_as_markup?repository=$repository&limit=$limit"  if [ ! -e $activity ] ; then
12            echo "repository $repository limit $limit"
13            perl -Ilib -MFrey::SVN -e "print Frey::SVN->new( repository => '$repository', limit => $limit )->codeswarm_as_markup;" > $activity
14            ls -al $activity
15    fi
16    
17  codeswarm=/rest/cvs/codeswarm/  codeswarm=/rest/cvs/codeswarm/
18  config=`pwd`/etc/codeswarm.config  config=`pwd`/etc/codeswarm.config
19  echo "using codeswarm checkout from $codeswarm with config $config"  echo "using codeswarm checkout from $codeswarm with config $config"
20    
21  rm -fv var/codeswarm/frames/*.png  rm -fv var/codeswarm/frames/*.png
22    
23  cd $codeswarm || exit  cd $codeswarm || exit
24    Xvfb -once :1 &
25    export DISPLAY=:1
26  java -Xmx1000m -classpath dist/code_swarm.jar:lib/core.jar:lib/xml.jar:lib/vecmath.jar:. code_swarm $config || exit  java -Xmx1000m -classpath dist/code_swarm.jar:lib/core.jar:lib/xml.jar:lib/vecmath.jar:. code_swarm $config || exit
27  cd -  cd -
28    

Legend:
Removed from v.1081  
changed lines
  Added in v.1082

  ViewVC Help
Powered by ViewVC 1.1.26