Skip to content

Port Existing Project

Paweł Hofman edited this page Jan 9, 2015 · 4 revisions

The most important feature, when you start something new - is to move your old stuff into the new realm. Thankfully, you can quickly transfer current projects from Momentics into Visual Studio with just few clicks.

This guide will quickly explain, how to achieve it effortlessly.

  1. From BlackBerry menu, click "Import Momentics Project..."

BlackBerry MainMenu

It will ask you about the original project's location. Navigate and open the .cproject or .project, which you want to convert to Visual Studio's .vcxproj project file.

  1. Confirm files added to Visual Studio project

The wizard scans for files that belong to the Momentics' project, name, defines, referenced libraries and additional headers search folders and suggests the transfer. Uncheck any of the file on the list, to avoid that single transfer operation to happen. Right-clicking will show a menu, which operates on folders. If option to copy from source project has been specified, than the whole source-tree will be duplicated as in original location.

There are two possibilities, where to place imported files:

  • inside totally new project (Cascades or Native Core)
  • or inside already existing project from the currently opened solution.

In this second case, all duplicated files will be silently overwritten (if copying was checked) or skipped (if not checked).

Select the one that matches best your needs. Also, new project may be created in the same folder, where original Momentics project is. Otherwise it will be created as a subfolder next to the opened solution (or if solution doesn't exist yet, inside the default location for new projects of Visual Studio).

The new project

Import Summary

This window displays only files from subfolders of specified project location.

Note: copying files into target project will silently overwrite all duplicated files.

  1. Enjoy ready to build-and-deploy project

Solution is being updated and it internally reflects the directory structure of source-code.

Imported Project

And you are DONE!!

Note: The original Momentics project stays unchanged.

Clone this wiki locally