Hi all,
    with the rather large change set that just landed in openjfx, there will be 
some developers with a need to convert existing patches for use with the new 
module source paths, or need to back port a patch to the old module source 
paths.

We have provided a set of scripts that can be used to help with this conversion.

Old style to new style (ex: module/graphics ---> module/javafx.graphics)

    bash tools/scripts/fix_patch_8_9 < old_patch > new_patch

New style to old style, likely for back porting (ex: module/javafx.graphics 
---> module/graphics)

    bash tools/scripts/fix_patch_9_8 < old_patch > new_patch

Note:
   * these scripts only modify the "diff paths" and should not modify the 
actual contents of the file changes.
   * testing has validated the rather complex regex in the scripts, but ... 
triple check that the resulting patch is correct!
      Likely the new_patch will fail to apply cleanly if there is an error, but 
check the resulting diffs to make sure.
   * your mileage may vary.

--
David Hill<david.h...@oracle.com>
Java Embedded Development

"A man's feet should be planted in his country, but his eyes should survey the 
world."
-- George Santayana (1863 - 1952)

Reply via email to