Changeset 32381 in osm


Ignore:
Timestamp:
2016-06-23T17:42:32+02:00 (8 years ago)
Author:
floscher
Message:

[mapillary] Add Gradle task for remote debugging a JOSM instance with the Mapillary plugin

The task starts a JOSM instance (like runJosm does) as soon as a debugger is listening on port 5006.
For ease of use, a launcher for Eclipse is also included, which starts the debugger on the right port.

This patch has been supplied by peterneubauer<peter@…>.

Location:
applications/editors/josm/plugins/mapillary
Files:
2 added
1 edited
3 moved

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/build.gradle

    r32378 r32381  
    173173}
    174174runJosm.dependsOn installPlugin
     175
     176
     177task debugJosm(type: JavaExec) {
     178    classpath = sourceSets.main.runtimeClasspath
     179    main = 'JOSM'
     180    args '--offline=josm_website'
     181    jvmArgs "-Xdebug", "-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006", "-Djosm.home=$buildDir/.josm"
     182
     183}
     184debugJosm.dependsOn installPlugin
Note: See TracChangeset for help on using the changeset viewer.