[osmosis-dev] writing a custom plugin - unkown plugin version
jotpe
jotpe.osm at gmail.com
Sun Dec 22 23:51:13 UTC 2013
Hello List,
i would like to build a custom plugin for osmosis, but the wiki
informations are to less for me.
Is there anywhere a tutorial available?
My current problem is an unknown or incompatible version between my plugin
dependency and the org.openstreetmap.osmosis.core.plugin.Core
<?xml version="1.0" ?> <!DOCTYPE plugin PUBLIC "-//JPF//Java Plug-in
Manifest 1.0" "http://jpf.sourceforge.net/plugin_1_0.dtd"> <plugin
id="OsmosisImporter" version="0.1"> <requires> <import
plugin-id="org.openstreetmap.osmosis.core.plugin.Core"
plugin-version="0.43.1" reverse-lookup="false"/> </requires> <runtime>
<library id="mycode" path="/" type="code"/> </runtime> <extension
plugin-id="org.openstreetmap.osmosis.core.plugin.Core" point-id="Task"
id="OsmosismImporter"> <parameter id="name" value="importer"/> <parameter
id="class" value="de.regioosm.osmosis.plugin.PluginLoader" /> </extension>
</plugin>
This command causes
osmosis --read-xml city1.osm --importer
Caused by: org.java.plugin.PluginLifecycleException: plug-in
OsmosisImporter requires plug-in org.openstreetmap.osmosis.core.plugin.Core
which is unknown or has incompatible version
at
org.java.plugin.standard.StandardPluginManager.checkPrerequisites(StandardPluginManager.java:460)
at
org.java.plugin.standard.StandardPluginManager.activatePlugin(StandardPluginManager.java:397)
My osmosis version is 0.43.1 and the maven dependecies of the plugin
project is 0.43.1 too. What can i do? Regards Johannes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20131223/e4efddfe/attachment.html>
More information about the osmosis-dev
mailing list