Exporting a Project to an Archive

This is a convenient way to take your project and give it to other people or use it on another computer. If you just want to use it on the same computer, it might be easier to use the export to file system wizard.

To export to an archive, you should open the Export wizard, select Mathematica > Project to Archive File, and click Next. This opens a page that looks like the following.


Now you have to choose the files and folders you want to export and the name and location of the archive file.

Choosing Files and Folders

If your project is organized as a Mathematica application, the Workbench provides a convenient way to select contents for the export. This is with the Auto select tab. With this tab you can select a project and the page shows you what files will be included in the export. An example is shown below.


In this example, the project TestProject has been selected and you can see that it contains two items, TestProject/TestProject.m and TestProject/Kernel/init.m. If you want to include these in the export, you should check the project (or individual items). This is shown in the following.


If your project was not laid out as a Mathematica application, then you could use the Manual select tab to choose files for the export.

Setting Archive Properties

You have to choose the name of the archive file to use before the wizard can finish. In addition you can choose the format and whether the archive uses compression.



If your project contains documentation for the Mathematica help system, the wizard will provide a page to include it in the output.


J/Link Projects

If your project is a J/Link project you will see an extra page in the wizard. The purpose of the extra page is to process any Java source code that you have. In this page you have to select any source folders that you want to include. The destination for the complete jar file also has to be entered. A sample page is shown below.


Completing the Export

When everything is completed in the wizard, you can click Finish and it will carry out the export task.