File tree Expand file tree Collapse file tree 3 files changed +27
-2
lines changed
Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 1+ lib /
12tsfiledb /data /*
23tsfiledb /derby.log
34tsfiledb /* .pid
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ echo " Package iotdb-jdbc..."
3+ mvn clean package -Dmaven.test.skip=true
4+
5+ if [ -d " ./lib/" ]; then
6+ rm -r ./lib/
7+ fi
8+ mkdir ./lib/
9+
10+ echo " Copy denpendency jars to ./lib"
11+ cp ./target/lib/* .jar ./lib/
12+
13+ file_name=` find ./target -name " iotdb-jdbc-?.?.?.jar" `
14+ version=${file_name#* iotdb-jdbc-}
15+ version=${version% .jar}
16+ # 拷贝到lib目录下
17+ echo " Copy latest iotdb-jdbc-jar to ./lib. version is : $version "
18+ cp ./target/iotdb-jdbc-$version .jar ./lib/
19+
20+ echo " Zip all jars..."
21+ # 压缩成一个zip
22+ cd ./lib
23+ zip iotdb-jdbc-$version .zip ./*
24+ echo " Done. see ./lib/iotdb-jdbc-$version .zip"
Original file line number Diff line number Diff line change 33 <modelVersion >4.0.0</modelVersion >
44 <groupId >cn.edu.tsinghua</groupId >
55 <artifactId >iotdb-jdbc</artifactId >
6- <version >0.3.0 </version >
6+ <version >0.3.1 </version >
77 <packaging >jar</packaging >
88
99 <name >IoTDB Jdbc</name >
8888 <dependency >
8989 <groupId >cn.edu.tsinghua</groupId >
9090 <artifactId >tsfile</artifactId >
91- <version >0.3.0 </version >
91+ <version >0.3.1 </version >
9292 </dependency >
9393 <dependency >
9494 <groupId >junit</groupId >
You can’t perform that action at this time.
0 commit comments