Opened 7 years ago

Last modified 7 years ago

#17828 closed enhancement

New link to ref:ruian:building — at Version 3

Reported by: pschonmann Owned by: Don-vip
Priority: normal Milestone:
Component: Core tag2link Version: tested
Keywords: RUIAN Czech Cc:

Description (last modified by Don-vip)

Hi, please add new rule to show Czech RUIAN
For Example https://vdp.cuzk.cz/vdp/ruian/stavebniobjekty/43235921

<src name="Czech RUIAN">
        <rule>
                <condition k="ref:ruian:building" v="[0-9]+" />
                <link name="Veřejný dálkový přístup - Detail objektu" href="https://vdp.cuzk.cz/vdp/ruian/stavebniobjekty/%v%" />
        </rule>
</src>

Change History (3)

comment:1 by Klumbumbus, 7 years ago

@Don-vip: I was trying to compile the plugin but failed. My josm core svn is in C:\Users\stefa\Documents\OSM\josm and I created a folder for the plugins at the same level: C:\Users\stefa\Documents\OSM\josm_plugins\tag2link. That seems not to work. Where do I need to check out the plugins related to my josm core svn? Or what else could I have done wrong?

C:\Users\stefa\Documents\OSM\josm_plugins\tag2link>ant clean dist
Buildfile: C:\Users\stefa\Documents\OSM\josm_plugins\tag2link\build.xml

clean:
   [delete] Deleting directory C:\Users\stefa\Documents\OSM\josm_plugins\tag2link\build

init:
    [mkdir] Created dir: C:\Users\stefa\Documents\OSM\josm_plugins\tag2link\build

pre-compile:

compile:
     [echo] compiling sources for C:\Users\stefa\Documents\OSM\dist\tag2link.jar ...
    [javac] Compiling 18 source files to C:\Users\stefa\Documents\OSM\josm_plugins\tag2link\build

BUILD FAILED
C:\Users\stefa\Documents\OSM\josm_plugins\build-common.xml:129: C:\Users\stefa\Documents\OSM\dist does not exist.

Total time: 0 seconds

C:\Users\stefa\Documents\OSM\josm_plugins\tag2link>

comment:2 by Don-vip, 7 years ago

The recommended way is to checkout the whole thing, see https://josm.openstreetmap.de/wiki/Source%20code#Getthesource:

svn co https://svn.openstreetmap.org/applications/editors/josm

This way, in the "josm" folder you will have the following tree:

  • core: your current "josm" folder
  • dist: the plugin jar files, you need this folder to build a plugin, that's why you have a failure
  • i18n: only needed for i18n updates
  • oldplugins: just an archive of the plugins I have recently removed
  • plugins: the folder of all active plugins + some tools to build them

You can build all plugins by running ant dist in plugins directory, or build them individually by running the same command in the plugin directory (for example tag2link).

You can also run ant install to install the plugin in your JOSM directory.

comment:3 by Don-vip, 7 years ago

Description: modified (diff)
Keywords: Czech added
Note: See TracTickets for help on using tickets.