Hi,

when I try to compile the josm sources in Eclipse, I get 3 strange error 
  messages related to static imports and the gettext-commons-0.9.2.jar:

The method marktr(String) is undefined for the type AutoScaleAction 
josm/src/org/openstreetmap/josm/actions AutoScaleAction.java    line 27 

The method tr(String) is undefined for the type MainMenu 
josm/src/org/openstreetmap/josm/gui     MainMenu.java   line 120        

The method tr(String) is undefined for the type MainMenu 
josm/src/org/openstreetmap/josm/gui     MainMenu.java   line 123        

If I change the static imports to non-static imports, everything 
compiles fine. Also, if I compile the (unchanged) sources with ant 
outside of Eclipse, there are no errors.

My java environment is based on the latest versions in the Kubuntu Hardy 
  stable repository:
ii  sun-java6-jdk                              6-07-3ubuntu2
ii  eclipse                                    3.2.2-5ubuntu2
ii  ant                                        1.7.0-3


Does anyone have an idea what the problem is?

Thanks,
Rainer


_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to