# 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. To assist in locating a particular wizard, the text field can be used to show only the wizards that match the entered text.

## 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.
Select All | Check all resources for export. | N/A
Deselect All | Uncheck all resources. | N/A
Check projects for Ant compatibility | Check if the source directories of the projects have cycles or if there are dependencies between them that do not conform with the classpath order and therefore functional Ant buildfiles cannot be created. | On
Create target to compile project using Eclipse compiler | Add an Ant target to the buildfile that will compile the project using the Eclipse compiler. | On
Name for Ant buildfile | The name to use for the generated Ant buildfile. | build.xml
JUnit output directory | The name of the directory where the generated JUnit reports are placed after the build. | junit

## 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>.
Zip file | Export the file in zip format | true
Tar file | Export the file in tar format | true
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
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. | <blank>
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. | <disabled>
Export Options
Include source code | Include the source code in the deployed feature. | <unchecked>
Package as individual JAR archives | Package features and plug-ins as individual JAR archives. This is required for JNLP and update sites. | <unchecked>
Qualifier replacement | Replace a feature's and plug-in's ".qualifier" version segment with the specified value. | <disabled>
Save as Ant script | Generate an ant script to allow command line builds. | <unchecked>
Jar Signing Options
Sign the JAR archives using a keystore | Sign the JAR archives using a keystore. | <unchecked>
Keystore location | The location of the keystore file. Either type the file or use the browse button. | <blank>
Alias | The alias for the keystore entry. | <blank>
Password | The password for the keystore entry. | <blank>
Java Web Start Options
Create JNLP Manifest for the JAR archives | Create a JNLP Manifest for the JAR archives. | <unchecked>
Site URL | The URL used for the codebase attribute in the JNLP Manifest. | <blank>
JRE Version | Minimum J2SE version needed to run the JNLP application. | <blank>

## 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
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. | <blank>
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. | <disabled>
Export Options
Include source code | Include the source code in the deployed plug-in. | <unchecked>
Package plug-ins as individual JAR archives | Package plug-ins and fragments as individual JAR archives. | <unchecked>
Qualifier replacement | Replace a plug-in's ".qualifier" version segment with the specified value. | <disabled>
Save as Ant script | Generate an ant script to allow command line builds. | <unchecked>
Jar Signing Options
Sign the JAR archives using a keystore | Sign the JAR archives using a keystore. | <unchecked>
Keystore location | The location of the keystore file. Either type the file or use the browse button. | <blank>
Alias | The alias for the keystore entry. | <blank>
Password | The password for the keystore entry. | <blank>

## 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>
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

##

## 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>

JAR Export Wizard
Export Javadoc Wizard