From cf958ce9319a82de559b004803642933a385ad7a Mon Sep 17 00:00:00 2001 From: Alexey Ushakov Date: Tue, 31 Jan 2023 18:25:30 +0700 Subject: [PATCH] JBR-5279 restore saving jbr native symbols bin/server/jvm.pdb --- jb/project/tools/windows/scripts/mkimages_aarch64.sh | 4 +++- jb/project/tools/windows/scripts/mkimages_x64.sh | 4 +++- jb/project/tools/windows/scripts/mkimages_x86.sh | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/jb/project/tools/windows/scripts/mkimages_aarch64.sh b/jb/project/tools/windows/scripts/mkimages_aarch64.sh index 56ec36a50c81..8db37aa8f5c4 100644 --- a/jb/project/tools/windows/scripts/mkimages_aarch64.sh +++ b/jb/project/tools/windows/scripts/mkimages_aarch64.sh @@ -73,7 +73,9 @@ function create_image_bundle { sed 's/JBR/JBRSDK/g' $__root_dir/release > release mv release $__root_dir/release cp $IMAGES_DIR/jdk/lib/src.zip $__root_dir/lib - cp $IMAGES_DIR/jdk/bin/*.pdb $__root_dir/bin + for dir in $(ls -d $IMAGES_DIR/jdk/*); do + rsync -amv --include="*/" --include="*.pdb" --exclude="*" $dir $__root_dir + done copy_jmods "$__modules" "$__modules_path" "$__root_dir"/jmods fi } diff --git a/jb/project/tools/windows/scripts/mkimages_x64.sh b/jb/project/tools/windows/scripts/mkimages_x64.sh index 2b471b7d2e0d..3554c4bb2f26 100755 --- a/jb/project/tools/windows/scripts/mkimages_x64.sh +++ b/jb/project/tools/windows/scripts/mkimages_x64.sh @@ -66,7 +66,9 @@ function create_image_bundle { sed 's/JBR/JBRSDK/g' $__root_dir/release > release mv release $__root_dir/release cp $IMAGES_DIR/jdk/lib/src.zip $__root_dir/lib - cp $IMAGES_DIR/jdk/bin/*.pdb $__root_dir/bin + for dir in $(ls -d $IMAGES_DIR/jdk/*); do + rsync -amv --include="*/" --include="*.pdb" --exclude="*" $dir $__root_dir + done copy_jmods "$__modules" "$__modules_path" "$__root_dir"/jmods fi } diff --git a/jb/project/tools/windows/scripts/mkimages_x86.sh b/jb/project/tools/windows/scripts/mkimages_x86.sh index 03235076749c..337673c672bc 100755 --- a/jb/project/tools/windows/scripts/mkimages_x86.sh +++ b/jb/project/tools/windows/scripts/mkimages_x86.sh @@ -62,7 +62,9 @@ function create_image_bundle { sed 's/JBR/JBRSDK/g' $__root_dir/release > release mv release $__root_dir/release cp $IMAGES_DIR/jdk/lib/src.zip $__root_dir/lib - cp $IMAGES_DIR/jdk/bin/*.pdb $__root_dir/bin + for dir in $(ls -d $IMAGES_DIR/jdk/*); do + rsync -amv --include="*/" --include="*.pdb" --exclude="*" $dir $__root_dir + done copy_jmods "$__modules" "$__modules_path" "$__root_dir"/jmods fi }