How Do I Move a User-Defined Component to the Deployment Environment? (Magic xpi 3.x)
If you define a Magic xpi .NET service, a .NET-based user-defined components is created under your project folder on the development machine. If, as recommended, you move the project folder to the deployment machine in their entirety, you will automatically have your user-defined .NET component available for use when you deploy your project. Otherwise, you will have to move the component manually to your project’s folder, on the development machine.
You can use the Component SDK utility to create uniPaaS-based and Java-based user-defined components. The components' files are saved in the <Magic xpi>/User resources/Components folder on the development machine. You will have to move these components manually to the same folder, with the same hierarchy, on the development machine. The jar holding the Java implementation should be copied from the development machine. The jar should be referenced in either the Magic.ini file or the machine’s classpath, or it should be placed in the <Magic xpi>\java\lib folder.
Note:
|
There are two different ways to create uniPaaS user-generated components in Magic xpi. You can use the Component SDK utility, or the uniPaaS Service. If you use the uniPaaS Service, and not the Component SDK utility, the files will be saved under your project's folder (as with .NET-based user-defined components).
|
|