Changeset 28246 in osm for applications/editors
- Timestamp:
- 2012-04-11T19:26:28+02:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/opendata
- Files:
-
- 108 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/.classpath
r28191 r28246 15 15 <classpathentry kind="src" path="modules/fr.toulouse/resources"/> 16 16 <classpathentry kind="src" path="util"/> 17 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/ JavaSE-1.6"/>17 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_31"/> 18 18 <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/> 19 <classpathentry kind="lib" path="/JOSM/dist/jts.jar"/> 19 20 <classpathentry kind="output" path="bin"/> 20 21 </classpath> -
applications/editors/josm/plugins/opendata/build.xml
r28191 r28246 31 31 <!-- should not be necessary to change the following properties --> 32 32 <property name="josm" location="../../core/dist/josm-custom.jar"/> 33 <property name="jts" location="../../dist/jts.jar"/> 33 34 <property name="plugin.build.dir" value="build"/> 34 35 <property name="plugin.src.dir" value="src"/> … … 93 94 --> 94 95 <target name="compile_geotools" depends="init"> 95 <echo message="compiling JTS ... "/>96 <javac srcdir="includes/com/vividsolutions/jts" debug="false" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="ISO-8859-1" />97 96 <echo message="compiling JSR-275 ... "/> 98 97 <javac srcdir="includes/javax/measure" debug="false" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="UTF-8" /> … … 100 99 <javac srcdir="includes/javax/vecmath" debug="false" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="ISO-8859-1" /> 101 100 <echo message="compiling GeoTools ... "/> 102 <javac debug=" true" sourcepath="" srcdir="includes" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="ISO-8859-1">101 <javac debug="false" sourcepath="" srcdir="includes" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="ISO-8859-1"> 103 102 <include name="org/geotools/**/*.java"/> 104 103 <include name="org/opengis/**/*.java"/> 104 <classpath> 105 <pathelement location="${jts}"/> 106 </classpath> 105 107 </javac> 106 108 </target> 107 109 <!-- 108 110 ********************************************************** 109 ** compile_n aptune - compiles Neptune classes111 ** compile_neptune - compiles Neptune classes 110 112 ********************************************************** 111 113 --> … … 125 127 <pathelement path="${plugin.build.dir}"/> 126 128 <pathelement location="${josm}"/> 129 <pathelement location="${jts}"/> 127 130 </classpath> 128 131 <compilerarg value="-Xlint:deprecation"/> … … 177 180 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/OpenData"/> 178 181 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/> 179 < !--<attribute name="Plugin-Requires" value="jts"/>-->182 <attribute name="Plugin-Requires" value="jts"/> 180 183 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 181 184 </manifest> -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/OdPlugin.java
r28191 r28246 66 66 private static OdPlugin instance; 67 67 68 public final XmlImporter xmlImporter ;68 public final XmlImporter xmlImporter = new XmlImporter(); 69 69 70 70 private final JMenu menu; … … 82 82 new KmlKmzImporter(), new ShpImporter(), new MifTabImporter(), new GmlImporter(), // Geographic file formats 83 83 new ZipImporter(), // Archive containing any of the others 84 xmlImporter = new XmlImporter()// Generic importer for XML files (currently used for Neptune files)84 xmlImporter // Generic importer for XML files (currently used for Neptune files) 85 85 })) { 86 86 ExtensionFileFilter.importers.add(0, importer);
Note:
See TracChangeset
for help on using the changeset viewer.