Index: applications/editors/josm/plugins/grid/build.xml
===================================================================
--- applications/editors/josm/plugins/grid/build.xml	(revision 5153)
+++ applications/editors/josm/plugins/grid/build.xml	(revision 5197)
@@ -14,5 +14,5 @@
   <property name="josm" location="${josm.build.dir}/dist/josm-custom.jar" />
 
-
+  <property name="ant.build.javac.target" value="1.5"/>
 
   <target name="init">
