Project Deployment (Magic xpi 4.14)
It is recommended that you deploy Magic xpi projects to a shared folder, accessible by all application servers. Although a shared folder is potentially a single point-of-failure, with today’s storage systems this type of resource is usually highly redundant by itself.
Deploying a project involves copying each project’s folder from the development/staging environment to the designated shared folder location. For projects with connections to external resources (such as databases or enterprise systems), it might be necessary to edit the configuration using the Settings dialog box's Resources or Services sections with the relevant server connections and credentials.
Projects can be started from the command line. To start a project from the command line:
-
Go the Start link in the project’s folder.
-
Right-click and select the Properties option.
-
Find the Target field. The text in the field will look something like this:
"<Magic xpi installation>\Runtime\MgxpiCmdl.bat" start-servers -startup-config-file "<Magic xpi installation>\Runtime\projects\Project1\start.xml"
-
This path points to a specific start.xml file that is residing under the project. Change the path to load a different start.xml file whose configurations can load several projects.
-
Click OK.
The older methods of renaming and copying the project files have been discontinued. Since version: 4.5
Only the Save Copy As option available in the Studio menu is supported and recommended otherwise it may result in project corruption.
Since version: 4.1