Managing Files in Visual Cafe

Home Up Search Java 2 API C++ Resources

In a Visual Cafe project, there are two kinds of files that can be opened:

  1. Files that are in the project:   These are the files that are compiled when the project is "made" or "rebuilt".   Be sure that all files you that are part of your Java program are part of the project.
  2. Files that are not in the project:   These files can be compiled manually, but are not part of the project management. 

It is important to understand the difference between the two types of files!

To create a new file in the project

  1. Select "File/New" or the new file icon from the task bar. 
  2. Save the file with the desired name in the project directory or other desired directory.
  3. Follow the directions below to insert the file into the project.

To insert/remove a file into/from the project:

  1. Select either the "packages" or "files" tab in the "Project" window in VC.
  2. Right click the mouse anywhere in the list of files displayed in that window.
  3. Select "Insert/Remove Files" from the menu that appears.
  4. In the dialog window that appears, browse to find the files you wish to add or select the files from the list displayed that you wish to remove.   Multiple files can be selected.
  5. Click "Remove" to remove the selected files from the project or  "Add" to add the selected files or  "Add All" to add all the displayed files to the project.
  6. Click "OK" to actually perform the insert or remove operation.   Note that removing a file from the project does not delete the file from the disk.