install_m3dv_cvs 973 Bytes
#!/bin/ksh
cd
echo "removing oldcdpp3dview ..."
chmod -R 777 oldcdpp3dview
\rm -r oldcdpp3dview
echo "renaming cdpp3dview -> oldcdpp3dview ..."
mv cdpp3dview oldcdpp3dview
echo "copying cdpp3dview base from CVS..."
cvs -d :pserver:$LOGNAME@tls1:/home/cvs/rep_spatial/3dviewmm login

cvs -r -d :pserver:$LOGNAME@tls1:/home/cvs/rep_spatial/3dviewmm checkout -P cdpp3dview



echo "creating native libs dir aliases ..."
cd ~/cdpp3dview/server/web/orbitlibs/lib
chmod -R 777 bin
\rm -r bin
ln -s $M3DV_ROOT/server/web/orbitlibs/lib .

cd ~/cdpp3dview/server/web/securedclibs/lib
chmod -R 777 bin
\rm -r bin
ln -s $M3DV_ROOT/server/web/securedclibs/lib .


echo "creating daemons bin alias"
cd ~/cdpp3dview/server/daemons
chmod -R 777 dist
\rm -r dist
ln -s $M3DV_ROOT/server/daemons/dist .

echo "creating client classes aliases ..."
cd ~/cdpp3dview/client
chmod -R 777 classes
\rm -r classes
ln -s $M3DV_ROOT/client/classes .

echo "mm3dview installation occured well ^^ ..."