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.
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.
-
Select a project's name in the Project Explorer.
-
Right-click and select Export from the context menu.
-
In the Export dialog, select
> and click . -
In the next screen, the project you selected in step 1 is preselected.
-
Clear the check boxes next to any of that project's files that you do not want to export.
-
In the To archive file field, type the path name of the archive file you want to create, or use the button to navigate to a location.
-
Select either zip or tar archive format and select the Compress the contents of the file button.
-
Click
-
-
Clear the check boxes next to any of that project's files that you do not want to export.
-
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. -
Be sure to include the
.project
and.classpath
files. -
In the To archive file field, type the path name of the archive file you want to create, or use the button to navigate to a location.
-
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
-
-
Click
-
Studio exports your project to the specified archive file.
Use
> > to import the project archive into another Studio installation.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:
-
In the Project Explorer, select the
src/main/resources
folder or subfolder that contains the resource files of interest. -
Right-click and select Export from the context menu.
-
In the Export dialog, select
> and click . -
In the next panel, the folder you selected in step 1 is preselected.
-
Clear the check boxes next to any of that folder's files that you do not want to export.
-
In the To directory field, type the path name of the archive file you want to create, or use the button to navigate to a location.
-
Click
-
-
Studio exports the selected resource files to the specified location.