# Project Maintenance

> Source: https://manual.pvxplus.com/project-maintenance

**Project Maintenance** is used to add one or more tasks of various types to a predefined project, as well as remove tasks -- *all at one time*. This provides the convenience of organizing and managing your projects from one central location. See **[Working with Projects](https://manual.pvxplus.com/pxplus-ide/introduction-to-pxplus-ide#projects)**.

You may find that, while working on a specific task, you need to add that task to a project. To do this, select the *Projects* menu from within your current working location. See **[Adding Tasks to Projects from Other Locations](https://manual.pvxplus.com/pxplus-ide/adding-tasks-to-projects-from-other-locations)**.

*(The Project Maintenance utility was added in PxPlus 2014 - Feature Pack 1.)*

To invoke **Project Maintenance**, use one of the following methods:

| **Location** | **Method** |
| --- | --- |
| From the **[PxPlus IDE Main Launcher](https://manual.pvxplus.com/pxplus-ide/ide-main-launcher)** | Select the *Project Maintenance* task near the bottom of the *PxPlus IDE* tree view. |
| From the **[PxPlus IDE Main Launcher](https://manual.pvxplus.com/pxplus-ide/ide-main-launcher)** | Select *Projects* > *Project Maintenance* from the menu bar.<br>*(The Projects > Project Maintenance menu option was added in PxPlus 2023.)* |

The **Project Maintenance** window is displayed below with a sample entry:

![](https://manual.pvxplus.com/migration-assets/ef7879cdfe3703463b38fd517a01542a10fbea5c69bf16e58d614fd9c4f2e38a.jpg)

The **Task Types** that can be selected are:

- *Library Objects* (Windows, Dialogues, Popup Menus, Queries)
- *Programs*
- Report Writer *Reports*
- *Data Files*
- *Data Dictionary* Entries
- *HTML Pages*

See **[Task Types to Maintain](https://manual.pvxplus.com/project-maintenance#tasktypes)**.

The **Project Maintenance** window consists of the following:

|  |  |
| --- | --- |
| *Project* | Select the project to be maintained from the list of available projects.<br>Clicking the *Project* hyperlink launches the **[Edit Project](https://manual.pvxplus.com/pxplus-ide/ide-main-launcher#editproject)** window for editing the selected project. |
| *Working Directory* | Displays the working directory for the selected project.<br>This pathname is also used as the starting directory when you select the Query button (see *Type* below) to locate a *Library* or *Directory*. |
| *Type* | Selections are *Library* and *Directory*:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Library* \| ***(Default)*** Used to specify a NOMADS library file. Enter the full pathname for the library file or select the Query button. \|<br>\| *Directory* \| Used to specify the directory containing the NOMADS library files to use. Enter the full pathname for the directory or select the Query button. \|<br>See **[Task Types to Maintain](https://manual.pvxplus.com/project-maintenance#tasktypes)**. |
| *Include Sub-Directories* | ***(Available when Type is Directory)***<br>Select this check box to include tasks (based on the *Task Types* selections) found in the sub-directories of the specified directory. (By default, this check box is ***not*** selected.)<br>When *Type* is *Library*, this check box is ***not*** displayed.<br>Note:  <br>The Include Sub-Directories check box does *not* apply to data dictionary entries. Only the data dictionary in the specified directory can be maintained using this utility.<br>*(The Include Sub-Directories check box was added in PxPlus 2017.)* |
| **Task Types to Maintain** | If the selected *Type* is ***Library***, only the *Library Objects* check box is selected. All other Task Types *(Programs, Reports, Data Files, Data Dictionary, HTML Pages)* are not applicable.<br>If the selected *Type* is ***Directory***, all the Task Types check boxes are selected by default. These Task Types are:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *Library Objects* \| Library objects (Windows, Dialogues, Popup Menus and Queries) in the selected library/directory are loaded into the list box. \|<br>\| *Programs* \| All programs in the selected directory (except some PxPlus system programs) are loaded into the list box. \|<br>\| *Reports* \| All Report Writer reports in the selected directory are loaded into the list box. \|<br>\| *Data Files* \| All data files in the selected directory (except some PxPlus system files) are loaded into the list box. \|<br>\| *Data Dictionary* \| If a PxPlus data dictionary exists in the selected directory, all entries in the data dictionary file (except the Global Dictionary) are loaded into the list box. \|<br>\| *HTML Pages* \| The Webster+ **[File Maintenance](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/fmgen-introduction)** HTML pages in the selected directory (or sub-directories, if included) are loaded into the list box. When selecting a directory for loading HTML pages, keep in mind that generated HTML pages are stored in a predefined Webster+ directory. See the **[Webster+ > Directory](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/library-object-selection/menu-options#webster)** menu option in **Library Object Selection**. \|<br>Note:  <br>When you select/deselect any of the Task Types check boxes, the list box is reloaded, and any previous selections are lost.<br>*(The HTML Pages task type was added in PxPlus 2021.)* |
| **Select Tasks for Project** | A list box showing a tree view display of the tasks found in the specified library or directory, based on the *Task Types to Maintain* selections. Each "parent" node represents a selected Task Type. Expand/collapse a single "parent" node by clicking the adjacent **+** *plus* or **-** *minus sign*.<br>If a check mark exists next to a task when you expand the "parent" node, this indicates that the task is already associated with the selected project.<br>To ***add a task*** to the selected project, select the check box next to that task.<br>To ***remove a task*** from the selected project, deselect the check box next to that task.<br>Note:  <br>If the selected directory contains a large number of files and/or libraries, the list box may take a few moments to load. When loading is complete, the list box will display all applicable tasks, based on the selections. |
| *Expand/Collapse* | Toggle button that is used to either *expand* or *collapse* ***all*** the "parent" nodes for the tasks in the tree view.<br>Expand/collapse a single "parent" node by clicking the adjacent **+** *plus* or **-** *minus sign*. |
| *Reset* | Discards any *unapplied* changes and reloads the **Select Tasks for Project** list box. When it reloads, only the changes that were previously saved remain intact. |
| *Ok* | Saves the changes to the selected project and returns to the PxPlus IDE Main Launcher.<br>At the same time, a **Tasks Added/Removed** message box reports the number of tasks added or deleted from the selected project. |
| *Apply* | Saves the changes to the selected project without exiting **Project Maintenance**.<br>At the same time, a **Tasks Added/Removed** message box reports the number of tasks added or deleted from the selected project. In addition, the selections for *Project*, *Type* and *Task Types* persist (remains unchanged). This allows you to continue selecting/deselecting tasks for the project using the same settings. |
| *Cancel* | Clears the current entry, except for *Project*, *Working Directory* and *Type*. (The *Task Types to Maintain* selections and *Include Sub-Directories* check box are ***not*** changed.) |
| *Exit* | Closes **Project Maintenance** and returns to the PxPlus IDE Main Launcher without saving any current changes. |
