[josm-dev] New plugin development - wiki issues

Marián Kyral mkyral at email.cz
Tue Jan 14 21:56:19 UTC 2014


Hi,
I wan't to test some ideas on Tracer plugin (connect to different, vector 
based source - RUIAN). So I went through wiki page: http://josm.
openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins

I've fetched plugins svn, slightly updated the Tracer plugin and tried to 
build them. It failed - some utils missed. I had to build all plugins first,
then I was able to build it. Maybe this should be mentioned in Wiki.

Then I decided to fork the Tracer plugin. I have copied the Tracer folder, 
renamed it. Now, it builds fine, but then it fails on REVISION.XML.

============================================================================
=
compile:
     [echo] compiling sources for ../../dist/RUIANTracer.jar ...
    [javac] Compiling 6 source files to /home/marian/data/josm/josm_plugins/
plugins/RUIANtracer/build
    [javac] warning: [options] bootstrap class path not set in conjunction 
with -source 1.6
    [javac] 1 warning

init-svn-revision-xml:
     [exec] Result: 1

init-git-revision-xml:

revision:
[xmlproperty] [Fatal Error] :-1:-1: Premature end of file.

BUILD FAILED
/home/marian/data/josm/josm_plugins/plugins/build-common.xml:192: Failed to 
load /home/marian/data/josm/josm_plugins/plugins/RUIANtracer/REVISION.XML

Total time: 3 seconds
============================================================================
=

Output of: svn info --xml .
<?xml version="1.0" encoding="UTF-8"?>
<info>
svn: warning: W155010: The node '/home/marian/data/josm/josm_plugins/
plugins/RUIANtracer' was not found.

</info>
svn: E200009: Could not display info for all targets because some targets 
don't exist
============================================================================
=

Hi can I pass it without commit?

Note: I have only basic knowledge about java.
Note2: I saw there is Tracer2 plugin - nice work. maybe I'll get some 
inspiration there as well.

Regards,
Marián



More information about the josm-dev mailing list