<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Multiple deploy process modules by a single zip file</title><link>https://answers.axonivy.com/questions/4306/multiple-deploy-process-modules-by-a-single-zip-file</link><description>&lt;p&gt;Dear Ivy team. 
At the moment, we're using Ivy v 7.0.11 and we need to deploy multiple process modules to the specific Ivy application by using "File based deployment" approach (&lt;a href="http://developer.axonivy.com/doc/7.0.11/EngineGuideHtml/administration.html#administration.deployment)."&gt;http://developer.axonivy.com/doc/7.0.11/EngineGuideHtml/administration.html#administration.deployment).&lt;/a&gt; It worked well when we only deploy single iar file. But when we create a zip file that contains multiple iars file inside, it got the problem.&lt;/p&gt;
&lt;p&gt;Our zip file content:
&lt;img alt="alt text" src="http://cloud.screenpresso.com/NDJXe/2020-01-02_13h42_30.png"&gt;&lt;/p&gt;
&lt;p&gt;Deployment error log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Fatal error during deploying of project 'app.zip' to application 'Application'
java.lang.NullPointerException
    at ch.ivyteam.ivy.deployment.ProjectDeploymentValidator.isLibraryMissing(ProjectDeploymentValidator.java:165)
    at ch.ivyteam.ivy.deployment.ProjectDeploymentValidator.prepareIvyProject(ProjectDeploymentValidator.java:146)
    at ch.ivyteam.ivy.deployment.ProjectDeploymentValidator.prepareIvyProject(ProjectDeploymentValidator.java:82)
    at ch.ivyteam.ivy.deployment.internal.auto.AutoProjectDeployer.validate(AutoProjectDeployer.java:81)
    at ch.ivyteam.ivy.deployment.internal.auto.AutoProjectDeployer.deploy(AutoProjectDeployer.java:46)
    at ch.ivyteam.ivy.deployment.internal.auto.DeploymentDirectoryScanner.handleFile(DeploymentDirectoryScanner.java:85)
    at ch.ivyteam.ivy.deployment.internal.auto.DeploymentDirectoryScanner.fileCreated(DeploymentDirectoryScanner.java:75)
    at ch.ivyteam.ivy.deployment.internal.auto.ScannerThread.handleEvent(ScannerThread.java:191)
    at ch.ivyteam.ivy.deployment.internal.auto.ScannerThread.scanForFiles(ScannerThread.java:164)
    at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1310)
    at ch.ivyteam.ivy.deployment.internal.auto.ScannerThread.run(ScannerThread.java:144)
    at ch.ivyteam.ivy.deployment.internal.auto.ScannerThread.access$0(ScannerThread.java:140)
    at ch.ivyteam.ivy.deployment.internal.auto.ScannerThread$1.run(ScannerThread.java:134)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So is there any way to deploy multiple process modules by a single zip file with Ivy 7.0.11?
Waiting for your response and many thank for your help&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/4306/multiple-deploy-process-modules-by-a-single-zip-file" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 03 Jan 2020 02:46:55 -0500</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/4306/multiple-deploy-process-modules-by-a-single-zip-file/4307</link><description>&lt;p&gt;Deploying multiple files at one in one application is an IVY 8.0 feature.&lt;/p&gt;
&lt;p&gt;With 7.0.X you have to stick to 'one-project-at-a-time' deployments. However, if you use the maven project-build-plugin you could run a build for your whole app, and instruct each project to include a deployment step. So you get all projects deployed in the right order with minimal effort.&lt;/p&gt;
&lt;p&gt;The 7.0 docs are here:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://developer.axonivy.com/doc/7.0.14/DesignerGuideHtml/ivy.concepts.html#ivy-ci"&gt;http://developer.axonivy.com/doc/7.0.14/DesignerGuideHtml/ivy.concepts.html#ivy-ci&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://axonivy.github.io/project-build-plugin/release/7.0/index.html"&gt;http://axonivy.github.io/project-build-plugin/release/7.0/index.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;But indeed, full app deployments is what you really want. And with 8.0 we improved the deployment chain in many ways. So raise your voice for an 8.0 migration in your project. :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Fri, 03 Jan 2020 02:46:55 -0500</pubDate><guid>https://answers.axonivy.com/questions/4306/multiple-deploy-process-modules-by-a-single-zip-file/4307</guid></item></channel></rss>