Modify

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 jBeata)

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 jBeata, 14 years ago

Description: modified (diff)

comment:2 by akks, 14 years ago

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.

comment:3 by bastiK, 14 years ago

Owner: changed from team to glebius

in reply to:  2 ; comment:4 by jBeata, 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.

in reply to:  4 comment:5 by bastiK, 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 glebius, 14 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain glebius.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.