install_m3dv_cvs
973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/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 ^^ ..."