error from ant script
Subhodip Biswas
440volt.tux at gmail.com
Wed Mar 25 02:34:27 UTC 2009
Here I am attaching the whole ant output from rpmbuild.
Just curious which java compiler does rpmbuild calls by default
because I have both gcj and openjdk but seems like rpmbuild still
calling gcj.
--
Regards
Subhodip Biswas
GPG key : FAEA34AB
Server : pgp.mit.edu
http://subhodipbiswas.wordpress.com
http:/www.fedoraproject.org/wiki/SubhodipBiswas
-------------- next part --------------
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.18463
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.18463
Buildfile: build.xml
init:
compile:
[mkdir] Created dir: /usr/src/redhat/BUILD/josm-build1511/build
[javac] Compiling 288 source files to /usr/src/redhat/BUILD/josm-build1511/build
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/Main.java:3: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/Main.java:253: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] public static void preConstructorInit(Map<String, Collection<String>> args) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/Main.java:321: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (String s : args.get("download"))
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/AboutAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/AddNodeAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/AlignInCircleAction.java:28: warning: unmappable character for encoding ASCII
[javac] * @author Petr Dlouh??
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/AlignInCircleAction.java:28: warning: unmappable character for encoding ASCII
[javac] * @author Petr Dlouh??
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/AlignInCircleAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/AlignInCircleAction.java:134: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] Collection<OsmPrimitive> sel = Main.ds.getSelected();
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/AlignInCircleAction.java:141: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (OsmPrimitive osm : sel) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/AlignInLineAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/AlignInLineAction.java:42: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] Collection<OsmPrimitive> sel = Main.ds.getSelected();
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/AlignInLineAction.java:45: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (OsmPrimitive osm : sel)
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/AutoScaleAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.marktr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/AutoScaleAction.java:72: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (Layer l : Main.map.mapView.getAllLayers())
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/AutoScaleAction.java:77: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] Collection<OsmPrimitive> sel = mode.equals("selection") ? Main.ds.getSelected()
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/CombineWayAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/CombineWayAction.java:59: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] Collection<OsmPrimitive> selection = Main.ds.getSelected();
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/CombineWayAction.java:62: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (OsmPrimitive osm : selection)
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/CopyAction.java:5: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/CopyAction.java:30: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] private LinkedList<JosmAction> listeners;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/CopyAction.java:41: annotations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable annotations)
[javac] @Override public void addListener(JosmAction a) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/CopyAction.java:51: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for(JosmAction a : listeners) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/CreateCircleAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/CreateCircleAction.java:79: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] Collection<OsmPrimitive> sel = Main.ds.getSelected();
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/CreateCircleAction.java:83: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (OsmPrimitive osm : sel)
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/DeleteAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/DeleteAction.java:32: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] public void selectionChanged(Collection<? extends OsmPrimitive> newSelection) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/DiskAccessAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/DistributeAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/DistributeAction.java:40: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] Collection<OsmPrimitive> sel = Main.ds.getSelected();
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/DistributeAction.java:43: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (OsmPrimitive osm : sel)
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/DownloadAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/DownloadAction.java:59: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (DownloadTask task : dialog.downloadTasks) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/DuplicateAction.java:5: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/DuplicateAction.java:32: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] public void selectionChanged(Collection<? extends OsmPrimitive> newSelection) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/ExitAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/ExtensionFileFilter.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/ExtensionFileFilter.java:43: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (String ext : extension.split(","))
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/ExtensionFileFilter.java:49: annotations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable annotations)
[javac] @Override public boolean accept(File pathname) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/GpxExportAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/GpxExportAction.java:185: annotations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable annotations)
[javac] @Override public void keyReleased(KeyEvent e) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/GpxExportAction.java:206: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (int i : l.getSelectedIndices()) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/HelpAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/HelpAction.java:90: annotations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable annotations)
[javac] @Override public void windowClosing(WindowEvent e) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/HistoryInfoAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/HistoryInfoAction.java:32: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] final Collection<Object> sel = new LinkedList<Object>();
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/HistoryInfoAction.java:53: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (OsmPrimitive osm : Main.ds.getSelected())
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/JoinNodeWayAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/JoinNodeWayAction.java:34: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] Collection<OsmPrimitive> sel = Main.ds.getSelected();
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/JoinNodeWayAction.java:41: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (WaySegment ws : wss) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/JosmAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MergeNodesAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MergeNodesAction.java:62: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] Collection<OsmPrimitive> selection = Main.ds.getSelected();
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MergeNodesAction.java:68: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (OsmPrimitive osm : selection)
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MoveAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MoveAction.java:28: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] public enum Direction { UP, LEFT, RIGHT, DOWN }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MoveAction.java:28: ';' expected
[javac] public enum Direction { UP, LEFT, RIGHT, DOWN }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MoveAction.java:28: not a statement
[javac] public enum Direction { UP, LEFT, RIGHT, DOWN }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MoveAction.java:28: ';' expected
[javac] public enum Direction { UP, LEFT, RIGHT, DOWN }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MoveAction.java:28: not a statement
[javac] public enum Direction { UP, LEFT, RIGHT, DOWN }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MoveAction.java:28: ';' expected
[javac] public enum Direction { UP, LEFT, RIGHT, DOWN }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MoveAction.java:28: not a statement
[javac] public enum Direction { UP, LEFT, RIGHT, DOWN }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MoveAction.java:28: ';' expected
[javac] public enum Direction { UP, LEFT, RIGHT, DOWN }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MoveAction.java:28: not a statement
[javac] public enum Direction { UP, LEFT, RIGHT, DOWN }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MoveAction.java:28: ';' expected
[javac] public enum Direction { UP, LEFT, RIGHT, DOWN }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MoveAction.java:88: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] Collection<OsmPrimitive> selection = Main.ds.getSelected();
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/MoveAction.java:100: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (Node n : affectedNodes) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/NewAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/OpenFileAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/OpenLocationAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java:5: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java:49: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] Collection<OsmPrimitive> sel = Main.ds.getSelected();
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java:54: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (OsmPrimitive osm : sel) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/PasteAction.java:5: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/PasteAction.java:43: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (Node n : pasteBuffer.nodes) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/PasteAction.java:62: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] HashMap<OsmPrimitive,OsmPrimitive> map = new HashMap<OsmPrimitive,OsmPrimitive>();
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/PasteTagsAction.java:5: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/PasteTagsAction.java:35: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] private void pasteKeys(Collection<Command> clist, Collection<? extends OsmPrimitive> pasteBufferSubset, Collection<OsmPrimitive> selectionSubset) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/PasteTagsAction.java:44: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (String key : m.keySet()) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/PasteTagsAction.java:101: annotations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable annotations)
[javac] @Override public void pasteBufferChanged(DataSet newPasteBuffer) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/PreferencesAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/RedoAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/RenameLayerAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/RenameLayerAction.java:58: annotations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable annotations)
[javac] @Override public void selectInitialValue() {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/ReverseWayAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/ReverseWayAction.java:36: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] final Collection<Way> sel = new LinkedList<Way>();
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/ReverseWayAction.java:49: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (OsmPrimitive osm : Main.ds.getSelected())
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/SaveAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/SaveAction.java:30: annotations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable annotations)
[javac] @Override public File getFile(Layer layer) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/SaveActionBase.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/SaveActionBase.java:234: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (OsmPrimitive osm : layer.data.allNonDeletedPrimitives())
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/SaveAsAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/SaveAsAction.java:28: annotations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable annotations)
[javac] @Override protected File getFile(Layer layer) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/SelectAllAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/SplitWayAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/SplitWayAction.java:47: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] private List<Node> selectedNodes;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/SplitWayAction.java:90: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (OsmPrimitive p : selection)
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/ToggleGPXLinesAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/UnGlueAction.java:4: static import declarations are not supported in -source 1.4
[javac] (use -source 5 or higher to enable static import declarations)
[javac] import static org.openstreetmap.josm.tools.I18n.tr;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/UnGlueAction.java:46: generics are not supported in -source 1.4
[javac] (use -source 5 or higher to enable generics)
[javac] private ArrayList<Node> selectedNodes;
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/UnGlueAction.java:69: for-each loops are not supported in -source 1.4
[javac] (use -source 5 or higher to enable for-each loops)
[javac] for (Way w : Main.ds.ways) {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java:66: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] enum Cursors { crosshair, node, way }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java:44: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] enum Mode { EXTRUDE, rotate, select }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java:59: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] enum Mode { move, rotate, select }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/actions/search/SearchAction.java:31: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] public static enum SearchMode {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/data/coor/LatLon.java:135: warning: unmappable character for encoding ASCII
[javac] * @return String in the format "lat=1.23456??, lon=2.34567??"
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/data/coor/LatLon.java:135: warning: unmappable character for encoding ASCII
[javac] * @return String in the format "lat=1.23456??, lon=2.34567??"
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/data/coor/LatLon.java:135: warning: unmappable character for encoding ASCII
[javac] * @return String in the format "lat=1.23456??, lon=2.34567??"
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/data/coor/LatLon.java:135: warning: unmappable character for encoding ASCII
[javac] * @return String in the format "lat=1.23456??, lon=2.34567??"
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/data/coor/LatLon.java:140: warning: unmappable character for encoding ASCII
[javac] return "lat=" + nf.format(lat()) + "??, lon=" + nf.format(lon()) + "??";
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/data/coor/LatLon.java:140: warning: unmappable character for encoding ASCII
[javac] return "lat=" + nf.format(lat()) + "??, lon=" + nf.format(lon()) + "??";
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/data/coor/LatLon.java:140: warning: unmappable character for encoding ASCII
[javac] return "lat=" + nf.format(lat()) + "??, lon=" + nf.format(lon()) + "??";
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/data/coor/LatLon.java:140: warning: unmappable character for encoding ASCII
[javac] return "lat=" + nf.format(lat()) + "??, lon=" + nf.format(lon()) + "??";
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/data/coor/LatLon.java:29: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] public enum CoordinateFormat {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/data/projection/Lambert.java:111: warning: unmappable character for encoding ASCII
[javac] + "latitudes between 46.1?? and 57?? only.\n"
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/data/projection/Lambert.java:111: warning: unmappable character for encoding ASCII
[javac] + "latitudes between 46.1?? and 57?? only.\n"
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/data/projection/Lambert.java:111: warning: unmappable character for encoding ASCII
[javac] + "latitudes between 46.1?? and 57?? only.\n"
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/data/projection/Lambert.java:111: warning: unmappable character for encoding ASCII
[javac] + "latitudes between 46.1?? and 57?? only.\n"
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/gui/ConflictResolver.java:53: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] public static enum Resolution {MY, THEIR}
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/gui/MapStatus.java:368: warning: unmappable character for encoding ASCII
[javac] angleText.setText(a < 0 ? "--" : Math.round(a*10)/10.0 + " ??");
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/gui/MapStatus.java:368: warning: unmappable character for encoding ASCII
[javac] angleText.setText(a < 0 ? "--" : Math.round(a*10)/10.0 + " ??");
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/gui/MapStatus.java:371: warning: unmappable character for encoding ASCII
[javac] headingText.setText(h < 0 ? "--" : Math.round(h*10)/10.0 + " ??");
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/gui/MapStatus.java:371: warning: unmappable character for encoding ASCII
[javac] headingText.setText(h < 0 ? "--" : Math.round(h*10)/10.0 + " ??");
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/gui/QuadStateCheckBox.java:25: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] public enum State { NOT_SELECTED, SELECTED, UNSET, PARTIAL }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/gui/layer/GpxLayer.java:377: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] enum colorModes { none, velocity, dilution }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java:15: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] public enum WidthMode { ABSOLUTE, PERCENT, OFFSET }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/io/GpxReader.java:43: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] public enum state { init, metadata, wpt, rte, trk, ext, author, link, trkseg }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/io/NmeaReader.java:30: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] public static enum NMEA_TYPE {
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/tools/AudioPlayer.java:28: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] private enum State { INITIALIZING, NOTPLAYING, PLAYING, PAUSED, INTERRUPTED }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/tools/AudioPlayer.java:30: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] private enum Command { PLAY, PAUSE }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/tools/AudioPlayer.java:31: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] private enum Result { WAITING, OK, FAILED }
[javac] ^
[javac] /usr/src/redhat/BUILD/josm-build1511/src/org/openstreetmap/josm/tools/ImageProvider.java:41: warning: as of release 5, 'enum' is a keyword, and may not be used as an identifier
[javac] (use -source 5 or higher to use 'enum' as a keyword)
[javac] public static enum OverlayPosition {NORTHWEST, NORTHEAST, SOUTHWEST, SOUTHEAST}
[javac] ^
[javac] 100 errors
[javac] 34 warnings
RPM build errors:
More information about the fedora-devel-list
mailing list