[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-tasks/master] Support verifying server descriptor tarballs (#2768).
commit 2869419729dac6dcd31e8bae0ee5607b339e3b0e
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Fri Mar 30 15:12:44 2012 +0200
Support verifying server descriptor tarballs (#2768).
---
task-2768/VerifyServerDescriptors.java | 9 ++++-----
task-2768/run.sh | 2 +-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/task-2768/VerifyServerDescriptors.java b/task-2768/VerifyServerDescriptors.java
index 978d4a3..c1cf766 100644
--- a/task-2768/VerifyServerDescriptors.java
+++ b/task-2768/VerifyServerDescriptors.java
@@ -31,13 +31,12 @@ import org.torproject.descriptor.ServerDescriptor;
* - Extract server descriptors to in/.
* - Clone metrics-lib, run `ant jar`, and copy descriptor.jar to this
* directory.
- * - Download Apache Commons Codec jar file commons-codec-1.4.jar and put
- * it in this directory.
+ * - Download Apache Commons Codec and Compress jar files
+ * commons-codec-1.4.jar and commons-compress-1.3.jar and put them in
+ * this directory.
* - Download BouncyCastle 1.47 jar files bcprov-jdk15on-147.jar and
* bcpkix-jdk15on-147.jar and put them in this directory.
- * - Compile and run this class:
- * $ javac -cp descriptor.jar:commons-codec-1.4.jar:bcprov-jdk15on-147.jar:bcpkix-jdk15on-147.jar VerifyServerDescriptors.java
- * $ java -cp descriptor.jar:commons-codec-1.4.jar:bcprov-jdk15on-147.jar:bcpkix-jdk15on-147.jar:. VerifyServerDescriptors
+ * - Compile and run this class: ./run.sh.
*/
public class VerifyServerDescriptors {
public static void main(String[] args) throws Exception {
diff --git a/task-2768/run.sh b/task-2768/run.sh
index a819ac5..ed5fcc4 100755
--- a/task-2768/run.sh
+++ b/task-2768/run.sh
@@ -1,3 +1,3 @@
#!/bin/bash
-javac -cp descriptor.jar:commons-codec-1.4.jar:bcprov-jdk15on-147.jar:bcpkix-jdk15on-147.jar VerifyServerDescriptors.java && java -cp descriptor.jar:commons-codec-1.4.jar:bcprov-jdk15on-147.jar:bcpkix-jdk15on-147.jar:. VerifyServerDescriptors
+javac -cp descriptor.jar:commons-codec-1.4.jar:commons-compress-1.3.jar:bcprov-jdk15on-147.jar:bcpkix-jdk15on-147.jar VerifyServerDescriptors.java && java -cp descriptor.jar:commons-codec-1.4.jar:commons-compress-1.3.jar:bcprov-jdk15on-147.jar:bcpkix-jdk15on-147.jar:. VerifyServerDescriptors
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits