Nav
You are viewing an older version of this section. Click here to navigate to the latest version.

Adding and Removing User Libraries

Anypoint Studio leverages http://www.eclipse.org/[Eclipse’s] capacity to add and remove user libraries. As an organized set of .jar files, a user library provides an easy way to reference files across projects. Rather than individually adding files to a project, create a user library to store .jar files, then add the library in your project’s build path.

Adding User Libraries

Included within Anypoint Studio are several libraries available to add to, then reference in your projects. Follow the procedure below to add a user library to your Studio project.

  1. In the Package Explorer pane in Studio, right-click the name of your project.

  2. Select Build Path, then Add Libraries…​

    build_path

  3. In the Add Library wizard, click to select the user library you wish to add, then click Next.

    add_libraries

  4. Follow the wizard’s instructions to complete any required configurations or settings for the user library, then click Finish.

Removing User Libraries

Follow the procedure below to remove a user library from your Studio project.

  1. In the Package Explorer pane in Studio, right-click the name of your project.

  2. Select Build Path, then Configure Build Path…​

    build_path2

  3. In the Properties panel, select Java Build Path in the left navigation bar, then click the Libraries tab.

    libraries_tab

  4. Click to select the user library you wish to remove, then click Remove.

  5. Click OK to save your user library changes.