source: collectparties.sh@ 24

Last change on this file since 24 was 24, checked in by bart, 4 years ago

Fixes an issue with processing maxPower of a vote. Javadoc maven plugin now uses latest version.

File size: 1.6 KB
Line 
1#!/bin/bash
2
3# this script collects all parties that are standard parties
4# on the partiesserver, and renames the jar-with-dependencies
5# The collected parties are placed in a new directory "collectedparties".
6
7rm -rf collectedparties
8mkdir collectedparties
9VERSION=1.5.3
10
11cp "exampleparties/anac2019/agentgg/target/agentgg-${VERSION}-jar-with-dependencies.jar" collectedparties
12cp "exampleparties/boulware/target/boulware-${VERSION}-jar-with-dependencies.jar" collectedparties
13cp "exampleparties/comparebids/target/comparebids-${VERSION}-jar-with-dependencies.jar" collectedparties
14cp "exampleparties/conceder/target/conceder-${VERSION}-jar-with-dependencies.jar" collectedparties
15cp "exampleparties/hardliner/target/hardliner-${VERSION}-jar-with-dependencies.jar" collectedparties
16cp "exampleparties/linear/target/linear-${VERSION}-jar-with-dependencies.jar" collectedparties
17cp "exampleparties/randomparty/target/randomparty-${VERSION}-jar-with-dependencies.jar" collectedparties
18cp "exampleparties/randompartypy/target/randompyparty-${VERSION}-jar-with-dependencies.jar" collectedparties
19cp "exampleparties/simpleshaop/target/simpleshaop-${VERSION}-jar-with-dependencies.jar" collectedparties
20cp "exampleparties/timedependentparty/target/timedependentparty-${VERSION}-jar-with-dependencies.jar" collectedparties
21cp "exampleparties/anac2019/winkyagent/target/winkyagent-${VERSION}-jar-with-dependencies.jar" collectedparties
22cp "boa/target/boa-${VERSION}-jar-with-dependencies.jar" collectedparties
23
24cd collectedparties
25 for filename in ./*; do mv "./$filename" "./$(echo "$filename" | sed -e 's/-jar-with-dependencies//g')"; done
26
27
Note: See TracBrowser for help on using the repository browser.