Maple Build Path

The options in this page indicate the build path settings for a Maple project. You can reach this page through the project properties (Project > Properties > Maple Build Path) from the context menu on a created project or the File menu of the workbench.

The build class path is a list of paths visible to the compiler when building the project.

Source tab

Source folders are top-level folders in the project hierarchy. They are the root of .maple source files. The builder will translate the source files to the target/result Maple archive (.mla).

Source folders allow to structure the project, for example to separate test from the application in two source folders.

Maple Build Path - Source tab

Source folder options:

Option Description
Add Folder Creates a new folder to contain source
Remove Removes the selected folders from the class path. This does not delete the folders nor their contents.

At the bottom of this page, the Default output folder field allows you to enter a path to a folder path where the target/result Maple archive for this project will reside. Use Browse to select an existing location from the current project.

Projects tab

In the Required projects on the build path list, you can add project dependencies by selecting other Maple projects to add to the build path for this new project.

Adding a required project adds all its source folder entries to the new project.

The projects selected here are automatically added to the referenced projects list. The referenced project list is used to determine the build order. A project is always build after all its referenced projects are built.

Maple Build Path - Projects tab
Action Description
Add Project Add another project in the workspace to the build path of this project.
Remove Removes the selected required projects from the list.

Libraries tab

On this page, you can add libraries to the build path.

By default, the library list contains an entry representing the Maple archive library. This entry points to the Maple Environment selected as the default Maple Environment. The default Maple Environment is configured in the Maple > Environments preferences page.

Maple Build Path - Libraries tab
Libraries tab options:
Option Description
Add Environment Allows to add a Maple Environment.
Add Archive Allows you to navigate the workbench hierarchy and select Archive files to add to the build path.
Add External Archive Allows you to navigate the file system (outside the workbench) and select Archive files to add to the build path.
Add Folder Allows to navigate the workbench hierarchy and select a folder containing Maple archives for the build path.
Add External Folder Allows to navigate the file system (outside the workbench) and select a folder containing Maple archives for the build path. The selection dialog also allows you to create a new folder.
Remove Removes the selected element from the build path. This does not delete the resource.

Order tab

In the Build Path order list, you can click the Up and Down buttons to move the selected path entry up or down in the build path order for this new project.

Maple Build Path - Libraries tab