Salesforce

Project Deployment (Magic xpi 4.14)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Project Deployment (Magic xpi 4.14)

Projects Folder Location

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

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.

Starting Projects from the Command Line (Optional)

Projects can be started from the command line. To start a project from the command line:

  1. Go the Start link in the project’s folder.

  2. Right-click and select the Properties option.

  3. 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"

  4. 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.

  5. Click OK.

Running the Same Project Under Different Names

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

Reference
Attachment 
Attachment