Opened 14 years ago
Closed 14 years ago
#6202 closed defect (fixed)
An "cannot find symbol" error appears when trying to build all JOSM plugins
Reported by: | jBeata | Owned by: | glebius |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin surveyor | Version: | |
Keywords: | Cc: |
Description (last modified by )
The following error appears when building the plugins:
init:
[mkdir] Created dir: D:\Java\Workspaces\josm\josm1\plugins\surveyor\build
compile:
[echo] creating ../../dist/surveyor.jar
[javac] Compiling 30 source files to D:\Java\Workspaces\josm\josm1\plugins\surveyor\build
[javac]D:\Java\Workspaces\josm\josm1\plugins\surveyor\src\at\dallermassl\josm\plugin\surveyor\SurveyorShowAction.java:74: cannot find symbol
[javac] symbol : methodaddPropertyChangeListener(at.dallermassl.josm.plugin.surveyor.SurveyorComponent)
[javac] location: class livegps.LiveGpsPlugin
[javac] gpsPlugin.addPropertyChangeListener(comp);
As far I had seen the problem is that the LiveGpsPlugin class has no method called "addPropertyChangeListener" .
Attachments (0)
Change History (6)
comment:1 by , 14 years ago
Description: | modified (diff) |
---|
follow-up: 4 comment:2 by , 14 years ago
comment:3 by , 14 years ago
Owner: | changed from | to
---|
No, jBeata is right, this method was removed in http://trac.openstreetmap.org/changeset/25790/applications/editors/josm/plugins/livegps/src/livegps/LiveGpsPlugin.java and should be restored.
follow-up: 5 comment:4 by , 14 years ago
Replying to akks:
Maybe this can help:
http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
Main idea: you ususally need JOSM sources in specific folder to compile plugins. It is easier to checkout whole tree, as shown in wiki.
Thanks for the reply. I know how to build a plugin. Usually before submitting any new changes for a given plugin, first I also re-build all the other plugins to see, if I did not broke anything. Today the re-building of the plugins did failed, and after checking several times, to see which plugin causes the problem I did found that the surveyor plugin uses a method from the livegps plugin which does not actually exists.
comment:5 by , 14 years ago
Replying to jBeata:
Usually before submitting any new changes for a given plugin, first I also re-build all the other plugins to see, if I did not broke anything.
This is not really necessary, if you do changes in the plugins/mapdust folder, only.
comment:6 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Maybe this can help:
http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
Main idea: you ususally need JOSM sources in specific folder to compile plugins. It is easier to checkout whole tree, as shown in wiki.