Sharing and Archiving Projects

From FDT Documentation

Jump to: navigation, search
001 0007x.png

FDT offers various ways to share and archive your projects. This is nearly essential when working within a team environment and useful when developers want a way to archive their projects while keeping all their settings intact.

FDT 4 now has a powerful and unique feature: by default it creates a project configuration file and saves it into your project. This allows specific project settings to be saved and even transferred between FDT users.

There are two primary ways to share projects.

  1. Importing and Exporting project folders or compressed project folders.
  2. Using a revision control system such as SVN or GIT.

Both can use FDT’s saved Launch Configuration preferences.



Exporting Projects

First thing to do is to make sure the target project, or projects, are open. To open a project that is closed, right click on the project icon within the Flash Explorer and select Open Project or just double click on it Img preview.png.

To start, either chose File>Export Img preview.png from the menu bar or right click within the Flash Explorer and select Export... Img preview.png.

What will appear is the Export Wizard Img preview.png. There are lots of options available, but to share projects, focus on these two options:

  • Archive File
  • File System

Using both is the largely the same. If outputing with Archive File FDT will compress all selected project(s) into one file, whereas exporting with File System will just copy the files and folders to the selected location.

For this example, we're going to export via an Archive File, so select that Img preview.png.

Next, we need to choose which projects to export. Again, if a project is closed within the Flash Explorer, it will not appear within the Export Wizard Img preview.png.

If desired, certain directories can be selectively excluded from export. This is useful if a project contains source code or assets that you may not wish to share Img preview.png.

When ready to export, click Browse... to select a destination Img preview.png. In this case, the export will be to a .ZIP file. Give a name for the .ZIP file Img preview.png. When ready, hit Finish and FDT will export the selected resources Img preview.png.

Importing Projects

Importing projects is even simpler than exporting them. Begin by choosing Import from either the File menu Img preview.png or by right clicking within the Flash Explorer Img preview.png. This time, there is just one option to take note of, and that is Existing Projects into Workspace Img preview.png. Choose that and click Next.

If the projects were exported using the File System option, choose Select root directory Img preview.png. If the projects were exported via Archive File, like earlier in this tutorial, choose Select Archive File Img preview.png. When ready, click Browse... Img preview.png and choose the target file or directory Img preview.png.

When selected, FDT will scan for valid projects and show them here Img preview.png. If none are found, No projects are found to import will be displayed here Img preview.png.

Using A Revision Control System

Svn intro.png

Many of our users have asked us not to ship FDT with any SVN plugin preinstalled since they want to pick their desired plugin themself. The easiest way to install the plugin of your choice is to use the eclipse marketplace and install either Subversive or Subclipse. After doing so you will have to restart FDT and the plugin you installed will ask you to install the SVN connectors as well. This additonal step is nesesarry since the plugins and the connectors are provided by different companies.

Export an Existing Project

When a project already exists in a repository, exporting it is just one click. If a folder contains a valid .project file, FDT will automatically recognize it as a Flash Project when checked out from the repository Img preview.png. When inside of FDT's SVN Repository Exploring perspective, just right click on the project root within the repository and select Check Out Img preview.png. FDT will then automatically download the project to your workspace and add it as an open project.

Create a Project Into A Repository

When you know a project is going to use SVN, FDT makes it easy to begin a project already integrated with a server.

With your repository selected, right click on the repository and select New>Folder... Img preview.png. This is going to be the folder that will become the base directory of your project. Right click on the new folder and select Find/Check Out As.. Img preview.png. When the Check Out As window appears, select Check out as a project configured using the New Project Wizard Img preview.png. FDT will then ask you to choose a wizard to initialize - choose the New Flash Project wizard Img preview.png. FDT's New Flash Project wizard will appear and then proceed to create a project just as you would with any other project.

Your project will then be ready for you to begin working with.

Svn create5.png
Get FDT5