PxPlus IDE (Integrated Development Environment)

Adding Tasks to Projects from Other Locations

 

Projects provide a method for organizing and managing the various tasks used in the development of business applications and make it easy to access all the related tasks through the PxPlus IDE.

When a project is created, the data that defines the project contents are by default stored in two data files, wkids.dat and wkseq.dat, in the *plus/proj directory. To provide flexibility when managing your projects, you have the option to specify an alternate directory for storing these project data files instead of using the default *plus/proj directory. See Define Project Data Location utility. (The Define Project Data Location utility was added in PxPlus 2017 Update 0002.)

The Project Maintenance utility can be used to add (or remove) one or more various types of tasks to a predefined project all at one time from one central location. This utility is accessed from the PxPlus IDE Main Launcher (Windows) tree view by selecting Project Maintenance from the PxPlus IDE category.

You can also add individual tasks to projects from various locations:

From each of these locations, selecting Projects from the menu bar displays the following two options:

Projects

Create New Project

Launches the Create Project dialogue for entering a new project (Private or Public) for the current working directory. Select the Query button to select a different working directory.

Add to Project

Launches the Add to Project dialogue for adding the current task to an existing project that is selected from the Project drop box.

To add a selected task to an existing project:

1.

From the menu bar, select Projects > Add to Project.

2.

In the Add to Project window, select the project from the Project drop box and click OK.

Note:
When adding a Data Dictionary task to a project, make sure that the working directory for the project is the same as the working directory associated with the data dictionary. Otherwise, the selected task cannot be added to the project.

If the project does not exist, you must first create the project and then add the task. To do this:

1.

Create the project by selecting Projects > Create New Project from the menu bar.

2.

In the Create Project window, enter a name for the new project in the Project field. For the Directory, enter the working directory for the project. Set the Private Project option to create either a Private or Public project. Click OK to complete the creation process.

3.

From the menu bar, select Projects > Add to Project. Select the new project from the Project drop box. Directory and Private Project default to the settings when the project was created and cannot be changed. Click OK to complete the process.

You can also add tasks to projects from NOMADS Library Object Selection. Selecting Projects from the menu bar displays the following three options:

Projects

Create New Project

Launches the Create Project dialogue for entering a new project (Private or Public) for the current working directory. Select the Query button to select a different working directory.

Add All Objects to Project

Launches the Add to Project dialogue for adding all objects from the library to an existing project that is selected from the Project drop box.

Add Selection(s) to Project

Launches the Add to Project dialogue for adding selected objects from the library to an existing project that is selected from the Project drop box.
Alternatively, you can select Add to Project from the popup menu that is invoked by right clicking on a selected object in the list box.

Viewing the Tasks for a Project

To see all the tasks for a project, follow the procedures below.

If the Combine View option (Options menu) is not selected:

1.

From the PxPlus IDE Main Launcher, select the project from the Project drop box.

2.

Select the Display Tasks check box.

3.

In the Tasks window, click the Project tab to see a list of all the tasks for the selected project. Any new tasks that have been added will be displayed in the tree view under the appropriate "parent" category. For example, a Data Dictionary task will be listed under the Dictionary category. If the task is not displayed, refresh the tree view by selecting the Refresh button to the right of the list box.

If the Combine View option is selected, click the Projects tab on the main window to see the tasks for the selected project.