Remove old library JARs when upgrading

When upgrading the MySQL connector library make sure the old JAR
is removed from future classpaths before the new JAR is downloaded.

Bug: issue 1870
Change-Id: I2e5aff5baac0e81fb5aa2131adcba1f7b5e53972
This commit is contained in:
Shawn Pearce
2013-04-25 13:00:44 -07:00
parent 6d0c32d0be
commit 8d414da1d9
3 changed files with 31 additions and 0 deletions

View File

@@ -17,8 +17,10 @@
name = Bouncy Castle Crypto v144
url = http://www.bouncycastle.org/download/bcprov-jdk16-144.jar
sha1 = 6327a5f7a3dc45e0fd735adb5d08c5a74c05c20c
remove = bcprov-.*[.]jar
[library "mysqlDriver"]
name = MySQL Connector/J 5.1.21
url = http://repo2.maven.org/maven2/mysql/mysql-connector-java/5.1.21/mysql-connector-java-5.1.21.jar
sha1 = 7abbd19fc2e2d5b92c0895af8520f7fa30266be9
remove = mysql-connector-java-.*[.]jar