Modify

Opened 6 months ago

Last modified 4 months 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)

build.log (61.1 KB) - added by GerdP 4 months ago.
log for build (first austriaaddresshelper.jar then d:\josm\dist\areaselector.jar

Download all attachments as: .zip

Change History (4)

comment:1 Changed 4 months ago by stoecker

Beep.

comment:2 Changed 4 months ago by simon04

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 Changed 4 months ago by GerdP

I can build it with ant on Windows, but I don't know if build.xml is up to date.

Changed 4 months ago by GerdP

Attachment: build.log added

log for build (first austriaaddresshelper.jar then d:\josm\dist\areaselector.jar

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain simon04.
as The resolution will be set.
to The owner will be changed from simon04 to the specified user.
The owner will change to stoecker
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.