Opened 4 years ago
Last modified 3 years ago
#19773 assigned defect
AustriaAddressHelperAction: use ChangePropertyCommand broke areaselector
Reported by: | stoecker | Owned by: | simon04 |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin areaselector | Version: | |
Keywords: | Cc: |
Description
The change
https://github.com/JOSM/austriaaddresshelper/commit/22da9e19d363d2385d84b2e9b2e1af53a9fedee5
broke the areaselector plugin:
[javac] import org.openstreetmap.josm.plugins.austriaaddresshelper.AustriaAddressHelperAction; [javac] ^ [javac] areaselector/src/org/openstreetmap/josm/plugins/areaselector/AreaSelectorAction.java:274: error: cannot find symbol [javac] return AustriaAddressHelperAction.loadAddress(selectedObject); [javac] ^ [javac] symbol: variable AustriaAddressHelperAction [javac] location: class AreaSelectorAction
Attachments (1)
Change History (5)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Already fixed on 2020-10-11, see https://github.com/JOSM/areaselector/issues/37 and https://github.com/JOSM/areaselector/commit/8190849b0ef06abaf5f3ded0d25db914578f31c8
However, I cannot build the project:
areaselector$ gradle clean jar > Configure project : Note: In order to publish to a Gitlab Maven package repository, set the environment variables GITLAB_PROJECT_ID and GITLAB_PERSONAL_ACCESS_TOKEN and use the task `publishAllPublicationsToGitlabRepository`. In GitLab CI you can publish using that task without setting any environment variables. Resolving required JOSM plugins… * log4j FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'areaselector'. > Could not resolve all files for configuration ':detachedConfiguration4'. > Could not find org.openstreetmap.josm.plugins:austriaaddresshelper:1.0-SNAPSHOT. Searched in the following locations: - https://jcenter.bintray.com/org/openstreetmap/josm/plugins/austriaaddresshelper/1.0-SNAPSHOT/maven-metadata.xml - https://jcenter.bintray.com/org/openstreetmap/josm/plugins/austriaaddresshelper/1.0-SNAPSHOT/austriaaddresshelper-1.0-SNAPSHOT.pom - https://github.com/JOSM/austriaaddresshelper/releases/download/v0.8.0/ivy.xml - file:/home/simon/src/josm.all.svngit/plugins/areaselector/lib/austriaaddresshelper-1.0-SNAPSHOT.jar - file:/home/simon/src/josm.all.svngit/plugins/areaselector/lib/austriaaddresshelper.jar - https://josm.openstreetmap.de/nexus/content/repositories/snapshots/org/openstreetmap/josm/plugins/austriaaddresshelper/1.0-SNAPSHOT/maven-metadata.xml - https://josm.openstreetmap.de/nexus/content/repositories/snapshots/org/openstreetmap/josm/plugins/austriaaddresshelper/1.0-SNAPSHOT/austriaaddresshelper-1.0-SNAPSHOT.pom - https://svn.openstreetmap.org/applications/editors/josm/dist/austriaaddresshelper.jar - https://gitlab.com/api/v4/groups/JOSM/-/packages/maven/org/openstreetmap/josm/plugins/austriaaddresshelper/1.0-SNAPSHOT/maven-metadata.xml - https://gitlab.com/api/v4/groups/JOSM/-/packages/maven/org/openstreetmap/josm/plugins/austriaaddresshelper/1.0-SNAPSHOT/austriaaddresshelper-1.0-SNAPSHOT.pom Required by: project : * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 11s
comment:3 by , 4 years ago
I can build it with ant on Windows, but I don't know if build.xml is up to date.
by , 4 years ago
log for build (first austriaaddresshelper.jar then d:\josm\dist\areaselector.jar
Beep.