While developing a LuciadFusion customization, you probably want to run your custom code with a LuciadFusion server. You can do so within your Integrated Development Environment (IDE) or with the built-in LuciadFusion server. If you are satisfied with the results, you can deploy the customization in a deployment build of LuciadFusion.

Add customizations to your IDE project

If you developed your custom code in an IDE set up for LuciadFusion development, the IDE automatically includes the compiled code when you run the LuciadFusion server. To learn how to run the LuciadFusion server in an IDE, see Running the LuciadFusion server.

Add customizations to the built-in LuciadFusion server

The LuciadFusion distribution comes with a built-in LuciadFusion server. You can start it by clicking the Fusion Server link in the launcher, or by running the FusionServer script.

To make the built-in LuciadFusion server automatically pick up your customization:

  1. Compile your code and package it in a JAR file.

  2. Place your JAR file in the lib folder.

  3. Start the LuciadFusion server.

Add customizations to a LuciadFusion deployment build

To integrate your customization in a deployment build of the LuciadFusion server, you must place the code in the right directory. The deploy_fusionplatform_service.xml file in the build/fusionplatform directory specifies this directory as the src directory in the root of your project: <property name="src.dir" location="${project.dir}/src"/>

You can either create the src directory and add your custom code, or you can choose a different directory for your custom code. If you select a different directory, you must update the source directory property in deploy_fusionplatform_service.xml before you deploy.

See Adding custom code for more information.