Modify

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)

comment:1 by Hind, 13 years ago

Fixed.

comment:2 by Hind, 13 years ago

Resolution: fixed
Status: newclosed

in reply to:  1 comment:3 by jBeata, 13 years ago

Replying to Hind:

Fixed.

Thanks.

comment:4 by bastiK, 13 years ago

Resolution: fixed
Status: closedreopened

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 Hind, 13 years ago

Oh, big thanks. I just forgot about it. Sorry. :( There is Plugin-Version: 25829 now, is it okay?

Last edited 13 years ago by Hind (previous) (diff)

comment:6 by bastiK, 13 years ago

Resolution: fixed
Status: reopenedclosed

It is correct now, thanks.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Hind.
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.