How Do I Move a User-Defined Component to the Deployment Environment? (Magic xpi 4.6)
If you define a Magic xpi .NET utility, 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 Connector Builder to create Java-based user-defined components. The components' files are saved in the <Magic xpi>\Runtime\addon_connectors 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:
|
To prevent users from modifying the user-defined component by using the Connector Builder, send the users the connector's folder without the metadata.xml file.
|