-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscriptLoadExternalJar
More file actions
executable file
·60 lines (53 loc) · 2.26 KB
/
scriptLoadExternalJar
File metadata and controls
executable file
·60 lines (53 loc) · 2.26 KB
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
echo " --------------------------------------------------------"
echo "| |"
echo "| TheBimboBread |"
echo "| |"
echo "| UniApi-Load external dependencies |"
echo " --------------------------------------------------------"
echo " "
echo " "
echo " "
echo "compiling model"
echo "--------------------------------------------------------------"
cd uniapi_backend_model
mvn clean install package
cd ..
sleep 2
echo "--------------------------------------------------------------"
echo "Making the copies of model"
cp uniapi_backend_model/target/model-0.0.1-SNAPSHOT.jar uniapi_backend_enviroment_execution/externalJar
cp uniapi_backend_model/target/model-0.0.1-SNAPSHOT.jar uniapi_backend_business/externalJar
cp uniapi_backend_model/target/model-0.0.1-SNAPSHOT.jar uniapi_backend_apirest/externalJar
echo "-------------------------END-----------------------------------"
echo "compiling enviroment_execution"
echo "--------------------------------------------------------------"
cd uniapi_backend_enviroment_execution
mvn clean install package
cd ..
sleep 2
echo "--------------------------------------------------------------"
echo "Making the copies of enviroment_execution"
cp uniapi_backend_enviroment_execution/target/enviroment_execution-0.0.1-SNAPSHOT.jar uniapi_backend_business/externalJar
cp uniapi_backend_enviroment_execution/target/enviroment_execution-0.0.1-SNAPSHOT.jar uniapi_backend_apirest/externalJar
echo "-------------------------END-----------------------------------"
echo "compiling enviroment_execution"
echo "--------------------------------------------------------------"
cd uniapi_backend_business
mvn clean install package
cd ..
sleep 2
echo "--------------------------------------------------------------"
echo "Making the copies of bussiness"
cp uniapi_backend_business/target/business-0.0.1-SNAPSHOT.jar uniapi_backend_apirest/externalJar
echo "----------------------------END--------------------------------"
echo " "
echo " "
echo " "
clear
echo "Do you like executed the App?"
select yn in "Yes" "No"; do
case $yn in
Yes ) cd uniapi_backend_apirest; mvn clean install package; mvn spring-boot:run; exit;;
No ) echo " ";echo " ";echo " ";echo " ";echo " ";echo " ";echo "Now open the Eclipse again lazy boy!!!"; exit;;
esac
done