Last updated on
Apr 27, 2021 06:57:18 AM GMT
Issue
When launching Flash Builder, you see a message indicating issues with your current workspace. You see this warning message if you are using a workspace that was created with a previous version of Flash Builder.
It is recommended that you migrate your projects to a new workspace, and launch Flash Builder with the newly created workspace.
Solution
Migrate projects to a new workspace
To migrate your project from your current workspace to a new workspace, follow these steps:
1. Export the project as an FXP file
-
In Flash Builder, select File > Export Flash Builder Project.
-
In the Export Flex Project wizard, select the project to export from your current workspace. All available projects for export are listed in the Project pop-up menu.
-
Browse to the location on your file system to which you want to export the FXP file.
-
(Optional) Select Enable Validate Project compilation to confirm that your project compiles without errors.
Note: You can export the project even if there are errors in the project. -
Click Finish.
2. Create a workspace
-
Select File > Switch Workspace > Other.
-
Enter a directory name for the workspace.
-
Click Copy Settings and select Workbench Layout and Working Sets to copy the workbench settings to the new workspace.
-
Click OK. Flash Builder launches with the new workspace.
3. Import the project from the exported FXP file
-
From the Flash Builder menu, select File > Import.
-
In the Import Project wizard, select Flash Builder > Flash Builder Project, and click Next.
-
Browse to the exported FXP file.
-
Specify the Import method:
- Import New Copy Of The Project: Flash Builder appends a numeric identifier to the project name. Previous versions of the project are preserved.
- Overwrite existing project: Select the project to overwrite. The previous version of the project is permanently removed.
-
Click Finish.
(Optional) Migrate workspace settings
You can also migrate your project preferences, launch configurations, and breakpoints from your old workspace to your new workspace by using a combination of export and import operations, as follows:
-
Export project preferences, breakpoints, and launch configurations from your old workspace by selecting the project in the Project Explorer, and selecting File > Export.
-
In the Export wizard, do the following:
Export project preferences-
Select General > Preferences, and click Next.
-
Select the project preferences that you want to export.
-
Specify the name and location of the preferences export file (.epf filename extension).
-
Click Finish.
Export breakpoints-
Select Run/Debug > Breakpoints, and click Next.
-
Select the breakpoints that you want to export.
-
Specify the name and location of the breakpoint export file (.bkpt filename extension).
-
Click Finish.
Export launch configurations-
Select Run/Debug > Launch Configurations, and click Next.
-
Select the launch configurations that you want to export.
-
Specify a location for the exported launch configurations (Flash Builder automatically appends the .launch suffix). Click Finish.
-
-
Import project preferences, breakpoints, and launch configurations into the new workspace by selecting the project in the Project Explorer, and selecting File > Import.
-
In the Import wizard, do the following:
Import project preferences-
Select General > Preferences, and click Next.
-
Browse to the preferences file (.epf filename extension) on your file system to which you exported the project preferences.
-
Select the file.
-
Click Finish.
Import breakpoints-
Select Run/Debug > Breakpoints, and click Next.
-
Browse to the breakpoints file (.bkpt filename extension) on your file system to which you exported the breakpoints.
-
Select the file.
-
Click Finish.
Import launch configurations-
Select Run/Debug > Launch Configurations, and click Next.
-
Browse to the folder on your file system to which you exported the launch configurations.
-
Click Finish.
-