From ab56a0128cf8a437daa3404c8550e347aaed5eaa Mon Sep 17 00:00:00 2001 From: Cornel Eberle Date: Wed, 22 Aug 2018 17:51:12 +0200 Subject: [PATCH] Fix file extension to upper case since the Ant checksum task creates a file like *.MD5 --- .../mpern/sap/commerce/ccv1/CloudServicesPackagingPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/mpern/sap/commerce/ccv1/CloudServicesPackagingPlugin.java b/src/main/java/mpern/sap/commerce/ccv1/CloudServicesPackagingPlugin.java index 19400f6..01bdf2c 100644 --- a/src/main/java/mpern/sap/commerce/ccv1/CloudServicesPackagingPlugin.java +++ b/src/main/java/mpern/sap/commerce/ccv1/CloudServicesPackagingPlugin.java @@ -136,7 +136,7 @@ private void setupPackaging(Project p, Task buildPackage, PackagingExtension ext args.put("file", zipPackage.getArchivePath()); args.put("format", "MD5SUM"); p.getAnt().invokeMethod("checksum", args); - Path resolve = zipPackage.getDestinationDir().toPath().resolve(zipPackage.getArchiveName() + ".md5"); + Path resolve = zipPackage.getDestinationDir().toPath().resolve(zipPackage.getArchiveName() + ".MD5"); Path target = zipPackage.getDestinationDir().toPath().resolve(zipPackage.getBaseName() + ".md5"); try { Files.delete(target);