Editing Projects in the Maintain Development Environment
When you open a new WebFOCUS Maintain project, your Maintain
Development Environment looks similar to the following image.
By default, you see the following two windows (depending on which
windows you have open and what settings you have changed, your environment
may look slightly different):
-
Explorer
-
This window is where you manage your projects, their components,
and the servers you can access. This window is usually on the right.
For
more information on using this window, see the Maintain Getting Started manual.
-
Project Explorer
-
Contains another view of the Maintain procedures in your
project. This window also has a Display all files in the project
paths button. This window is usually on the left.
If the project and any other component in it have asterisks (*)
next to their names, you know that you have made changes to that
component since the last save.
x
Procedure: How to Save Your Project or a Component in Your Project
When a project
component has been modified since the last time you saved it, you
see an asterisk (*) next to the name of your project and the name
of the component. To save a component in your project:
-
Select
the component you want to save.
-
In the
File menu, click Save.
or
Click the Save button on the
General toolbar.
To save
the entire project, do one of the following:
- In the File
menu, click Save all.
or
- Click the Save
all button on the
General toolbar.
x
Procedure: How to Save Your Project Automatically
To automatically
save your project:
-
In the
Tools menu, click Environment options.
-
Select
the Automatically save projects every n minutes check
box.
-
Enter
how often you want to save your projects, or leave the default set to
five minutes.
-
Click OK to
confirm your changes.
Note: The
default for this option is on.
x
Procedure: How to Change the Project Path
By
default, the path of the project includes the directory IBI\apps\projectname,
but you may want to add new directories to this path.
-
In the
Explorer window, right-click the project, and then click Properties.
-
In the
Properties dialog box, click the Directories tab.
-
You
can do any of the following:
-
To add a new directory, click the New button to open
the Browse for folder dialog box, select a directory you want to
add, and click OK.
-
To remove a directory from the path, select it and click the Delete button .
-
To change the search order of a directory, select it and use
the Move item up button or the Move item
down button .
-
Click OK when
you are done.
x
Procedure: How to View New File Types in the Explorer
By
default, you can see HTML files (.html, .htm), Maintain files (.mtn,
.for), Master files (.mas, .acx), and Procedures (.fex) in the Explorer.
-
In the
Explorer window, right-click the project, and then click Properties.
-
In the
Properties dialog box, click the Edit Filters tab.
-
Click
the Add new file type filter(s) button .
-
In the
New filter dialog box, select the file type you wish to add and
click OK.
-
In the
Properties dialog box, click OK.
The
WebFOCUS Maintain Development Environment can now display files
of this type.
Note: You can customize the folders in
a project to display various file types. For more information, see
the Creating Reporting Applications With Developer Studio manual.
x
Procedure: How to View or Hide All Files in the Project Path
To
show or hide files in the path of the project:
- Click the Display
all files in the project paths button .
or
- In the View
menu, click Show All Files.
x
Procedure: How to Rename a Project or Project Component
To rename
a project or component:
-
Right-click
the project or project component and click Rename.
-
Type a new name and press Enter.
x
Procedure: How to Delete a Project or Project Component
To delete
a project or component:
-
Right-click
the project or project component and click Delete.
-
Confirm
that you want to delete the project or project component.
Note:
- Deleting a project
component is different from removing it from the project.
- If you delete
a project this way, WebFOCUS Maintain deletes the .gfa file in the project
folder, but does not delete the folder in the Windows file system.
- If you delete
a project component this way, WebFOCUS Maintain deletes the corresponding
file from your hard drive.
x
Procedure: How to Remove a Project Component From a Project
To
remove a project component from a project:
-
Right-click
the project component and click Remove from project.
Note: The
project component still exists, so you can add it back to the project,
if you wish.