Changeset 13279 in josm


Ignore:
Timestamp:
2018-01-04T21:02:34+01:00 (7 years ago)
Author:
stoecker
Message:

see #15734 - unify output of icon script to form name:message

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r13242 r13279  
    1919        <property name="test.dir" location="${base.dir}/test"/>
    2020        <property name="src.dir" location="${base.dir}/src"/>
     21        <property name="noJavaFX" value="1"/>
    2122        <property name="build.dir" location="${base.dir}/build"/>
    2223        <property name="dist.dir" location="${base.dir}/dist"/>
  • trunk/geticons.pl

    r13277 r13279  
    169169      if($haveicons{"$1.png"})
    170170      {
    171         print STDERR "File $1 exists twice as .svg and .png.\n";
     171        print STDERR "$1: File exists twice as .svg and .png.\n";
    172172      }
    173173      # check for unwanted svg effects
     
    181181          for my $x (split(/\s*;\s*/, $1))
    182182          {
    183             print STDERR "Style starts with minus for $ifile: $x\n" if $x =~ /^-/;
     183            print STDERR "$ifile: Style starts with minus: $x\n" if $x =~ /^-/;
    184184          }
    185185        }
     
    187187        {
    188188          my $x = $1;
    189           print STDERR "ViewBox has float values for $ifile: $x\n" if $x =~ /\./;
     189          print STDERR "$ifile: ViewBox has float values: $x\n" if $x =~ /\./;
    190190        }
    191191      }
    192192      else
    193193      {
    194         print STDERR "Could not open file $ifile: $1";
     194        print STDERR "$ifile: Could not open file: $1";
    195195      }
    196196    }
     
    203203  if($img =~ /\.(png|svg)/)
    204204  {
    205     print STDERR "File $img does not exist!\n" if(!-f "images/$img");
     205    print STDERR "$img: File does not exist!\n" if(!-f "images/$img");
    206206    delete $haveicons{$img};
    207207  }
    208208  else
    209209  {
    210     print STDERR "File $img(.svg|.png) does not exist!\n" if(!-f "images/$img.png" && !-f "images/$img.svg");
     210    print STDERR "$img(.svg|.png): File does not exist!\n" if(!-f "images/$img.png" && !-f "images/$img.svg");
    211211    delete $haveicons{"$img.svg"};
    212212    delete $haveicons{"$img.png"};
     
    216216for my $img (sort keys %haveicons)
    217217{
    218   print "$img\n";
    219 }
     218  print "$img: Unused image.\n";
     219}
Note: See TracChangeset for help on using the changeset viewer.