Importing and Exporting Data Sources

To simplify the process of sharing data source configurations, Jaspersoft Studio provides a mechanism to import and export data source definitions.

To export one or more data sources, right-click the data adapter and choose Export to File. Jaspersoft Studio prompts you to name the file and select the destination for the exported information. A simple XML file is created.

Export to File Dialog

Any file exported with Jaspersoft Studio can also be imported. Right-click in the Repository view, and choose Import from Workspace. Because exported files can contain more than one data source or connection definition, the import process adds all the data sources found in the specified file to the current list.

If a duplicated data source name is found during the import, Jaspersoft Studio appends a number to the imported data source name.