Skip to content

Commit

Permalink
Remove all existing native *swt* libraries before copying new
Browse files Browse the repository at this point in the history
If make_common.mak changes, code in 'Check if SWT-binaries build is
needed' stage, that is supposed to delete native libraries, simply
doesn't delete anything as it relies on getSWTVersions() that reads
(changed) versions.

Instead, try to delete every *swt* library file stored in git before
copying freshly compiled ones during 'Collect and sign binaries' stage.

Fixes #1095
  • Loading branch information
iloveeclipse committed Mar 11, 2024
1 parent d80b326 commit f739f8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Expand Up @@ -263,6 +263,7 @@ pipeline {
done
fi
fi
rm "${WORKSPACE}/eclipse.platform.swt/binaries/org.eclipse.swt.${PLATFORM}/*swt*.$binariesExtension"
cp *.$binariesExtension "${WORKSPACE}/eclipse.platform.swt/binaries/org.eclipse.swt.${PLATFORM}/"
'''
}
Expand Down

0 comments on commit f739f8e

Please sign in to comment.