Ide/Projects

From wiki.visual-prolog.com

Revision as of 09:42, 12 February 2013 by GalinaTchekmareva (talk | contribs)

IDE Projects

IDE Project Files

To produce an application in Visual Prolog IDE (Integrated Development Environment) you have to use the [..\Project_Settings\Application_Expert.htm Project Settings] utility (the Project | New command) to create the project description file and to create other default project files. A project file <ProjectName>.PRJ6 contains all information required for a project.

IDE also provides the environment file <ProjectName>.ENV for a project. This file stores the some information, like the set of opened windows, etc.

Operations on Project Components

  1. Using the menu commands File | New, File | Add, and Edit | Delete the programmer can:
    • Add new components (object libraries (.lib files), packages, classes, interfaces, dialogs, windows, forms, menus, toolbars, icons, cursors, and bitmaps) to the project.
    • Delete existing components from the project.
    • Edit a given component. (In the Project Tree simply double-click a file or select a file and press Enter.)
  1. Using the [..\Project_Settings\Application_Expert.htm Project Settings] utility the programmer can change some global project settings.
  2. [..\Project_Window_and_Project_Tree\Project_Tree.htm In the Project window] the programmer can see the tree of files used in the project. This tree shows the dependencies and the include structure of the project.

Project Files as IDE Start-up Parameters

The name of a Visual Prolog project file can be supplied to VIP.EXE (Integrated Development Environment executable file) at start-up as a command line parameter. It loads the given project into the opened IDE. Associating the .PRJ6 file extension with Visual Prolog IDE enables double-clicking any *.PRJ6 filename. It runs the IDE and loads this project into the invoked IDE.