# Export wizard

This wizard help you export resources from the Workbench.

When the Export wizard first comes up, you must choose what type of export to do:

## Ant Buildfiles

Generates Ant buildfiles based on the configuration of the Java projects.

Export - Ant Buildfiles Options
Option | Description | Default
--- | --- | ---
Select the projects to use to generate the buildfiles | The project (and resources within that project) to use to generate the buildfiles. | Java projects selected.

## Archive File

If you choose this option, you will export files to an archive file.

Export - Archive File Options
Option | Description | Default
--- | --- | ---
Select resources to export | The project (and resources within that project) to export to an archive. | The project holding the selected resource
Select Types... | Dialog to select which file types to export. Use this to restrict the export to only certain file types. | N/A
Select All | Check off all resources for export. | N/A
Deselect All | Uncheck all resources. | N/A
Archive File | The path and name of an archive file into which the resources will be exported. Type the path, select a previous path from the drop down list, or Browse to select a path and file name on the file system. | The archive file of the previous export, or <blank>.
Compress the contents of the file | Compresses the contents (resources selected to be exported) in the archive that is created. | On
Overwrite existing file without warning | If the specified archive already exists in the file system, you will be prompted to overwrite the file. If you do not want to be prompted turn this option on. | Off
Create directory structure for files | Create hierarchy (folder) structure in the file system as it exists in the Workbench. | Off
Create only selected directories | Create hierarchy (folder) structure in the file system only for selected folders. | On

## Deployable Features

Export the selected features in a form suitable for deploying in an Eclipse product.

Export - Deployable Feature Options
Option | Description | Default
--- | --- | ---
Available Features | The features in your workspace available for export. | Features selected.
Select All | Select all of the features listed. |
Deselect All | Clear all of the features listed. |
Working Set | Select a defined working set of features. |
Export Destination
Archive File | Export to this archive file. Type the file, select a previous export file from the drop down list, or Browse to select a file. | <blank>
Directory | Export to this directory on the file system. Type the path, select a previous export path from the drop down list, or Browse to select a path. | <disabled>
Compiler Options
Source Compatibility | The Java source compatibility level. | <1.3>
Generated .class files compatibility | The Java binary compatibility level. | <1.2>
Export Options
Include source code | Include the source code in the deployed feature. | <unchecked>
Package features as individual JAR archives | Package features and plug-ins as individual JAR archives. This is required for JNLP and update sites. | <unchecked>
Save as Ant script | Generate an ant script to allow command line builds. | <unchecked>

## Deployable Plug-ins and Fragments

Export the selected plug-ins and/or fragments in a form suitable for deploying in an Eclipse product.

Export - Deployable Plug-ins and Fragments Options
Option | Description | Default
--- | --- | ---
Available Plug-ins and Fragments | The plug-ins and fragments in your workspace available for export. | Plug-ins selected.
Select All | Select all of the plug-ins listed. |
Deselect All | Clear all of the plug-ins listed. |
Working Set | Select a defined working set of plug-ins. |
Export Destination
Archive File | Export to this archive file. Type the file, select a previous export file from the drop down list, or Browse to select a file. | <blank>
Directory | Export to this directory on the file system. Type the path, select a previous export path from the drop down list, or Browse to select a path. | <disabled>
Compiler Options
Source Compatibility | The Java source compatibility level. | <1.3>
Generated .class files compatibility | The Java binary compatibility level. | <1.2>
Export Options
Include source code | Include the source code in the deployed feature. | <unchecked>
Package plug-ins as individual JAR archives | Package plug-ins and fragments as individual JAR archives. | <unchecked>
Save as Ant script | Generate an ant script to allow command line builds. | <unchecked>

## Eclipse Product

Export an Eclipse product.

