Opened 13 years ago
Closed 13 years ago
#6201 closed defect (fixed)
An "cannot find symbol:method getURL()" error appears when trying to build all JOSM plugins
Reported by: | jBeata | Owned by: | Hind |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin commandline | Version: | latest |
Keywords: | Cc: |
Description
The following error appears when building the plugins:
[javac] Compiling 19 source files to D:\Java\Workspaces\josm\josm1\plugins\CommandLine\build
........
[javac] D:\Java\Workspaces\josm\josm1\plugins\CommandLine\src\CommandLine\CommandLine.java:325: cannot find symbol
[javac] symbol : method getURL()
[javac] location: class org.openstreetmap.josm.data.imagery.ImageryInfo
[javac] String url = info.getURL();
As far I had seen the problem is that the ImageryInfo class has a method called "getUrl()" not "getURL()", as used in CommandLine class, line 325.
Attachments (0)
Change History (6)
follow-up: 3 comment:1 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Hi Hind, thanks for your help.
Please note, that you cannot commit both the source change and the binary plugin at once. As you can see, svn-version 25201 and 25826 both report version number 25200. This breaks JOSM's update mechanism.
Before you commit the binary, please check correct version number. It can be found in the file /META-INF/MANIFEST.MF when you unzip the *.jar file. If you follow the procedure described in DevelopersGuide/DevelopingPlugins it should all work without problems.
comment:5 by , 13 years ago
Oh, big thanks. I just forgot about it. Sorry. :( There is Plugin-Version: 25829 now, is it okay?
comment:6 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
It is correct now, thanks.
Fixed.