Sha256: 99bc44b443da3a63f5e9483c6958310904ad797371a15afa31fe2d8106b8060e

Contents?: true

Size: 861 Bytes

Versions: 1

Compression:

Stored size: 861 Bytes

Contents

#!/bin/bash
# Collect the .jar files necessary to build the gem by running
# maven in the context of TDB
# Execute in root directory of jena_jruby

# Default TDB location
# Can be overridden by exporting JENA_TDB_ROOT
tdb_root=${JENA_TDB_ROOT:-~/workspace/jena/jena-tdb}

echo "Changing to TDB directory $tdb_root"
pushd $tdb_root

echo "Cleaning old versions and recompiling ..."
mvn -DskipTests=true clean install

echo "Collecting dependencies ..."
mvn dependency:copy-dependencies

popd
echo "Changing directory back to `pwd`"
echo "Copying deps to ./javalib"
mkdir -p javalib
rm -f javalib/*.jar
cp $tdb_root/target/dependency/*.jar javalib
cp $tdb_root/target/jena-tdb-*SNAPSHOT.jar $tdb_root/target/tdb-*{0,1,2,3,4,5,6,7,8,9}.jar javalib  2>/dev/null
rm -f javalib/*test*.jar

#echo "Creating log4j config"
#jar -cf javalib/log4j-config.jar log4j.xml



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jena-jruby-0.4.0-java bin/update_jars_maven