- Index

< Previous |  | Next >

# Exporting from Studio

This topic describes how to export a Studio project so that it can be cleanly imported into a colleague's instance of Studio, and how to export resource files.

## Exporting Studio Projects

The best way to transfer an entire Studio project to another instance of Studio is to export it as an archive file. This method preserves Studio metadata, which preserves the StreamBase-enhanced Maven project format on import.

1. Select a project's name in the Project Explorer.

2. Right-click and select Export from the context menu.

3. In the Export dialog, select General → Archive File and click Next.

4. In the next screen, the project you selected in step 1 is preselected.

   1. Clear the check boxes next to any of that project's files that you do not want to export.

   2. In the To archive file field, type the path name of the archive file you want to create, or use the Browse button to navigate to a location.

   3. Select either zip or tar archive format and select the Compress the contents of the file button.

   4. Click Finish.

5. Clear the check boxes next to any of that project's files that you do not want to export.

6. Open the project folder by clicking its grey triangle on the left. Clear the selection of the `target` folder, which is always recreated on the system that accepts this export.

7. Be sure to include the `.project` and `.classpath` files.

8. In the To archive file field, type the path name of the archive file you want to create, or use the Browse button to navigate to a location.

9. Make the following sections in the Options section:

   - Save in zip format (for maximum portability)

   - Compress the contents of the file

   - Create directory structure for files

10. Click Finish.

11. Studio exports your project to the specified archive file.

Use Import → General → Existing Projects into Workspace to import the project archive into another Studio installation.

## Exporting Resource Files

Exporting resources to your file system is a useful way to share them between different StreamBase Studio workspaces or a different instance of Studio on another machine.

To export project resources files to your local file system:

1. In the Project Explorer, select the `src/main/resources` folder or subfolder that contains the resource files of interest.

2. Right-click and select Export from the context menu.

3. In the Export dialog, select General → File System and click Next.

4. In the next panel, the folder you selected in step 1 is preselected.

   1. Clear the check boxes next to any of that folder's files that you do not want to export.

   2. In the To directory field, type the path name of the archive file you want to create, or use the Browse button to navigate to a location.

   3. Click Finish.

5. Studio exports the selected resource files to the specified location.

Back to Top ^