OsmAnd/build-scripts/indexes-generate.sh

15 lines
562 B
Bash
Raw Normal View History

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
2011-12-29 01:43:50 +01:00
# TODO think about it
# mkdir -p ~/backup
# mv ~/indexes/uploaded/*.* backup
2011-12-27 00:15:27 +01:00
# 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
java -Djava.util.logging.config.file=logging.properties -Xms128M -Xmx1512M -cp "DataExtractionOSM/OsmAndMapCreator.jar:DataExtractionOSM/lib/*.jar" net.osmand.data.index.IndexBatchCreator build-scripts/indexes-batch-generate.xml build-scripts/indexes-regions.xml