Creating a Maple launch configuration

When you choose Run > Run As > Maple to launch your file, you are running your file using a generic Maple launch configuration that derives most of the launch parameters from your Maple project and your workbench preferences.
In some cases, you will want to override the derived parameters or specify additional arguments.

You do this by creating your own Maple launch configuration.

  1. Select Run > Run Configurations... from the workbench menu bar. This opens a dialog that lets you create, modify, and delete launch configurations of different types.
  2. Select  Maple in the left hand list of launch configuration types, and press the New button in the toolbar. This will create a new launch configuration for a Maple application. The tabs on the right hand side allow you control specific aspects of the launch.
    • The Maple tab defines the project to be launched and Maple Environment used to run the application. Enter the name of the project containing the file to launch in the project field. You can choose Default Environments radio button or select a Maple Environment from the already defined environments.

    • The Arguments tab defines the arguments to be passed to the Maple including Maple worksheet (Command Line, Classic, Standard). You can also specify the working directory to be used by the launched application.

    • The Libname tab defines the location of class files used when running an application. By default, the user and additional Maple libraries are derived from the associated project's libname. You may override these settings here.

    • The Environment tab defines the environment variable values to use when running a Maple application. By default, the environment is inherited from the Eclipse runtime. You may override or append to the inherited environment. Variables specified in the tab always replace values in the underlying native environment. However, when "Append environment to native environment" is selected the launched environment is seeded with the native environment, after which variables in the tab replace (existing variables) or augment the set of environment variables. When "Replace native environment with specified environment" is selected, the launched environment is comprised only of the variables specified in the tab.