Skip to content
Snippets Groups Projects
Commit 2c080503 authored by User expired's avatar User expired
Browse files

minor improvements

parent 3e9276e1
No related branches found
No related tags found
No related merge requests found
......@@ -140,14 +140,12 @@ dependencies {
// testCompile 'org.apache.jmeter:ApacheJMeter:2.+'
}
tasks.withType(JavaCompile) {
// adds support for compiler warnings generation
options.compilerArgs << '-Xlint:all,-processing'
}
tasks.withType(JavaCompile) {
// workaround for http://issues.gradle.org/browse/GRADLE-1230
doFirst { println '' }
// adds support for compiler warnings generation
options.compilerArgs << '-Xlint:all,-processing'
}
asciidoctor {
......
......@@ -211,8 +211,8 @@ WORKING_DIR=`pwd`
fn_download()
{
FILE=$1
URL=$2
FILE="$1"
URL="$2"
if wget --no-check-certificate -q -O /dev/null "$URL"; then
wget --no-check-certificate -q -O "$FILE" "$URL"
......@@ -222,8 +222,8 @@ fn_download()
# "wget -N" does not work with "-O" option... so we use a workaround here
fn_download_newer()
{
FILE=$1
URL=$2
FILE="$1"
URL="$2"
if [ ! -f "$FILE" ]; then
if wget --no-check-certificate -q -O /dev/null "$URL"; then
......@@ -234,12 +234,12 @@ fn_download_newer()
fn_import_data()
{
NAME=$1
OSM_FILE=$2
OSM_FILE_FILTERED=$3
BOUNDING=$4
SCHEDULE_FILE=$5
TABLE_PREFIX=$6
NAME="$1"
OSM_FILE="$2"
OSM_FILE_FILTERED="$3"
BOUNDING="$4"
SCHEDULE_FILE="$5"
TABLE_PREFIX="$6"
echo "Importing data for region of $NAME"
if $IMPORT_OSMDATA_CACHED; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment