# Deploying an AspectJ plug-in

The easiest way to deploy an AspectJ plug-in is through the Export Plug-ins and Fragments with AspectJ Support Wizard.

1. Select File > Export... > Deployable plug-ins and fragments with AspectJ support.
2. Select the plug-ins and fragments you want to export.
3. You can deploy the plug-ins in one of three formats:
   - a single ZIP file whose content can be unzipped into any Eclipse-based product.
   - a directory structure, so the destination of the export operation can be the root of an Eclipse installation.
   - individual JAR archives for an Update site. This option will result in the creation of one JAR per plug-in, and the JARs will be placed in a plugins/ subdirectory of the chosen destination.

Alternatively, plug-ins can be built with an Ant build script. To create a build script for your AspectJ plug-in right click on the plugin.xml file in the package explorer then select PDE Tools > Create Ant Build File with AspectJ Support. This will generate a build.xml file that can be used to build your plug-in.

Creating a new AspectJ plug-in project
Converting a plug-in project to an AspectJ project