Sharing and Archiving Projects
From FDT Documentation
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.
- Importing and Exporting project folders or compressed project folders.
- Using a revision control system such as SVN or GIT.
Both can use FDT’s saved Launch Configuration preferences.
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 .
- 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.
When ready to export, click Browse... to select a destination . In this case, the export will be to a .ZIP file. Give a name for the .ZIP file . When ready, hit Finish and FDT will export the selected resources .
Importing projects is even simpler than exporting them. Begin by choosing Import from either the File menu or by right clicking within the Flash Explorer . This time, there is just one option to take note of, and that is Existing Projects into Workspace . Choose that and click Next.
If the projects were exported using the File System option, choose Select root directory . If the projects were exported via Archive File, like earlier in this tutorial, choose Select Archive File . When ready, click Browse... and choose the target file or directory .
Using A Revision Control System
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 . When inside of FDT's SVN Repository Exploring perspective, just right click on the project root within the repository and select Check Out . 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... . 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.. . When the Check Out As window appears, select Check out as a project configured using the New Project Wizard . FDT will then ask you to choose a wizard to initialize - choose the New Flash Project wizard . 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.