2011-12-27 00:15:27 +01:00
|
|
|
# remove backup and create new backup
|
|
|
|
# we should not rm, just do incremental updates for now! rm -rf backup
|
|
|
|
|
|
|
|
# remove all previous files
|
|
|
|
mkdir ~/indexes
|
2011-12-27 01:11:06 +01:00
|
|
|
mkdir ~/indexes/uploaded
|
2011-12-27 00:15:27 +01:00
|
|
|
|
2011-12-29 01:43:50 +01:00
|
|
|
rm -rf .work
|
|
|
|
mkdir .work
|
|
|
|
mkdir .work/osm
|
2011-12-30 00:38:47 +01:00
|
|
|
if [ -z $INDEXES_FILE ]; then INDEXES_FILE="build-scripts/regions/indexes.xml"; echo "$INDEXES_FILE"; fi
|
|
|
|
|
2012-01-03 12:49:00 +01:00
|
|
|
echo 'Running java net.osmand.data.index.IndexBatchCreator with $INDEXES_FILE'
|
2012-01-03 23:47:40 +01:00
|
|
|
java -XX:+UseParallelGC -Xmx4096M -Xmn512M -Djava.util.logging.config.file=build-scripts/batch-logging.properties -cp "DataExtractionOSM/OsmAndMapCreator.jar:DataExtractionOSM/lib/*.jar" net.osmand.data.index.IndexBatchCreator build-scripts/indexes-batch-generate.xml "$INDEXES_FILE"
|