The following instructions explain how to create a new ProvideX project. The Demonstration Application from a ProvideX v8.30 installation will be used for this project. The is a complimentary business application developed specifically to showcase ProvideX. It includes the following:
Demo program code
NOMADS panels
Sample report files
Begin by going to the ProvideX web site, Software Downloads, and downloading a copy of ProvideX v8.30 for your operating system. Install the ProvideX v8.30; for a MS-Windows system, be sure to use the option to install into a single directory such as \Sage\pvx830.
Inside Eclipse, select the menu item File > New > Project.... to open the New Project wizard.
Select ProvideX Project then click Next
to start the
New ProvideX Project wizard.
On this page, type "DemoApp" in the Project name field then click Finish. The New ProvideX Project Wizard will create a project called "DemoApp" in the current workspace.
The ProvideX project will initially contain the following resources:
An input directory (the DemoApp project's input directory is called "src")
An output directory (the DemoApp project's output directory is called "compiled")
A ProvideX ini file. The project's ini file name is composed of "PVX" then the project name, followed by the extension ".ini". The DemoApp project's ini file is called "PVXDemoApp.ini"
The file ".project" is an Eclipse project file that tells Workbench that this project is associated with the ProvideX plugin.
The ProvideX perspective should now be open.
If the ProvideX perspective is not open, select the menu item Window > Open Perspective > Other Select ProvideX, and click OK.
In the Navigator view, ensure that the DemoApp project is selected. Right click on the "src" folder and then select the menu item File > Import....
The Import dialogue will appear. Expand General, select File System, and click Next.
Click the Browse button next to the From directory field and browse to the directory where ProvideX v8.30 was installed and select the "demo" folder:
D:\Sage\pvx830\demo
Note: For this example, ProvideX v8.30 was installed into the folder D:\Sage\pvx830.
In the Import wizard, select the root node ("demo"). You can expand and select elements within the directory on the left pane to view the individual resources that you are importing on the right pane.
The "demo" folder should be selected. Do not select the parent folder that contains the ProvideX executable, lib directories, etc. Only import "demo" program files.
Ensure that the From directory field indicates the directory for the demo application in the ProvideX v8.30 installation,
D:\Sage\pvx830\demo
... and that the Into Folder field indicates the DemoApp Project's source directory,
"DemoApp/src".
.. then click Finish. In the import progress indicator, notice that the imported resources are compiled as they are imported into the workbench. This is because the Build automatically option is checked on the Workbench preferences page.