From 390b817554006e6bb5eb51a709495c91944835ac Mon Sep 17 00:00:00 2001 From: Kamil Smardzewski Date: Wed, 19 Jul 2017 21:13:28 +0200 Subject: [PATCH] Use original filenames when deploying Mule apps and modules --- .../launcher/configuration/runner/MuleRunnerCommandLine.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mule-esb-plugin/src/main/java/org/mule/tooling/esb/launcher/configuration/runner/MuleRunnerCommandLine.java b/mule-esb-plugin/src/main/java/org/mule/tooling/esb/launcher/configuration/runner/MuleRunnerCommandLine.java index 1ac78a3..7f5a643 100644 --- a/mule-esb-plugin/src/main/java/org/mule/tooling/esb/launcher/configuration/runner/MuleRunnerCommandLine.java +++ b/mule-esb-plugin/src/main/java/org/mule/tooling/esb/launcher/configuration/runner/MuleRunnerCommandLine.java @@ -158,9 +158,9 @@ private void deployApp() throws ExecutionException { try { if (MuleConfigUtils.isMuleDomainModule(m)) - FileUtil.copy(file, new File(domains, m.getName() + ".zip")); + FileUtil.copy(file, new File(domains, file.getName())); else - FileUtil.copy(file, new File(apps, m.getName() + ".zip")); + FileUtil.copy(file, new File(apps, file.getName())); //FileUtil.copy(file, new File(apps, model.getProject().getName() + ".zip")); } catch (IOException e) { e.printStackTrace();