-
Notifications
You must be signed in to change notification settings - Fork 0
/
scriptbash.sh
executable file
·67 lines (50 loc) · 3.22 KB
/
scriptbash.sh
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/bin/bash
echo "inizio"
directory=prom61_origin/ProM/lib/
directory2=BPMNMeasures
directory3=PetriNetReplayAnalysis
mkdir BPMNMeasures/stdlib
mkdir PetriNetReplayAnalysis/stdlib
mkdir PetriNetReplayAnalysis/lib
ln -s ../../prom61_origin/CostBasedAnalysis/tests/libs-external/ BPMNMeasures/tests/libs-external
ln -s ../../prom61_origin/CostBasedAnalysis/tests/libs-external/ PetriNetReplayAnalysis/tests/libs-external
ln -s ../../$directory/images BPMNMeasures/stdlib/images
ln -s ../../$directory/images PetriNetReplayAnalysis/stdlib/images
#link petrinetanalysis stdlib/prom and packagelib
ln -s ../../prom61_origin/ProM/dist/ProM-Contexts.jar PetriNetReplayAnalysis/stdlib/ProM-Contexts.jar
ln -s ../../prom61_origin/ProM/dist/ProM-Framework.jar PetriNetReplayAnalysis/stdlib/ProM-Framework.jar
ln -s ../../prom61_origin/ProM/dist/ProM-Models.jar PetriNetReplayAnalysis/stdlib/ProM-Models.jar
ln -s ../../prom61_origin/ProM/dist/ProM-Plugins.jar PetriNetReplayAnalysis/stdlib/ProM-Plugins.jar
mkdir PetriNetReplayAnalysis/packagelib
ln -s ../../prom61_origin/Log/dist/Log.jar PetriNetReplayAnalysis/packagelib/Log.jar
ln -s ../../prom61_origin/PetriNets/dist/PetriNets.jar PetriNetReplayAnalysis/packagelib/PetriNets.jar
ln -s ../../prom61_origin/InteractiveVisualization/dist/InteractiveVisualization.jar PetriNetReplayAnalysis/packagelib/InteractiveVisualization.jar
ln -s ../../prom61_origin/LogDialog/dist/LogDialog.jar PetriNetReplayAnalysis/packagelib/LogDialog.jar
ln -s ../../prom61_origin/LogMerge/dist/LogMerge.jar PetriNetReplayAnalysis/packagelib/LogMerge.jar
ln -s ../../prom61_origin/PetriNetReplayer/dist/PetriNetReplayer.jar PetriNetReplayAnalysis/packagelib/PetriNetReplayer.jar
#link bmpnmeasures stdlib/prom and packagelib
ln -s ../../prom61_origin/ProM/dist/ProM-Contexts.jar BPMNMeasures/stdlib/ProM-Contexts.jar
ln -s ../../prom61_origin/ProM/dist/ProM-Framework.jar BPMNMeasures/stdlib/ProM-Framework.jar
ln -s ../../prom61_origin/ProM/dist/ProM-Models.jar BPMNMeasures/stdlib/ProM-Models.jar
ln -s ../../prom61_origin/ProM/dist/ProM-Plugins.jar BPMNMeasures/stdlib/ProM-Plugins.jar
mkdir BPMNMeasures/packagelib
ln -s ../../prom61_origin/Log/dist/Log.jar BPMNMeasures/packagelib/Log.jar
ln -s ../../prom61_origin/PetriNets/dist/PetriNets.jar BPMNMeasures/packagelib/PetriNets.jar
ln -s ../../prom61_origin/InteractiveVisualization/dist/InteractiveVisualization.jar BPMNMeasures/packagelib/InteractiveVisualization.jar
ln -s ../../prom61_origin/LogDialog/dist/LogDialog.jar BPMNMeasures/packagelib/LogDialog.jar
ln -s ../../prom61_origin/LogMerge/dist/LogMerge.jar BPMNMeasures/packagelib/LogMerge.jar
ln -s ../../prom61_origin/PetriNetReplayer/dist/PetriNetReplayer.jar BPMNMeasures/packagelib/PetriNetReplayer.jar
ln -s ../../prom61_origin/BPMN/dist/BPMN.jar BPMNMeasures/packagelib/BPMN.jar
ln -s ../../PetriNetReplayAnalysis/dist/PetriNetReplayAnalysis.jar BPMNMeasures/packagelib/PetriNetReplayAnalysis.jar
for file in "$directory"*.*
do
#echo "$file"
MOVFile=`basename $file`
rm BPMNMeasures/stdlib/$MOVFile
ln -s ../../$file BPMNMeasures/stdlib/$MOVFile
rm PetriNetReplayAnalysis/stdlib/$MOVFile
ln -s ../../$file PetriNetReplayAnalysis/stdlib/$MOVFile
#echo "$MOVFile"
done
echo; echo
exit 0