Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4960379

file version is hardcoded

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      Name: afR10219 Date: 11/26/2003


      3559 files have no correct %W% %E% mark.
      See the file attached.
      ======================================================================

      Name: afR10219 Date: 12/02/2003


      The report attached applies to 1.4.2_02 workspace snapshot. I assume it=20
      applies for newer workspaces as well since when the file file version bec=
      omes=20
      hardcoded due to inaccurate editing it rarely turns back without any effo=
      rt.

      Anyway, the following script could be applied to any workspace (eg 1.5.0)=
       to=20
      check where the problems are.

      #!/bin/sh -e

      tmp_dir=3D/tmp/$$
      mkdir -p $tmp_dir

      tmp_file=3D$tmp_dir/edit


      find ${1:-.} -name 's.*.java' -o -name 's.*.properties' | while read file
        do
        sccs get -k -G$tmp_file $file >/dev/null
        grep '%W%.*%E%' $tmp_file >/dev/null || echo $file
        rm $tmp_file
      done

      rmdir $tmp_dir

      My particular interest is to have a doclet part in a good shape because I=
      =20
      support a derived product.
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            ohair Kelly Ohair (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: