# Applying a patch to an Aptana project or file [edit]

This page describes how to apply a patch to an Aptana project or file.

## Introduction

You can apply a patch to only a single project or file in Aptana. For example, if you wanted to test a patch file on a single JavaScript library, you might want to apply the patch to a single .js file.

## Instructions

To apply a patch to a project or file:

1. In the Project View, right-click the project or file that you want to patch . (You can also right-click the file currently open in the editor to add a patch to that file.)
2. From the context menu, select Team > Apply Patch... to open an Apply Patch pop-up window
3. On the Apply Patch pop-up window, select the file or folder that you want to patch from the project folder tree.
4. In the Select Patch text box below the project tree, specify or browse to the file containing the patch.
5. Click the Next button.
   Aptana displays the effect of applying the patch or displays a message that the patch could not be applied.
6. Click the Finish button to finish applying the patch.

## Related Topics

- Sharing an Aptana project

Retrieved from "http://aptana.com/docs/index.php/Applying_a_patch_to_an_Aptana_project_or_file"

Categories: AptanaHelp | Aptana