Export - Eclipse Product Options
Option | Description | Default
--- | --- | ---
Product Configuration
Configuration | The configuration to create the product. Type the configuration, select a previous configuration from the drop down list, or Browse to select a configuration. | <blank>
Root directory |  | eclipse
Synchronization
Synchronize before exporting | Synchronization of the product configuration with the product's defining plug-in ensures that the plug-in does not contain stale data. | <checked>
Export Destination
Archive File | Export to this archive file. Type the file, select a previous export file from the drop down list, or Browse to select a file. | <blank>
Directory | Export to this directory on the file system. Type the path, select a previous export path from the drop down list, or Browse to select a path. | <disabled>
Compiler Options
Source Compatibility | The Java source compatibility level. | <1.3>
Generated .class files compatibility | The Java binary compatibility level. | <1.2>
Export Options
Include source code | Include the source code. | <unchecked>

## File System

If you choose this option, you will export files to the file system.

Export - File System Options
Option | Description | Default
--- | --- | ---
Select resources to export | The project (and resources within that project) to export to the file system. | The project holding the selected resource
Select Types... | Dialog to select which file types to export. Use this to restrict the export to only certain file types. | N/A
Select All | Checks off all resources for export. | N/A
Deselect All | Uncheck all resources. | N/A
Directory | The directory on the file system into which the resources will be exported. Type the path, select a previous export path from the drop down list, or Browse to select a path. | The directory of the last export, or <blank>
Overwrite existing files without warning | Determines whether exporting a resource should silently overwrite a resource which already exists in the file system. If this option is off, you will be prompted before a given file is overwritten, in which case you can either overwrite the file, skip it, or cancel the export. | Off
Create directory structure for files | Create hierarchy (folder) structure in the file system as it exists in the Workbench. | Off
Create only selected directories | Create hierarchy (folder) structure in the file system only for selected folders. | On

## Jar File

If you choose this option, you will export files to an JAR file.

Export - JAR File Options
Option | Description | Default
--- | --- | ---
Select packages to export | The project (and packages within that project) to export to a JAR file. | The project holding the selected resource
Export generated class files and resources | Export the generated bytecodes (.class files) and resource files contained in the selected packages and projects. | On
Export java source files and resources | Export the java source files (.java) and resource files contained in the selected packages and projects. | Off
Jar File | The path and name of a JAR file into which the resources will be exported. Type the path or Browse to select a path and file name on the file system. | The JAR file of the previous export, or <blank>.
Compress the contents of the JAR file | Compresses the contents (resources selected to be exported) in the JAR file that is created. | On
Overwrite existing files without warning | If the specified JAR file already exists on the file system, you will be prompted to overwrite the file. If you do not want to be prompted turn this option on. | Off

## Javadoc

Generate Javadocs

Export - Generate Javadoc Options
Option | Description | Default
--- | --- | ---
Select types for which Javadoc will be generated | In the list, check or clear the boxes to specify exactly the types that you want to export to the JAR file. This list is initialized by the workbench selection. Only one project can be selected at once as only one project's classpath can be used at a time when running the Javadoc tool. |
Create Javadoc for members with visibility | Private: All members will be documented Package: Only members with default, protected or public visibility will be documented Protected: Only members with protected or public visibility will be documented Public: Only members with public visibility will be documented (default) |
Use Standard Doclet | Start the Javadoc command with the standard doclet (default) Destination: select the destination to which the standard doclet will write the generated documentation. The destination is a doclet specific argument, and therefore not enabled when using a custom doclet. |
Use Custom Doclet | Use a custom doclet to generate documentation Doclet name: Qualified type name of the doclet Doclet class path: Classpath needed by the doclet class |

## Preferences

Export preferences to the local file system.

Export - Preference Options
Option | Description | Default
--- | --- | ---
Export All | Export all of the preferences in this session. | <checked>
Choose specific preferences to export | Select preferences from this session to export, like CVS repository preferences. | <disabled>
Select All | Select all of the available preferences. |
Deselect All | Clear all of the available preferences. |
To preference file | A file on the file system to store the preferences. Type the file, select a previous export file from the drop down list, or Browse to select a file. | <blank>
Overwrite existing files without warning | Overwrite a pre-existing file. | <unchecked>

## Team Project Set

Exports a description of the repository and version control information for a set of projects. This allows you to synchronize those projects correctly in a different workspace.

Export - Team Project Set Options
Option | Description | Default
--- | --- | ---
Select projects | The project(s) to export to the team project set file. | The selected projects
File name | The path and name of the file to export to. | <blank>