devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From re...@apache.org
Subject svn commit: r1694070 - in /devicemap/trunk/clients/2.0/reference: compile.sh devicemap-reference-2.0.jar lib/
Date Tue, 04 Aug 2015 14:30:21 GMT
Author: rezan
Date: Tue Aug  4 14:30:21 2015
New Revision: 1694070

URL: http://svn.apache.org/r1694070
Log:
moved jars

Removed:
    devicemap/trunk/clients/2.0/reference/devicemap-reference-2.0.jar
    devicemap/trunk/clients/2.0/reference/lib/
Modified:
    devicemap/trunk/clients/2.0/reference/compile.sh

Modified: devicemap/trunk/clients/2.0/reference/compile.sh
URL: http://svn.apache.org/viewvc/devicemap/trunk/clients/2.0/reference/compile.sh?rev=1694070&r1=1694069&r2=1694070&view=diff
==============================================================================
--- devicemap/trunk/clients/2.0/reference/compile.sh (original)
+++ devicemap/trunk/clients/2.0/reference/compile.sh Tue Aug  4 14:30:21 2015
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+set -e
+
 echo "Cleaning"
 
 rm -rf bin
@@ -9,12 +11,22 @@ then
     exit 0
 fi
 
-mkdir bin
+if [ ! -d lib ]
+then
+    echo "Downloading libraries"
 
-LIBS=`find lib -type f | xargs echo | sed "s/ /:/g"`
+    mkdir lib
+
+    wget -nv -O "lib/jackson-core-asl-1.9.13.jar" "http://central.maven.org/maven2/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar"
+    wget -nv -O "lib/jackson-mapper-asl-1.9.13.jar" "http://central.maven.org/maven2/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar"
+fi
 
 echo "Compiling"
 
+LIBS=`find lib -type f | xargs echo | sed "s/ /:/g"`
+
+mkdir bin
+
 javac -cp "$LIBS" src/*.java -d bin
 
 if [ "$1" = "dist" ]



Mime
View raw message