Mercurial > dive4elements > river
comparison contrib/make_flys_release/h2/createArtifacts.sh @ 4065:9d404069f361
Added build script for FLYS release.
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 09 Oct 2012 12:30:13 +0200 |
parents | |
children | 3ba2917e49d3 |
comparison
equal
deleted
inserted
replaced
4064:61020a61ed38 | 4065:9d404069f361 |
---|---|
1 #!/bin/bash | |
2 | |
3 mkdir artifactsdb | |
4 | |
5 DIR=`dirname $0` | |
6 DIR=`readlink -f "$DIR"` | |
7 | |
8 CLASSPATH= | |
9 for l in `find "$DIR" -name \*.jar -print`; do | |
10 CLASSPATH=$CLASSPATH:$l | |
11 done | |
12 | |
13 export CLASSPATH | |
14 | |
15 java org.h2.tools.RunScript \ | |
16 -url jdbc:h2:`readlink -f artifactsdb`/artifacts \ | |
17 -script $DIR/artifacts-h2.sql |