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 |
|
|