Difference between revisions of "VMS IDE Project Explorer"

From VSI OpenVMS Wiki
Jump to: navigation, search
(Context Menu)
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Project Explorer is a view that helps to manage OpenVMS projects, their dependencies, and settings. It is also possible to build, rebuild and clean the project from the Project Explorer context menu.
+
The '''Project Explorer''' view helps to manage OpenVMS projects, their dependencies, and settings. It is also possible to build, rebuild, and clean the project using the '''Project Explorer''' context menu.
  
 
=Description=
 
=Description=
Line 9: Line 9:
  
 
====Project types====
 
====Project types====
* executable - source files will be built and linked in the executable image
+
* ''executable'' - executable image is created
* library - object library (OLB) will be created
+
* ''library'' - object library (OLB) is created
* shareable - extension will create a shareable image
+
* ''shareable'' - shareable image is created
 +
* ''java'' - project contains only Java files
 +
* ''kotlin'' - project contains only Kotlin files
 +
* ''scala'' - project contains only Scala files
  
 
====Context Menu====
 
====Context Menu====
 
* '''Add to dependencies of selected''' - add the project you right-clicked to the previously selected project as a dependency
 
* '''Add to dependencies of selected''' - add the project you right-clicked to the previously selected project as a dependency
 
* '''Remove project from dependencies''' - remove the selected project from dependencies of the main project
 
* '''Remove project from dependencies''' - remove the selected project from dependencies of the main project
* '''Build only this project''' - build the current project
+
* '''Build this project''' - build the current project
* '''Build with dependencies''' - build the current project and all dependencies
+
* '''Build with dependencies''' - build the current project and all its dependencies
* '''Clean this only''' - clean current project only
+
* '''Clean this''' - clean current project only
* '''Rebuild only this project''' - rebuild the current project
+
* '''Rebuild this project''' - rebuild the current project
* '''Rebuild with dependencies''' - rebuild the current project and all dependencies
+
* '''Rebuild with dependencies''' - rebuild the current project and all its dependencies
 +
* '''Synchronize''' - synchronize the current project
 +
* '''Upload''' - upload the current project (if preferZip == true the ZIP will be used to upload files)
  
====Creating MMS====
+
====Creating MMS Files====
'''VMS IDE''' may create MMS files automatically based on the project type and on types of projects which it depends on.
+
'''VMS IDE''' can create '''MMS''' files automatically based on the project type and the types of its dependencies.<br>
For '''shareable''' images, the OPT file will be created, but the universal symbol vector must be edited so that other images could link to this image.
+
For ''shareable'' images, an options ('''OPT''') file is created, but the universal symbol vector must be edited manually.<br>
If the project depends on some shareable images, the COM file will be created with logicals needed to run this project.
+
If the project depends on some shareable images, a '''COM''' file is created with ''logicals'' required for running the project.
  
 
==Project Description==
 
==Project Description==
 
When a project is selected in the Project Dependencies panel, its description is shown.
 
When a project is selected in the Project Dependencies panel, its description is shown.
* Local  
+
* '''Local'''
** folder - [[VMS_IDE_Configuration|Workspace folder name]]
+
** ''folder'' - [[VMS IDE Project Configuration|Workspace folder name]]
** buildType - the type of build: DEBUG or RELEASE (click to change)
+
** ''buildName'' - currently selected [[Build Configurations|build configuration]] (right-click and select '''Change''' to choose another one)
** sourceState - ''modified'' or ''synchronized''
+
** ''sourceState'' - current state of source files
** buildState - ''built'' or ''not built''
+
*** ''unknown'' - no synchronization or upload was performed or there were changes to the Project or SSH settings
** masters - projects which depend on this project
+
*** ''modified'' - there are changes that need to be synchronized
* SSH
+
*** ''synchronized'' - project files on the local machine and OpenVMS are synchronized
** host - OpenVMS host to synchronize and build with
+
** ''buildState'' - current state of the build (''Built'' or ''Not built''). State is linked to the build configuration.
*Project
+
** ''masters'' - projects which depend on the currently selected project
** projectName - the name of the project
+
* '''SSH'''
** projectType - the type of the project (executable, library or shareable)
+
** ''host'' - OpenVMS host to synchronize and build with
** root - project root in OpenVMS
+
* '''Project'''
 +
** ''projectName'' - the name of the project
 +
** ''projectType'' - [[#Project types|the type of the project]]
 +
** ''root'' - project root on OpenVMS
 
|}
 
|}
 +
 +
[https://www.youtube.com/watch?v=9sZuJjbfBws&list=PLewDXk9a8laO3cAZFPyZ4bbgcKsJ1qgPo&index=2 Video tutorial: VMS IDE 2 Managing Dependencies]
 +
 +
[[Category:VMS IDE]]

Latest revision as of 08:37, 20 March 2020

The Project Explorer view helps to manage OpenVMS projects, their dependencies, and settings. It is also possible to build, rebuild, and clean the project using the Project Explorer context menu.

Description

Project Explorer

Project Dependencies

Project types

  • executable - executable image is created
  • library - object library (OLB) is created
  • shareable - shareable image is created
  • java - project contains only Java files
  • kotlin - project contains only Kotlin files
  • scala - project contains only Scala files

Context Menu

  • Add to dependencies of selected - add the project you right-clicked to the previously selected project as a dependency
  • Remove project from dependencies - remove the selected project from dependencies of the main project
  • Build this project - build the current project
  • Build with dependencies - build the current project and all its dependencies
  • Clean this - clean current project only
  • Rebuild this project - rebuild the current project
  • Rebuild with dependencies - rebuild the current project and all its dependencies
  • Synchronize - synchronize the current project
  • Upload - upload the current project (if preferZip == true the ZIP will be used to upload files)

Creating MMS Files

VMS IDE can create MMS files automatically based on the project type and the types of its dependencies.
For shareable images, an options (OPT) file is created, but the universal symbol vector must be edited manually.
If the project depends on some shareable images, a COM file is created with logicals required for running the project.

Project Description

When a project is selected in the Project Dependencies panel, its description is shown.

  • Local
    • folder - Workspace folder name
    • buildName - currently selected build configuration (right-click and select Change to choose another one)
    • sourceState - current state of source files
      • unknown - no synchronization or upload was performed or there were changes to the Project or SSH settings
      • modified - there are changes that need to be synchronized
      • synchronized - project files on the local machine and OpenVMS are synchronized
    • buildState - current state of the build (Built or Not built). State is linked to the build configuration.
    • masters - projects which depend on the currently selected project
  • SSH
    • host - OpenVMS host to synchronize and build with
  • Project

Video tutorial: VMS IDE 2 Managing Dependencies