From 9db51f3bcd55a22a6cbe92c37a65454b1f68eb15 Mon Sep 17 00:00:00 2001 From: Alfredo Chissotti <20033498@studenti.uniupo.it> Date: Tue, 19 Jul 2022 18:27:58 +0200 Subject: [PATCH] antifurto bash --- antifurto/antifurto.bash | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 antifurto/antifurto.bash diff --git a/antifurto/antifurto.bash b/antifurto/antifurto.bash new file mode 100755 index 0000000..af51b14 --- /dev/null +++ b/antifurto/antifurto.bash @@ -0,0 +1,5 @@ +#!/bin/bash +javac -cp .:./org.eclipse.paho.client.mqttv3_1.2.5.jar:./org.json-1.0.0.v201011060100.jar -d bin src/code/* +echo 'antifurto compiled' +cd .bin +java -classpath .:../org.eclipse.paho.client.mqttv3_1.2.5.jar:../org.json-1.0.0.v201011060100.jar code.Antifurto $1 -- GitLab