[OSM-dev] Deactivated some josm plugins in build.xml

Joerg Ostertag (OSM Munich/Germany) openstreetmap at ostertag.name
Mon Oct 22 06:02:01 BST 2007


On Sonntag 21 Oktober 2007, you wrote:
> Hi!
>
> Joerg Ostertag (OSM Munich/Germany) schrieb:
> > I tried to build a new debian package for josm. While doing this i
> > recognized, that the following plugins seam not to compile. That's the
> > reason, I deactivated them in the plugins/build.xml.
> >         <!-- ant       dir="navigator"
>
> uses segments and I did not have any time to rewrite it. So keep it
> disabled for the moment.
>
> >         <!-- ant       dir="pluginmanager"
>
> not needed anymore as josm handles plugin updates by itself. Could also
> be deleted in svn.
>
> >         <!-- ant       dir="surveyor"
>
> Hmmmm.... it compiles here. Could you send the compile errors?


compile:
...
[javac] /home/tweety/svn.openstreetmap.org/applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveAction.java:18
: package livegps does not exist
    [javac] import livegps.LiveGpsLayer;
    [javac]               ^

This seems to result from not having installed any .jar Files in my 
~/.josm/plugins/ directory. So I tried changing the following and it 
compiles. Would that be sufficient or is this property used anywhere else?

   +++ build.xml   (working copy)
@@ -6,13 +6,13 @@
          <property name="plugin.build.dir" value="bin"/>
          <property name="plugin.name" value="${ant.project.name}"/>
          <property name="plugin.jar" value="${plugin.name}.jar"/>
-    <property name="livegpsplugin.jar" 
value="${josm.home.dir}/plugins/livegps.jar"/>
+         <property name="livegpsplugin.jar" value="../livegps/livegps.jar"/>
 
-

Joerg




More information about the dev mailing list