Changeset 29210 in osm for applications/editors/josm/plugins/wms-turbo-challenge2
- Timestamp:
- 2013-01-27T18:15:08+01:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/wms-turbo-challenge2
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wms-turbo-challenge2/build.xml
r28807 r29210 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** To build it run4 **5 ** > ant dist6 **7 ** To install the generated plugin locally (in you default plugin directory) run8 **9 ** > ant install10 -->11 2 <project name="wms-turbo-challenge2" default="dist" basedir="."> 12 3 … … 14 5 <property name="commit.message" value="Commit message"/> 15 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 16 <property name="plugin.main.version" value="4 549"/>7 <property name="plugin.main.version" value="4670"/> 17 8 18 <!-- 19 ********************************************************** 20 ** include targets that all plugins have in common 21 ********************************************************** 22 --> 9 <property name="plugin.author" value="Andrzej Zaborowski"/> 10 <property name="plugin.class" value="wmsturbochallenge.WMSRacer"/> 11 <property name="plugin.description" value="Drive a race car from point A to point B over aerial imagery, leave cacti behind."/> 12 <property name="plugin.icon" value="images/wmsracer.png"/> 13 <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/WMS_Racer"/> 14 15 <!-- ** include targets that all plugins have in common ** --> 23 16 <import file="../build-common.xml"/> 24 25 <!-- 26 ********************************************************** 27 ** dist - creates the plugin jar 28 ********************************************************** 29 --> 30 <target name="dist" depends="compile,revision"> 31 <echo message="creating ${plugin.jar.name} ... "/> 32 <copy todir="${plugin.build.dir}/resources"> 33 <fileset dir="resources"/> 34 </copy> 35 <copy todir="${plugin.build.dir}/images"> 36 <fileset dir="images"/> 37 </copy> 38 <copy todir="${plugin.build.dir}/data"> 39 <fileset dir="data"/> 40 </copy> 41 <copy todir="${plugin.build.dir}"> 42 <fileset dir="."> 43 <include name="README"/> 44 <include name="LICENSE"/> 45 </fileset> 46 </copy> 47 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> 48 <manifest> 49 <attribute name="Author" value="Andrzej Zaborowski"/> 50 <attribute name="Plugin-Class" value="wmsturbochallenge.WMSRacer"/> 51 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 52 <attribute name="Plugin-Description" value="Drive a race car from point A to point B over aerial imagery, leave cacti behind."/> 53 <attribute name="Plugin-Icon" value="images/wmsracer.png"/> 54 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/WMS_Racer"/> 55 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/> 56 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 57 </manifest> 58 </jar> 59 </target> 17 60 18 </project> -
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/FakeMapView.java
r25935 r29210 37 37 38 38 public fake_map_view(MapView parent, double scale) { 39 super(null); //TODO MapView constructor contains registering listeners and other code, that probably shouldn't be called in fake map view 39 super(null, null); //TODO MapView constructor contains registering listeners and other code, that probably shouldn't be called in fake map view 40 40 this.parent = parent; 41 41 this.scale = scale;
Note:
See TracChangeset
for help on using the changeset viewer.