Skip to content

Commit

Permalink
Merge pull request #12 from iandees/fix_build
Browse files Browse the repository at this point in the history
Fix build
  • Loading branch information
iandees authored Mar 15, 2017
2 parents 119e7a3 + 43042fc commit cca6bb9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: java
jdk:
- oraclejdk7
- openjdk6
- oraclejdk8
install:
- "curl --silent --output josm-custom.jar https://josm.openstreetmap.de/josm-tested.jar"
script:
Expand Down
7 changes: 2 additions & 5 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<property name="plugin.icon" value="images/preferences/mbtiles.png"/>
<property name="plugin.link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Mbtiles"/>

<property name="josm" location="../josm/dist/josm-custom.jar"/>
<property name="plugin.dist.dir" value="../josm/dist"/>
<property name="josm" location="josm-custom.jar"/>
<property name="plugin.dist.dir" value="dist"/>
<property name="plugin.build.dir" value="build"/>
<property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
<property name="ant.build.javac.target" value="1.7"/>
Expand All @@ -39,9 +39,6 @@
<copy todir="${plugin.build.dir}/images">
<fileset dir="images"/>
</copy>
<copy todir="${plugin.build.dir}/data">
<fileset dir="data"/>
</copy>
<jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
<zipfileset src="lib/sqlite-jdbc-3.8.11.2.jar" includes="**/*"/>
<manifest>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected TileLoaderFactory getTileLoaderFactory() {
}

@Override
protected AbstractTMSTileSource getTileSource(ImageryInfo info) {
protected AbstractTMSTileSource getTileSource() {
return new TMSTileSource(info);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,9 @@ public MbtilesTileLoaderFactory(Connection connection) {
this.connection = connection;
}

@Override
public TileLoader makeTileLoader(TileLoaderListener listener) {
return makeTileLoader(listener, null);
}

@Override
public TileLoader makeTileLoader(TileLoaderListener listener, Map<String, String> headers) {
return new MbtilesTileLoader(listener, this.connection);
}

}
}

0 comments on commit cca6bb9

Please sign in to comment.