home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv4.zip / VACPP / IBMCPP / HELP / IWFHDI.INF (.txt) < prev    next >
OS/2 Help File  |  1995-05-25  |  87KB  |  2,184 lines

  1.  
  2. ΓòÉΓòÉΓòÉ <hidden> About this Information ΓòÉΓòÉΓòÉ
  3.  
  4. The How Do I... information provides solutions to common tasks that you would 
  5. perform with the various components of this product. Before you begin to use 
  6. this information, it would be helpful to understand how to navigate through it: 
  7.  
  8.      Use the Contents and Index facilities to locate topics. 
  9.      Use the Search facility to search the text of this document. 
  10.      Use hypertext links to acquire related information on the current topic. 
  11.       Hypertext links appear in a different color (which you can customize 
  12.       using the OS/2 Scheme Palette). For example, below there are two lists of 
  13.       hypertext links. By double-clicking on the text of the link or by 
  14.       pressing Enter on a highlighted link, you will open a panel of related 
  15.       information. To shift the focus to other links using the keyboard, use 
  16.       the Tab key. 
  17.  
  18.  For more information on using this help facility, see: 
  19.  
  20.      How to Use the Contents 
  21.      How to Obtain Additional Information 
  22.      How to Access and Use IPF Facilities 
  23.  
  24.  For more information, see: 
  25.  
  26.      Other Information You Might Find Helpful 
  27.      Communicating Your Comments to IBM 
  28.      Notices 
  29.      Trademarks 
  30.  
  31.  
  32. ΓòÉΓòÉΓòÉ <hidden> How to Use the Contents ΓòÉΓòÉΓòÉ
  33.  
  34. The Contents window is the first to appear. Some topics have a plus ( ) icon 
  35. beside them. This icon indicates that additional topics are available. 
  36.  
  37. To expand the Contents if you are using a mouse, click on the plus ( ) icon. If 
  38. you are using the keyboard, use the Up or Down Arrow key to highlight the 
  39. topic, and press the plus (+) key. To see additional topics for a heading with 
  40. a plus ( ) icon, click on the icon or highlight that topic and press the plus 
  41. (+) key. 
  42.  
  43. To view a topic, double-click on the topic (or press the Up or Down Arrow key 
  44. to highlight the topic, and then press the Enter key). 
  45.  
  46.  
  47. ΓòÉΓòÉΓòÉ <hidden> How to Obtain Additional Information ΓòÉΓòÉΓòÉ
  48.  
  49. After you select a topic, the information for that topic appears in a window. 
  50. Highlighted words or phrases indicate that additional information is available. 
  51. Certain words and phrases are highlighted in a different color from the 
  52. surrounding text. These are called hypertext terms. 
  53.  
  54. If you are using a mouse, double-click on the highlighted word. If you are 
  55. using a keyboard, press the Tab key to move to the highlighted word, and then 
  56. press the Enter key. Additional information then appears in a window. 
  57.  
  58.  
  59. ΓòÉΓòÉΓòÉ <hidden> How to Access and Use IPF Facilities ΓòÉΓòÉΓòÉ
  60.  
  61. Several choices are available for managing the information presented in this 
  62. document. There are three PullDown menus: the Services menu, the Options menu, 
  63. and the Help menu. 
  64.  
  65. The actions that are selectable from the Services menu operate on the active 
  66. window currently displayed on the screen. These actions include the following: 
  67.  
  68.  Placing Bookmarks 
  69.    You can set a placeholder so you can retrieve information of interest to 
  70.    you. 
  71.  
  72.  Searching for Information 
  73.    You can find occurrences of a word or phrase in the current topic, selected 
  74.    topics, or all topics. 
  75.  
  76.  Printing Information 
  77.    You can print one or more topics. You can also print a set of topics by 
  78.    first marking the topics in the Contents list. 
  79.  
  80.  Copying Information to a File 
  81.    You can copy a topic that you are viewing to the System Clipboard or to a 
  82.    file that you can edit. This method is particularly useful for copying 
  83.    syntax definitions and program samples into the application that you are 
  84.    developing. 
  85.  
  86.  Using the actions that are selectable from the Options menu, you can change 
  87.  the way your Contents list is displayed. To expand the Contents and show all 
  88.  levels for all topics, choose Expand all from the Options PullDown menu. You 
  89.  can also press the Ctrl, Shift and * keys together. 
  90.  
  91.  The actions that are selectable from the Help menu allow you to select 
  92.  different types of help information. 
  93.  
  94.  For information about any of the menu choices, highlight the choice in the 
  95.  menu and press F1. 
  96.  
  97.  
  98. ΓòÉΓòÉΓòÉ <hidden> Placing Bookmarks ΓòÉΓòÉΓòÉ
  99.  
  100. When you place a bookmark on a topic, it is added to a list of bookmarks you 
  101. have previously set.  You can view the list, and you can remove one or all 
  102. bookmarks from the list.  If you have not set any bookmarks, the list is empty. 
  103.  
  104. To set a bookmark, do the following: 
  105.  
  106.    1. Select a topic from the Contents. 
  107.    2. When that topic appears, select the Bookmark option from the Services 
  108.       menu. 
  109.    3. If you want to change the name used for the bookmark, type the new name 
  110.       in the field. 
  111.    4. Click on the Place radio button (or press the Up or Down Arrow key to 
  112.       select it). 
  113.    5. Click on OK (or select it and press Enter). The bookmark is then added to 
  114.       the bookmark list. 
  115.  
  116.  
  117. ΓòÉΓòÉΓòÉ <hidden> Searching for Information ΓòÉΓòÉΓòÉ
  118.  
  119. You can specify a word or phrase to be searched.  You can also limit the search 
  120. to a set of topics by first marking the topics in the Contents list. 
  121.  
  122. To search for a word or phrase in all topics, do the following: 
  123.  
  124.    1. Select the Search option from the Services menu. 
  125.    2. Type the word or words to be searched for. 
  126.    3. Click on All sections (or press the Up or Down Arrow keys to select it). 
  127.    4. Click on Search (or select it and press Enter) to begin the search. 
  128.    5. The list of topics where the word or phrase appears is displayed. 
  129.  
  130.  
  131. ΓòÉΓòÉΓòÉ <hidden> Printing Information ΓòÉΓòÉΓòÉ
  132.  
  133. You can print one or more topics, the index, or the table of contents.  Make 
  134. sure that your printer is connected to the serial port, configured correctly, 
  135. and ready for input. To print: 
  136.  
  137.    1. Select Print from the Services menu. 
  138.    2. Select what you want to print. Note that the This section and Marked 
  139.       sections choices are only available if you are viewing a topic or if you 
  140.       have marked topics, respectively.  To mark topics in the table of 
  141.       contents, press the Ctrl key and click on the topics, or use the arrow 
  142.       keys. 
  143.    3. Select Print to print what you've chosen on your printer. 
  144.  
  145.  
  146. ΓòÉΓòÉΓòÉ <hidden> Copying Information to a File ΓòÉΓòÉΓòÉ
  147.  
  148. You can copy a topic that you are viewing in two ways: 
  149.  
  150.      Copy copies the topic that you are viewing into the System Clipboard. If 
  151.       you are using a Presentation Manager (PM) editor (for example, the 
  152.       Enhanced Editor) that copies or cuts (or both) to the System Clipboard, 
  153.       and pastes to the System Clipboard, you can easily add the copied 
  154.       information to your program source module. 
  155.  
  156.      Copy to file copies the topic that you are viewing into a temporary file 
  157.       named TEXT.TMP. You can later edit that file by using any editor. 
  158.       TEXT.TMP is placed in the directory where your viewable document resides. 
  159.  
  160.  To copy a topic, do the following: 
  161.  
  162.    1. Expand the Contents list and select a topic. 
  163.    2. When the topic appears, select Copy to file from the Services menu. 
  164.    3. The system puts the text pertaining to that topic into the temporary file 
  165.       TEXT.TMP. 
  166.  
  167.  
  168. ΓòÉΓòÉΓòÉ <hidden> Other Information You Might Find Helpful ΓòÉΓòÉΓòÉ
  169.  
  170. This product provides a number of online guides and references that we hope 
  171. you'll find helpful as you develop applications. This information includes: 
  172.  
  173.      User's Guide information provides conceptual and usage information, 
  174.      Reference information is organized for quick access, and 
  175.      How Do I... information gives you specific instructions for performing 
  176.       common tasks. 
  177.  
  178.  You can get to this online information from the Information folder inside the 
  179.  main product folder. You can also get to it from the Help menu in any of the 
  180.  components of the product. 
  181.  
  182.  
  183. ΓòÉΓòÉΓòÉ <hidden> Communicating Your Comments to IBM ΓòÉΓòÉΓòÉ
  184.  
  185. If there is something you like, or dislike, about this document, please let us 
  186. know. You can use one of the methods listed below to send your comments to IBM. 
  187. Please be sure to include the complete title of the publication that you are 
  188. commenting on. For example, you might refer to the How Do I... information for 
  189. the WorkFrame (depending on the product that you use WorkFrame with) as: 
  190.   VisualAge C++ WorkFrame: How Do I... for OS/2. 
  191.  
  192. The comments you send should only pertain to the information in this document 
  193. and its presentation. To request additional publications or to ask questions or 
  194. make comments about the functions of IBM products or systems, you should talk 
  195. to your IBM representative or your authorized IBM remarketer. 
  196.  
  197. When you send comments to IBM, you grant IBM a nonexclusive right to use or 
  198. distribute your comments in any way it believes appropriate without incurring 
  199. any obligation to you. 
  200.  
  201. You can send your comments to IBM in the following ways: 
  202.  
  203.      By mail to the following address: 
  204.  
  205.             IBM Canada Ltd. Laboratory
  206.             Information Development
  207.             2G/345/1150/TOR
  208.             1150 EGLINTON AVENUE EAST
  209.             NORTH YORK, ONTARIO
  210.             CANADA M3C 1H7
  211.  
  212.      By FAX to the following number: 
  213.  
  214.         -  United States and Canada: (416) 448-6161 
  215.         -  Other countries (+1) 416-448-6161 
  216.  
  217.      By electronic mail to one of the following IDs.  Be sure to include your 
  218.       entire network address if you wish to get a reply. 
  219.  
  220.         -  Internet: torrcf@vnet.ibm.com 
  221.         -  IBMLink: toribm(torrcf) 
  222.         -  IBM/PROFS: torolab4(torrcf) 
  223.         -  IBMMAIL: ibmmail(caibmwt9) 
  224.  
  225.  
  226. ΓòÉΓòÉΓòÉ <hidden> Notices ΓòÉΓòÉΓòÉ
  227.  
  228. Copyright International Business Machines Corporation, 1995. All rights 
  229. reserved. 
  230.  
  231. Note to U.S. Government Users - Documentation related to restricted rights - 
  232. Use, duplication, or disclosure is subject to restrictions set forth in GSA ADP 
  233. Schedule Contract with IBM Corp. 
  234.  
  235. This edition applies to Version 3.0 of IBM VisualAge C++ for OS/2 (30H1664, 
  236. 30H1665, 30H1666) and to all subsequent releases and modifications until 
  237. otherwise indicated in new editions.  Make sure you are using the correct 
  238. edition for the level of the product. 
  239.  
  240. This publication could include technical inaccuracies or typographical errors. 
  241. Changes are periodically made to the information herein; any such changes will 
  242. be reported in subsequent revisions. 
  243.  
  244. Requests for publications and for technical information about IBM products 
  245. should be made to your IBM Authorized Dealer or your IBM Marketing 
  246. Representative. 
  247.  
  248. When you send information to IBM, you grant IBM a nonexclusive right to use or 
  249. distribute the information in any ways it believes appropriate without 
  250. incurring any obligation to you. 
  251.  
  252. Any reference to an IBM licensed program in this publication is not intended to 
  253. state or imply that only IBM's licensed program may be used. Any functionally 
  254. equivalent product, program, or service that does not infringe any of IBM's 
  255. intellectual property rights may be used instead of the IBM product, program, 
  256. or service. Evaluation and verification of operation in conjunction with other 
  257. products, except  those expressly designated by IBM, is the user's 
  258. responsibility. 
  259.  
  260. IBM may have patents or pending patent applications covering subject matter in 
  261. this document.  The furnishing of this document does not give you any license 
  262. to these patents.  You can send license inquiries, in writing, to the IBM 
  263. Director of Licensing. IBM Corporation, 500 Columbus Avenue, Thornwood, NY, 
  264. 10594, USA. 
  265.  
  266. This publication contains examples of data and reports used in daily business 
  267. operations. To illustrate them as completely as possible, the examples include 
  268. the names of individuals, companies, brands, and products. All of these names 
  269. are fictitious and any similarity to the names and addresses used by an actual 
  270. business enterprise is entirely coincidental. 
  271.  
  272.  
  273. ΓòÉΓòÉΓòÉ <hidden> Trademarks and Service Marks ΓòÉΓòÉΓòÉ
  274.  
  275. The following terms used in this publication are trademarks or service marks of 
  276. IBM Corporation in the United States or other countries: 
  277.  
  278.  Common User Access       CUA 
  279.  IBM                      Operating System/2 
  280.  OS/2                     OS/2 Warp 
  281.  Personal System/2        Presentation Manager 
  282.  PS/2                     VisualAge 
  283.  WorkFrame 
  284.  
  285.  Other company, product, and service names, which may be denoted by a double 
  286.  asterisk(**), may be trademarks or service marks of others. 
  287.  
  288.  
  289. ΓòÉΓòÉΓòÉ 1. ------------Help for Tasks: How do I...?---------------- ΓòÉΓòÉΓòÉ
  290.  
  291.  
  292. ΓòÉΓòÉΓòÉ 2. Migrating ΓòÉΓòÉΓòÉ
  293.  
  294.      Migrate projects from earlier WorkFrame versions 
  295.      Migrate a make file from a command-line environment 
  296.      Migrate existing source files to a WorkFrame project 
  297.  
  298.  
  299. ΓòÉΓòÉΓòÉ 2.1. Migrate projects from earlier WorkFrame versions ΓòÉΓòÉΓòÉ
  300.  
  301. If you have WorkFrame projects that were created in WorkFrame Version 1.1 or 
  302. Version 2.1, and want to transform them into the format that the current 
  303. version uses: 
  304.  
  305.    1. Select the Migrate projects icon from the Tools folder of the VisualAge 
  306.       C++ Version 3 application folder. 
  307.  
  308.    2. Decide whether you want to migrate projects from Version 1.1 or Version 
  309.       2.1 of WorkFrame. You can do both by going all the way through this 
  310.       procedure twice. 
  311.  
  312.    3. Decide which projects you want to migrate. The original projects are not 
  313.       modified. The new projects are put into a Migration folder on the 
  314.       desktop. 
  315.  
  316.    4. Decide if you want to migrate just the basic project settings, or the 
  317.       settings plus the action profiles (which determine the contents of the 
  318.       popup and pulldown menus). Because WorkFrame Version 3 defines many 
  319.       default actions, you might want to migrate just the projects unless you 
  320.       have customized the action profiles significantly. 
  321.  
  322.    5. To migrate WorkFrame Version 1.1 projects, select Change directory and 
  323.       find the directory where the projects are located. When you select the OK 
  324.       button, the migration process is started. 
  325.  
  326.    6. To migrate WorkFrame Version 2.1 projects, select the drives on which the 
  327.       projects are located and select Find projects to find the projects. Once 
  328.       you have found one or more projects, select the ones you want to migrate 
  329.       and select Migrate to perform the automatic phase of the migration. 
  330.  
  331.       If the migration process finds any project that has missing information, 
  332.       you will see error messages in the Action Log, but the process will 
  333.       continue and will migrate as much of the project as possible. 
  334.  
  335.    7. After the automatic migration is finished, follow these manual steps for 
  336.       each project: 
  337.  
  338.         a. Archive the old version (optional). 
  339.  
  340.         b. Rename the new version and move to another folder (optional). 
  341.  
  342.         c. Customize the options for the Build action, to select which actions 
  343.            to execute while building the project and to set up an efficient 
  344.            build process. Select Build under the Options pulldown menu in the 
  345.            window for the new project. 
  346.  
  347.         d. If you used customized Compile and Link actions in WorkFrame Version 
  348.            2, you may need to change the options for those actions (by 
  349.            selecting from the Options pulldown menu in the project menu or by 
  350.            going into the Tools setup window) to make them work the same way. 
  351.  
  352.  
  353. ΓòÉΓòÉΓòÉ 2.2. Migrate a make file from a command-line environment ΓòÉΓòÉΓòÉ
  354.  
  355. You can build a project using your own existing make file, or using a make file 
  356. that is generated automatically for you. 
  357.  
  358. To continue using an existing make file: 
  359.  
  360.    1. You do not need to make a backup copy of the old one unless the Build 
  361.       action options have been modified. The default is for the Build action to 
  362.       stop rather than overwrite a user-written make file. 
  363.  
  364.    2. Customize the build action for efficiency by changing its project 
  365.       options. 
  366.  
  367.    3. Build the project by either: 
  368.  
  369.           Selecting the make file, then selecting the Make action from its 
  370.            popup menu, or 
  371.           Selecting the Build action. (First, select Build under the Options 
  372.            pulldown menu and make sure that the Generate a make file radio 
  373.            button on the Make page is deselected.) 
  374.  
  375.  Related tasks: 
  376.  
  377.      Create a make file from a project 
  378.      Build using a WorkFrame-generated make file 
  379.      Create a project that contains multiple targets 
  380.  
  381.  
  382. ΓòÉΓòÉΓòÉ 2.3. Migrate existing source files to a WorkFrame project ΓòÉΓòÉΓòÉ
  383.  
  384. You can leave existing source files where they are, in one or more directories: 
  385.  
  386.    1. Select Settings->Location under the View pulldown menu to open the 
  387.       project settings dialog. 
  388.  
  389.    2. Fill in the names of the directories where the source files can be found. 
  390.  
  391.    3. Select one of these directories as the working directory, where you want 
  392.       any newly created files to be placed. 
  393.  
  394.    4. Close the dialog. 
  395.  
  396.  Or, you can create a new directory, copy all the files there, and fill in its 
  397.  name in the settings dialog. 
  398.  
  399.  
  400. ΓòÉΓòÉΓòÉ 3. Integrating ΓòÉΓòÉΓòÉ
  401.  
  402.      Integrate my own tools 
  403.      Integrate my own make file 
  404.  
  405.  
  406. ΓòÉΓòÉΓòÉ 3.1. Integrate my own tools ΓòÉΓòÉΓòÉ
  407.  
  408. For each tool that you want to integrate: 
  409.  
  410.    1. Decide whether the tool applies to particular types of files 
  411.       ("file-scoped"), or whether it should run by itself, with no file names 
  412.       or special file names passed as parameters ("project-scoped"). This 
  413.       choice determines if the tool can be launched from the popup menu for a 
  414.       particular file type, from the popup menu for the project window 
  415.       container, or both. 
  416.  
  417.       You make this choice in the Action applies to group on the General page 
  418.       of a notebook dialog later on. 
  419.  
  420.    2. Now follow the procedure for creating an action. The action represents 
  421.       the menu item you will use to launch the tool. 
  422.  
  423.    3. After creating the action, select Project Options->Change and/or File 
  424.       Options->Change from its popup menu and fill in any command-line 
  425.       parameters to pass to the tool. You can define different sets of 
  426.       parameters to pass depending on whether the action is selected from the 
  427.       project popup menu or from the popup menu of a selected file. One or both 
  428.       of these pulldown menu choices are selectable based on whether File, 
  429.       Project, or both are selected on the General page of the action settings 
  430.       notebook. 
  431.  
  432.       File Options sets the command-line parameters that are passed to the tool 
  433.       when it is run against one or more selected files, and usually passes a 
  434.       set of file names. For example, the substitution variable %f refers to 
  435.       the first selected file name and %a %z refers to the list of all selected 
  436.       file names. 
  437.  
  438.       Project Options sets the command-line parameters that are passed to the 
  439.       tool when it is run against the entire project, and usually passes either 
  440.       no file names or just the name of the target file. 
  441.  
  442.  
  443. ΓòÉΓòÉΓòÉ 3.2. Integrate my own make file ΓòÉΓòÉΓòÉ
  444.  
  445.  
  446. ΓòÉΓòÉΓòÉ 4. Starting or running ΓòÉΓòÉΓòÉ
  447.  
  448.      Start using WorkFrame 
  449.      Run a particular tool 
  450.      Run an executable target program 
  451.  
  452.  
  453. ΓòÉΓòÉΓòÉ 4.1. Start using WorkFrame ΓòÉΓòÉΓòÉ
  454.  
  455. To start using WorkFrame (which you must do before performing most of the other 
  456. procedures described throughout the how-do-I help): 
  457.  
  458.    1. Start the WorkPlace Shell (PMSHELL.EXE) if it is not already running. 
  459.  
  460.    2. Create a WorkFrame project, or copy an existing one. (Look for the 
  461.       VisualAge C++ project template under the VisualAge C++ application 
  462.       folder, or in the VisualAge C++ Samples folder. 
  463.  
  464.    3. Open the project by double-clicking or by selecting Open from its popup 
  465.       menu. 
  466.  
  467.    4. If the project window does not show any files, select Settings->Location 
  468.       under the View pulldown menu and fill in the names of the directories to 
  469.       search for source files and in which to create any new files. Then close 
  470.       the settings dialog. 
  471.  
  472.    5. If the Project menu has no menu choices, select Settings->Inheritance 
  473.       under the View pulldown menu, press the Add button, and use the Find 
  474.       button to locate a project that has the tools you want available on its 
  475.       popup and pulldown menus. 
  476.  
  477.  Now you can work with the project using the popup and pulldown menus in the 
  478.  project window and by double-clicking on the objects that are shown in the 
  479.  project window. Spend some time experimenting with your first project, 
  480.  referring to this how-do-I help and pressing the F1 key for help when the 
  481.  focus is on windows or menu items that you are curious about. 
  482.  
  483.  Related tasks: 
  484.  
  485.      Creating a project 
  486.      Copying a project using the desktop 
  487.      Backing up a project 
  488.      Finding projects 
  489.      Changing what items appear in popup or pulldown menus 
  490.  
  491.  
  492. ΓòÉΓòÉΓòÉ 4.2. Run a particular tool ΓòÉΓòÉΓòÉ
  493.  
  494. WorkFrame runs tools, such as compilers, debuggers, and editors, by performing 
  495. actions. The actions and associated options that apply to each type of object 
  496. are specified in the Tools setup window. 
  497.  
  498. To run a particular tool: 
  499.  
  500.    1. Determine which action executes the tool you want. If there is no 
  501.       applicable action, create one. 
  502.  
  503.       The actions are represented by entries under the Project and Selected 
  504.       pulldown menus, and on the popup menus for the project parts. The entries 
  505.       under the Selected pulldown menu differ depending on what types of files 
  506.       are selected. 
  507.  
  508.    2. In the project window, select the applicable files that you want the tool 
  509.       to work on, and then select the tool from the popup menu of one of the 
  510.       files. If the tool is not available from the file's popup menu, select it 
  511.       from the container popup menu in the project window. 
  512.  
  513.  Related tasks: 
  514.  
  515.      Creating an action 
  516.  
  517.  
  518. ΓòÉΓòÉΓòÉ 4.3. Run an executable target program ΓòÉΓòÉΓòÉ
  519.  
  520. The default double-click action for an executable program is the Run action. 
  521. After building an executable target program, double-click on the icon to 
  522. execute it. If you want the output displayed in an OS/2 text window or in the 
  523. monitor area of the project window, select the applicable choice (Foreground or 
  524. Monitored) under the Run cascade from the executable file's popup menu. 
  525.  
  526.  
  527. ΓòÉΓòÉΓòÉ 5. Creating or deleting ΓòÉΓòÉΓòÉ
  528.  
  529.      Create a new source or other text file 
  530.      Create a project on the desktop 
  531.      Create a project that contains multiple targets 
  532.      Create an action 
  533.      Create an action that runs a built-in DOS or OS/2 command 
  534.      Create context-sensitive help for my own actions 
  535.      Create a make file from a project 
  536.      Delete an action, environment variable, or type 
  537.      Delete an item from the popup menu of a file type 
  538.      Delete one or more project parts 
  539.  
  540.  
  541. ΓòÉΓòÉΓòÉ 5.1. Create a new source or other text file ΓòÉΓòÉΓòÉ
  542.  
  543. There are several ways to create a new text file, rather than editing an 
  544. existing file: 
  545.  
  546.      From a Project toolbar (at the top of the project window), select the 
  547.       Edit button to run the editor without loading a particular file. 
  548.  
  549.      From the Project pulldown menu or the container popup in the project 
  550.       window, select Edit. 
  551.  
  552.      Select a data file template from the Templates folder. Drag the template 
  553.       onto the project. WorkFrame creates the file in the directory that is 
  554.       defined as the working directory in the project settings. Now you can 
  555.       edit the file to fill in its contents. 
  556.  
  557.  Related tasks: 
  558.  
  559.      Edit one or more selected files 
  560.      Change the default editor 
  561.  
  562.  
  563. ΓòÉΓòÉΓòÉ 5.2. Create a project on the desktop ΓòÉΓòÉΓòÉ
  564.  
  565. There are several ways to create a new WorkFrame project. The new project 
  566. appears as an object on the desktop. 
  567.  
  568.      To create a project containing skeleton source files that you can modify, 
  569.       use the Project Smarts tool. It is a convenient way to get started when 
  570.       you know what kind of project you want to create. It configures many of 
  571.       the settings that you would otherwise have to choose when building the 
  572.       project. 
  573.  
  574.         1. Run Project Smarts by double-clicking its icon in the VisualAge C++ 
  575.            application folder. 
  576.  
  577.         2. Select one of the projects listed in the catalog. Read the 
  578.            accompanying description to see if it is applicable for what you 
  579.            want. 
  580.  
  581.         3. Select the Create button and complete any necessary dialogs to 
  582.            create the project on the desktop. 
  583.  
  584.      To create a basic project that you can customize yourself, drag the 
  585.       WorkFrame project template from the VisualAge C++ application folder or 
  586.       the Templates folder onto the desktop. If you want the project to already 
  587.       be configured with default actions, use the template from the VisualAge 
  588.       C++ application folder. 
  589.  
  590.       As an alternative, select Create another from the popup menu of an 
  591.       existing project icon. 
  592.  
  593.      Look in the Sample projects folder of the VisualAge C++ application 
  594.       folder. The samples represent projects that are already set up. 
  595.  
  596.       If you copy one of the sample projects to use as a starting point, note 
  597.       that any modifications you make will effect the original source files. If 
  598.       you want to keep the original source files unchanged, copy the source 
  599.       directories using the desktop or the command line and enter the new 
  600.       directory names on the Location page of the project settings notebook. 
  601.  
  602.  In the new project, make sure that Location and Inheritance pages of the 
  603.  project settings notebook are set up correctly. Get to them by selecting from 
  604.  the Settings cascade under the View pulldown menu in the project window. The 
  605.  Location page defines the directories that are searched for project files and 
  606.  the directory where new files are created. The Inheritance page defines one or 
  607.  more projects from which to inherit actions, environment variables, and file 
  608.  types; inheriting actions allows you to duplicate the same menu arrangement in 
  609.  multiple projects. 
  610.  
  611.  Related tasks: 
  612.  
  613.      Change what items appear in popup or pulldown menus 
  614.  
  615.  
  616. ΓòÉΓòÉΓòÉ 5.3. Create a project that contains multiple targets ΓòÉΓòÉΓòÉ
  617.  
  618. In a complex project, or one that you originally set up for a command-line 
  619. environment, you might want a single build operation to create multiple target 
  620. files. The WorkFrame way to do this is to create a project for each target 
  621. file, and nest them all inside another project: 
  622.  
  623.    1. Create a simple project for each of the individual target files (such as 
  624.       a .EXE or .DLL file). 
  625.  
  626.    2. Create another project to serve as a container. 
  627.  
  628.    3. Drag and drop the other projects from the desktop into this new project, 
  629.       which we refer to as the base project. When this base project is built, 
  630.       it automatically builds each of the projects that it contains. 
  631.  
  632.    4. If one of the projects depends on another one and the build order is 
  633.       important, nest the one that must be built first inside the other one. 
  634.       For complex projects with multiple dependencies, you may need to use 
  635.       several levels of nesting. 
  636.  
  637.  Because there are many other considerations for creating and managing these 
  638.  complex projects, you might need to refer to the more comprehensive 
  639.  information in the product manuals to plan the project organization in 
  640.  advance. 
  641.  
  642.  Related tasks: 
  643.  
  644.      Creating a project 
  645.  
  646.  
  647. ΓòÉΓòÉΓòÉ 5.4. Create an action ΓòÉΓòÉΓòÉ
  648.  
  649. When you want to integrate a new tool or set up an alternative way to execute 
  650. an existing one, create a new action: 
  651.  
  652.    1. Select Tools setup under the View pulldown menu to open the Tools setup 
  653.       window. 
  654.  
  655.    2. Select Add from the Actions pulldown menu. 
  656.  
  657.       To create an action that is similar to an existing one, select the 
  658.       existing action before selecting Add. 
  659.  
  660.    3. Fill in the resulting settings dialog. If any fields are not 
  661.       self-explanatory, press the F1 key or the Help button on any notebook 
  662.       page for instructions. 
  663.  
  664.    4. Define the action options (equivalent to the command-line parameters for 
  665.       the tool). Select the new action, then select Project options->Change 
  666.       and/or File options->Change under the Actions pulldown menu, and fill in 
  667.       the resulting dialogs. 
  668.  
  669.  Related tasks: 
  670.  
  671.      Copy actions 
  672.      Set the command-line parameters that are passed to a tool 
  673.      Set which menus the action should appear in. 
  674.  
  675.  
  676. ΓòÉΓòÉΓòÉ 5.5. Create an action that runs a built-in DOS or OS/2 command ΓòÉΓòÉΓòÉ
  677.  
  678. To make an action execute a built-in command such as DIR or DEL: 
  679.  
  680.    1. Create the action. Use CMD.EXE for the Program name. 
  681.  
  682.    2. Change the Project options and/or the File options for the action. Fill 
  683.       in the command-line parameters as: 
  684.  
  685.             /C Command string
  686.  
  687.  
  688. ΓòÉΓòÉΓòÉ 5.6. Create context-sensitive help for my own actions ΓòÉΓòÉΓòÉ
  689.  
  690. When you customize popup and pulldown menus with actions that you create, you 
  691. can provide context-sensitive help that is displayed when focus is placed on 
  692. the menu item and the F1 key is pressed. You might need to provide such help if 
  693. other people are using tools or projects that you supply to them. 
  694.  
  695.    1. Write the help text using the markup language of the OS/2 Information 
  696.       Presentation Facility (IPF), which comes with the OS/2 Toolkit. If you 
  697.       use a different help authoring system, just substitute the appropriate 
  698.       viewing command later on in this procedure. 
  699.  
  700.    2. Use the IPF compiler from the Toolkit to create a .INF or .HLP file. You 
  701.       can run the help compiler from WorkFrame. 
  702.  
  703.    3. Select Tools setup under the View pulldown menu to see all the actions in 
  704.       the project. Expand the tree view of the actions. 
  705.  
  706.    4. Select the action for which you want to add context-sensitive help and 
  707.       change it; or, if the action does not exist, select Add from the popup 
  708.       and proceed through the creation dialog. On the Help page of the dialog, 
  709.       enter 
  710.  
  711.             VIEW HELPFILE.INF
  712.  
  713.       where HELPFILE is the name you gave to the file. 
  714.  
  715.    5. If you use a viewing command that accepts a search string but does not 
  716.       place it at the end of the command line, include the substitution 
  717.       variable %TOPIC% at the applicable spot in the Command field. 
  718.  
  719.    6. If the .INF file contains more than one help topic, enter a search string 
  720.       in the Topic field. Use one or more consecutive words from the title of 
  721.       the appropriate help topic. Make sure that the topic you want to display 
  722.       is the first one in the help file with this search string in its title. 
  723.  
  724.    7. When you have finished creating or changing the action, close the 
  725.       notebook dialog. 
  726.  
  727.  Related tasks: 
  728.  
  729.      With Project Smarts you can create a project already set up for 
  730.       developing context-sensitive help. 
  731.  
  732.  
  733. ΓòÉΓòÉΓòÉ 5.7. Create a make file from a project ΓòÉΓòÉΓòÉ
  734.  
  735. From the project window, select MakeMake or Build from the Project pulldown 
  736. menu. MakeMake is faster, because it only generates the make file; Build 
  737. generates the make file and proceeds to build the project. 
  738.  
  739. Each time you build the project, WorkFrame generates a make file. This make 
  740. file is only updated by the Build or Makemake actions, so remember to run one 
  741. of these actions when you change options, source files, or other settings, to 
  742. record your changes in the generated make file. 
  743.  
  744. If you customize the WorkFrame-generated make file, rename it before doing the 
  745. next build, or prevent WorkFrame from overwriting it by deselecting Generate a 
  746. make file on the Make page of the project-scoped actions for the Build action. 
  747.  
  748. Related tasks: 
  749.  
  750.      Build using a WorkFrame-generated make file 
  751.      Build using my own make file 
  752.  
  753.  
  754. ΓòÉΓòÉΓòÉ 5.8. Delete an action, environment variable, or type ΓòÉΓòÉΓòÉ
  755.  
  756.    1. To see the actions, environment variables, and types that are defined for 
  757.       a particular project, select Tools setup under the View pulldown menu in 
  758.       the project window. 
  759.  
  760.    2. In the Tools setup window, select Actions, Variables, or Types from the 
  761.       View pulldown menu to see one of the kinds of objects. 
  762.  
  763.    3. Select one or more actions, environment variables, or types to delete. 
  764.       For actions, you can delete either a single action or an entire class of 
  765.       actions. 
  766.  
  767.    4. From the object's popup menu or under the applicable pulldown menu, 
  768.       select Delete. Or drag the object and drop it on the Shredder object. 
  769.  
  770.  If the object was not defined in the current project, but was available 
  771.  through inheritance, the Delete operation is not available from the current 
  772.  project; you must delete the action in the defining project. 
  773.  
  774.  
  775. ΓòÉΓòÉΓòÉ 5.9. Delete an item from the popup menu of a file type ΓòÉΓòÉΓòÉ
  776.  
  777. To remove an action from all the menus, both popup and pulldown, where it 
  778. appears: 
  779.  
  780.    1. Select Tools setup under the View pulldown menu to see the list of tools 
  781.       (called actions in this context) that are associated with the project. 
  782.  
  783.    2. Expand the tree view of actions to find the action that defines the 
  784.       applicable menu item. 
  785.  
  786.    3. Select the action. 
  787.  
  788.    4. Change it: on the Menus page, deselect Add to menus. 
  789.  
  790.    5. Press the OK button to close the dialog. 
  791.  
  792.  The advantage of the preceding technique is that although the action is not 
  793.  listed in any menus, it can still be performed during a build. The following 
  794.  technique allows you to selectively remove menu items from particular menus. 
  795.  Removing a source type from an action also means that the action will not 
  796.  apply to that file type during a Build or MakeMake action. 
  797.  
  798.  To remove an action from the popup menu, or the Selected pulldown menu, for a 
  799.  particular file type: 
  800.  
  801.    1. Select Tools setup under the View pulldown menu to see the list of tools 
  802.       (called actions in this context) that are associated with the project. 
  803.  
  804.    2. Expand the tree view of actions to find the action that defines the 
  805.       applicable menu item. 
  806.  
  807.    3. Select the action. 
  808.  
  809.    4. Change it. 
  810.  
  811.    5. On the Types page, edit the Source Types field to remove the applicable 
  812.       type name or file mask. Or, if the source type consists of multiple 
  813.       wildcard patterns, specify the appropriate patterns explicitly, one per 
  814.       line, instead of using a type name. 
  815.  
  816.    6. Press the OK button to close the dialog. 
  817.  
  818.  If the object was not defined in the current project, but was available 
  819.  through inheritance, the Change operation is not available from the current 
  820.  project; you must change the action settings in the defining project. 
  821.  
  822.  
  823. ΓòÉΓòÉΓòÉ 5.10. Delete one or more project parts ΓòÉΓòÉΓòÉ
  824.  
  825. To delete one or more project parts, which may be source files, temporary 
  826. files, target files, or other projects: 
  827.  
  828.    1. Make sure that the Parts filter entry field displays all the files or 
  829.       other project parts that you might want to delete. 
  830.  
  831.    2. Select the project parts to delete. 
  832.  
  833.    3. Select Delete from the popup menu of one of the parts, or drag and drop 
  834.       them onto the Shredder object. 
  835.  
  836.  Related tasks: 
  837.  
  838.      Filter the display of source files and other project parts 
  839.  
  840.  
  841. ΓòÉΓòÉΓòÉ 6. Moving, copying, or backing up ΓòÉΓòÉΓòÉ
  842.  
  843.      Copy a project using the desktop 
  844.      Back up a project 
  845.      Copy actions 
  846.      Move a project or project part 
  847.  
  848.  
  849. ΓòÉΓòÉΓòÉ 6.1. Copy a project using the desktop ΓòÉΓòÉΓòÉ
  850.  
  851.    1. From the popup menu of the project icon, select Copy. As an alternative, 
  852.       you can drag the icon while pressing the Ctrl key. 
  853.    2. Select the folder where the new project should go, or another drive (for 
  854.       example, if copying the project to a diskette). 
  855.    3. Remember that the project information includes the names of the 
  856.       directories where the source files are located, not the directories or 
  857.       source files themselves. The copied project points to the same source 
  858.       files as the original. If you want to make new copies of the source 
  859.       files, you must do that separately and change the list of source 
  860.       directories on the Location page in the project settings. 
  861.  
  862.  Dragging and dropping a project object follows the same convention as for 
  863.  other Workplace Shell objects: you can use mouse button 2, with optional Alt 
  864.  and Ctrl qualifier keys, to move, copy, or create a shadow of the object. 
  865.  
  866.  Related tasks: 
  867.  
  868.      Back up a project 
  869.  
  870.  
  871. ΓòÉΓòÉΓòÉ 6.2. Back up a project ΓòÉΓòÉΓòÉ
  872.  
  873.    1. The project is represented by a single file. Locate this file by looking 
  874.       at the File page of the project settings notebook. 
  875.  
  876.    2. Back up this file (by copying it or archiving it). 
  877.  
  878.    3. Remember that the project information includes the names of the 
  879.       directories where the source files are located, not the directories or 
  880.       source files themselves. Back up the files in each of the project's 
  881.       source directories. 
  882.  
  883.    4. Repeat this process for any subprojects that are nested inside the 
  884.       project. 
  885.  
  886.  For the backed-up project file to work correctly when it is restored, its OS/2 
  887.  extended attributes must be preserved. Thus, you cannot back up a project 
  888.  directly onto a filesystem that does not support OS/2 extended attributes 
  889.  (such as the NFS or AFS filesystems). Instead, use a compression or archiving 
  890.  utility that preserves the extended attributes (some utilities preserve 
  891.  extended attributes but others do not). 
  892.  
  893.  Related tasks: 
  894.  
  895.      Copy a project using the desktop 
  896.  
  897.  
  898. ΓòÉΓòÉΓòÉ 6.3. Copy actions ΓòÉΓòÉΓòÉ
  899.  
  900. Depending on whether you want to copy one or many actions, and whether you want 
  901. the new actions to be local copies or shadows of centrally defined actions, you 
  902. have several choices when copying actions: 
  903.  
  904.      You can copy an individual action from another project. 
  905.  
  906.      You can copy an action within the same project. 
  907.  
  908.      You can make local copies of some or all of the actions from another 
  909.       project. You can change the settings of these new actions. 
  910.  
  911.      You can inherit all the actions from another project. You cannot change 
  912.       the settings of these new actions directly. Changes made to these actions 
  913.       in the other project will be reflected in the current project. The 
  914.       advantage is that multiple projects can inherit actions from the same 
  915.       project, so that changes to the action are reflected in all the projects 
  916.       that inherit from it. 
  917.  
  918.  To locate the project where an action is originally defined, select it in the 
  919.  Tools setup window and select Where defined from its popup menu. 
  920.  
  921.  
  922. ΓòÉΓòÉΓòÉ 6.3.1. Copy an action from another project ΓòÉΓòÉΓòÉ
  923.  
  924.    1. Go to a project that uses the action. 
  925.  
  926.    2. Select Tools setup under the View pulldown menu. 
  927.  
  928.    3. Expand the tree view to find the action you want. 
  929.  
  930.    4. Select Copy from its popup menu. 
  931.  
  932.    5. Identify the project into which you want to copy that action. 
  933.  
  934.  Any project-scoped options or file-scoped options that are defined for the 
  935.  action are copied along with it. If an inherited action is copied, the 
  936.  associated options are copied from the base project. 
  937.  
  938.  
  939. ΓòÉΓòÉΓòÉ 6.3.2. Copy an action within the same project ΓòÉΓòÉΓòÉ
  940.  
  941. If you want the actions to be exactly the same except for the name, use the 
  942. same procedure as for copying from another project. 
  943.  
  944. If you want to change some settings of the new action: 
  945.  
  946.    1. Select Tools setup under the View pulldown menu in the project window. 
  947.  
  948.    2. Expand the tree view to find the action you want. 
  949.  
  950.    3. Select the action you want to copy. 
  951.  
  952.    4. Select Add from its popup menu. 
  953.  
  954.    5. Change the name and/or class of the action. Customize any other settings 
  955.       that you want to change before pressing the OK button. 
  956.  
  957.  
  958. ΓòÉΓòÉΓòÉ 6.3.3. Copy multiple actions from another project ΓòÉΓòÉΓòÉ
  959.  
  960.    1. Open the Tools setup windows for both projects. 
  961.  
  962.    2. In the source project, select the icon for a class of actions, or the 
  963.       root object of the tree view (to copy all actions). 
  964.  
  965.    3. Drag the selected object and drop it in the actions container of the 
  966.       project to which you want the actions copied. 
  967.  
  968.  
  969. ΓòÉΓòÉΓòÉ 6.3.4. Inherit actions from another project ΓòÉΓòÉΓòÉ
  970.  
  971.    1. Go to the project where the actions are not yet defined. 
  972.  
  973.    2. Select Settings->Inheritance under the View pulldown menu. 
  974.  
  975.    3. To the inheritance list, add the project that defines the actions you 
  976.       want to copy. 
  977.  
  978.  
  979. ΓòÉΓòÉΓòÉ 6.4. Move a project or project part ΓòÉΓòÉΓòÉ
  980.  
  981. If you want to move a project or a project part, such as a source file: 
  982.  
  983.    1. For a project, select Move from the popup menu of the project icon or 
  984.       project container, or from the System pulldown menu of the project 
  985.       window. Or, drag the project icon and drop it in a different folder or 
  986.       project. 
  987.  
  988.       For a project part, select Move from the popup menu of the project part. 
  989.       Or, drag the icon for the project part and drop it in a different folder 
  990.       or project. 
  991.  
  992.    2. Fill in the resulting dialog to indicate the destination for the move 
  993.       operation. 
  994.  
  995.  
  996. ΓòÉΓòÉΓòÉ 7. Setting or changing ΓòÉΓòÉΓòÉ
  997.  
  998.      Set the directory where WorkFrame stores new files 
  999.      Set the command-line parameters that are passed to a tool 
  1000.      Set up shortcuts for the edit/compile/debug cycle 
  1001.      Set the double-click action for a type of file 
  1002.      Set detailed options for compiling or building 
  1003.      Set up a project for debugging, browsing, optimization, and performance 
  1004.       analysis 
  1005.      Set environment variables 
  1006.      Change what items appear in popup or pulldown menus 
  1007.      Change the default editor 
  1008.      Change the settings for an action 
  1009.  
  1010.  
  1011. ΓòÉΓòÉΓòÉ 7.1. Set the directory where WorkFrame stores new files ΓòÉΓòÉΓòÉ
  1012.  
  1013. When WorkFrame generates a temporary or target file, or runs an action, the 
  1014. directory that is used is the one specified as the working directory on the 
  1015. Location page of the project settings dialog. To choose a different directory: 
  1016.  
  1017.    1. Select Settings->Location under the View pulldown menu in the project 
  1018.       window. 
  1019.  
  1020.    2. Select one or more source directories (where tools will search for 
  1021.       files). 
  1022.  
  1023.    3. Choose the new working directory from the dropdown list. 
  1024.  
  1025.    4. Close the notebook dialog. 
  1026.  
  1027.  
  1028. ΓòÉΓòÉΓòÉ 7.2. Set the command-line parameters that are passed to a tool ΓòÉΓòÉΓòÉ
  1029.  
  1030. When an action is run, the corresponding program is executed with a set of 
  1031. command-line parameters, which we refer to as the action options. Each action 
  1032. has one or two sets of options, depending on whether it is project-scoped, 
  1033. file-scoped, or both. 
  1034.  
  1035. For example, a project-scoped edit action might start the editor without 
  1036. passing a file name, while the same action might pass one or more file names 
  1037. when it is file-scoped. 
  1038.  
  1039. The action options are distinct from the action settings; for each action, 
  1040. there are separate menu items for changing the options for the project-scoped 
  1041. form, the options for the file-scoped form, and the settings. 
  1042.  
  1043. To select the command-line parameters for a particular tool, change the action 
  1044. options as follows: 
  1045.  
  1046.    1. Select Tools setup under the View pulldown menu in the project window to 
  1047.       open the Tools setup window. 
  1048.  
  1049.    2. Expand the tree view until you see the action whose options you want to 
  1050.       set. 
  1051.  
  1052.    3. Select the action. 
  1053.  
  1054.    4. If you want to set the options that are passed when the action is run as 
  1055.       a project-scoped action, select Project Options->Change from the Actions 
  1056.       pulldown menu. To set the options that are passed when it is run as a 
  1057.       file-scoped option, select File Options->Change instead. One or both of 
  1058.       these pulldown menu choices is selectable based on the selected scopes on 
  1059.       the General page of the action settings notebook. 
  1060.  
  1061.       Project Options sets the command-line parameters that are passed to the 
  1062.       tool when it is run against the entire project, and usually passes either 
  1063.       no file names or just the name of the target file. 
  1064.  
  1065.       File Options sets the command-line parameters that are passed to the tool 
  1066.       when it is run against one or more selected files, and usually passes a 
  1067.       set of file names. 
  1068.  
  1069.    5. If the options dialog consists of entry fields, fill in the option string 
  1070.       to pass to the tool. You can customize the option string using 
  1071.       substitution variables. 
  1072.  
  1073.       You only need to fill in the Error template field if the action displays 
  1074.       error messages in a specific format, and you want to be able to 
  1075.       double-click on an error in the monitor to edit a source file at the 
  1076.       location of the error. Fill in the field to show the format of an error 
  1077.       message, using the %f, %i, %c, and %t substitution variables. to 
  1078.       represent the source file name, error location line and column, and error 
  1079.       message text. 
  1080.  
  1081.       If the options dialog consists of a notebook, fill in the applicable 
  1082.       settings. 
  1083.  
  1084.    6. Select the OK button to close the dialog and save the settings, or select 
  1085.       the Undo button before closing the dialog if you change your mind and 
  1086.       want to cancel the changes. 
  1087.  
  1088.  If an action is inherited from another project, so are the options associated 
  1089.  with that action. When you select OK to accept new action options, the new 
  1090.  options override the ones in the project that defines the action. You can 
  1091.  select Delete under the Project options or File options cascades to revert 
  1092.  back to the default settings for action options. 
  1093.  
  1094.  Note:  If you find that you frequently need to change the options for a 
  1095.  particular action, you may want to use one of these shortcuts: 
  1096.  
  1097.      In the Tools setup window, change the action. Select Add to project 
  1098.       options menu on the Menus page. The action will be listed under the 
  1099.       Options pulldown menu on the project window, allowing you to go directly 
  1100.       to its options dialog without going through the Tools setup window. 
  1101.  
  1102.      Make several copies of the action, each launching the same tool but with 
  1103.       a different set of options. 
  1104.  
  1105.  
  1106. ΓòÉΓòÉΓòÉ 7.2.1. Substitution variables for action options ΓòÉΓòÉΓòÉ
  1107.  
  1108. The substitution variables you can use when defining options for an action are: 
  1109.  
  1110.            Γöé
  1111.  %a %z     ΓöéIs replaced by the names of all the selected files,
  1112.            Γöéseparated by a space.  If the space between the 'a' and the
  1113.            Γöé'%' is replaced by a string, the names are separated by that
  1114.            Γöéstring. For example, if the selected files are
  1115.            Γöé   d:\cat.obj, d:\dog.obj
  1116.            Γöéand
  1117.            Γöé   d:\bird.obj
  1118.            Γöéthe substitution variable %a+%z produces the string
  1119.            Γöé   d:\cat.obj+d:\dog.obj+d:\bird.obj
  1120.            ΓöéThe only substitution variables allowed within the %a..%z
  1121.            Γöésubstitution variables are %% and %d.
  1122.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1123.  %d        ΓöéIs replaced with the project's working directory.
  1124.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1125.  %e        ΓöéIs replaced by the extension (including the period) of the
  1126.            Γöéfirst selected file.
  1127.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1128.  %f        ΓöéIs replaced with the fully qualified name of the first
  1129.            Γöéselected file. Specifying %f is the same as specifying
  1130.            Γöé%q%n%e.
  1131.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1132.  %m        ΓöéIs replaced by the make file name specified for the project
  1133.            Γöéin its Settings notebook.
  1134.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1135.  %n        ΓöéIs replaced by the file name (without an extension and path)
  1136.            Γöéof the first selected file.
  1137.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1138.  %o        ΓöéIs replaced by the target file name specified for the
  1139.            Γöéproject in its Settings notebook.
  1140.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1141.  %p        ΓöéIs replaced by the fully qualified project file name.
  1142.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1143.  %q        ΓöéIs replaced by the path of the first selected file.
  1144.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1145.  %r        ΓöéIs replaced by the run options set for the project target
  1146.            Γöéfile in the project's Settings notebook.
  1147.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1148.  %t        ΓöéIs replaced by the file name (without an extension and path)
  1149.            Γöéof the project's target.
  1150.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1151.  %TOPIC%   ΓöéIs replaced by the contents of the Help Topic field in the
  1152.            Γöéaction's Settings notebook.  This field specified the help
  1153.            Γöétopic to be displayed when the user requests for help on the
  1154.            Γöéaction.
  1155.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1156.  %%        ΓöéIs replaced by the % symbol.
  1157.            Γöé
  1158.  
  1159. Related information: 
  1160.  
  1161.      Substitution variables for error templates 
  1162.  
  1163.  
  1164. ΓòÉΓòÉΓòÉ 7.2.2. Substitution variables for error templates ΓòÉΓòÉΓòÉ
  1165.  
  1166. The substitution variables in the table below are used to specify error message 
  1167. format in error templates.  WorkFrame uses error templates to parse error 
  1168. messages in a monitor window when you double-click on an error message to 
  1169. invoke the editor. 
  1170.  
  1171.            Γöé
  1172.  %f        ΓöéIs replaced by the name of the file name where the error
  1173.            Γöéoccurred. If the error message does not emit a
  1174.            Γöéfully-qualified file name, the editor may not be able load
  1175.            Γöéthe file if it is not located in the project's Working
  1176.            Γöédirectory.
  1177.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1178.  %i        ΓöéThe line in the source file at which the error occurred.
  1179.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1180.  %c        ΓöéThe column in the source file at which the error occurred.
  1181.  ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇ
  1182.  %t        ΓöéThe text of the error message.
  1183.            Γöé
  1184.  
  1185. Related information: 
  1186.  
  1187.      Substitution variables for action options 
  1188.  
  1189.  
  1190. ΓòÉΓòÉΓòÉ 7.3. Set up shortcuts for the edit/compile/debug cycle ΓòÉΓòÉΓòÉ
  1191.  
  1192. A number of fastpaths and techniques can save time in working with WorkFrame. 
  1193.  
  1194. Accelerator Keys 
  1195.  
  1196. To set up accelerator keys (Ctrl+Shift+key) for frequently performed actions: 
  1197.  
  1198.    1. In a project window, select Tools setup under the View pulldown menu. 
  1199.  
  1200.    2. Expand the tree view of actions until the applicable action is visible. 
  1201.  
  1202.    3. Change the action: on the Menus page, enter a single character in the 
  1203.       Ctrl+Shift+ entry field. The characters that are already used for 
  1204.       accelerators are displayed in the In use field. 
  1205.  
  1206.    4. Select the OK button to close the dialog and save the settings. 
  1207.  
  1208.    5. Whenever you want to execute that action, select an object (if 
  1209.       appropriate) and then press Ctrl+Shift+accelerator, where accelerator is 
  1210.       the character you entered in the entry field. 
  1211.  
  1212.       You can use these accelerators from within WorkFrame, or from within 
  1213.       other WorkFrame-integrated tools. 
  1214.  
  1215.  Toolbar 
  1216.  
  1217.  You can select the most common WorkFrame operations from a toolbar at the top 
  1218.  of the project window: 
  1219.  
  1220.      With a single click, you can build, run, or debug the target program, 
  1221.       change the build options, edit a new file, go to the Tools setup window, 
  1222.       or open the How Do I help that you are reading now. 
  1223.  
  1224.      To change the appearance of the toolbar, select one of the entries under 
  1225.       the View->Toolbars pulldown menu. 
  1226.  
  1227.      To select additional project-scoped actions for the toolbar: 
  1228.  
  1229.         1. Select Tools setup under the View pulldown menu to open the Tools 
  1230.            setup window. 
  1231.         2. Expand the tree view of actions to find the action you want to put 
  1232.            on the toolbar. 
  1233.         3. Change the action: on the Menus page, select Add to project Toolbar. 
  1234.         4. Select the OK button to confirm the change. 
  1235.         5. Repeat the operations in the Tools setup window for each action that 
  1236.            you want on the toolbar. 
  1237.  
  1238.  Warp Launch Pad 
  1239.  
  1240.  In OS/2 Warp, you can drag and drop a project icon onto the system Launch Pad, 
  1241.  allowing you to open the project with a single mouse click, and to go to the 
  1242.  project settings, go to the Tools setup window, or execute a project-scoped 
  1243.  action from the object's popup menu. 
  1244.  
  1245.  
  1246. ΓòÉΓòÉΓòÉ 7.4. Set the double-click action for a type of file ΓòÉΓòÉΓòÉ
  1247.  
  1248. Within a project, you can select what happens when you double-click on the icon 
  1249. for particular types of files: 
  1250.  
  1251.    1. Select a file of the applicable type. 
  1252.  
  1253.    2. Look at the contents of its popup menu or the Selected pulldown menu to 
  1254.       see what actions apply to that type. The current double-click action is 
  1255.       indicated by the order of the last group of the popup menu, or under the 
  1256.       Selected pulldown menu. 
  1257.  
  1258.       If the first menu selection is the name of an action class with no 
  1259.       cascade, only one action in that class applies to the selected file type, 
  1260.       and is the default double-click action. 
  1261.  
  1262.       If the first menu selection has a cascade, more than one action in that 
  1263.       class applies to the selected file type, and the first one is the default 
  1264.       double-click action. 
  1265.  
  1266.    3. Select Tools setup under the View pulldown menu. In the resulting window, 
  1267.       display the Actions view. 
  1268.  
  1269.    4. Select the action that is the current double-click default. You might 
  1270.       need to expand the tree view to find it. 
  1271.  
  1272.    5. Change the action. 
  1273.  
  1274.    6. Go to the Support tab. Note the value of the Priority field. 
  1275.  
  1276.    7. Close the notebook without making any changes. 
  1277.  
  1278.    8. Select the action that you want to be the new double-click default. 
  1279.  
  1280.    9. Change it: on the Support page, change the priority setting to a higher 
  1281.       value (a larger number) than the priority of the previous action. The 
  1282.       allowed priority range is from 0 (lowest priority) to 99 (highest 
  1283.       priority). 
  1284.  
  1285.   10. Select the OK button to close the notebook. 
  1286.  
  1287.  Now, double-clicking on a file of that type will execute the action you want 
  1288.  instead of the previous one. 
  1289.  
  1290.  Note that raising the priority of an action might also make it the default 
  1291.  double-click action for other types of files to which it applies. An 
  1292.  alternative is to lower the priority of the current default action. 
  1293.  
  1294.  Related information: 
  1295.  
  1296.      Default priority settings for actions 
  1297.  
  1298.  
  1299. ΓòÉΓòÉΓòÉ 7.4.1. Default priority settings for actions ΓòÉΓòÉΓòÉ
  1300.  
  1301. Build (Normal)    95
  1302. Build (All)      94
  1303. Run (Target)     90
  1304. Run  (For)      90
  1305. Run  (Monit)     88
  1306. Debug         80
  1307. Edit (Editor)     70
  1308. Edit (ICON)      70
  1309. Edit (DLG)      70
  1310. Browse  (C++)     60
  1311. Edit (EPM)      58
  1312. Edit (SYST)      56
  1313. Browse  (Editor)   50
  1314. Compile (CPP)     50
  1315. Compile (RES)     50
  1316. Compile (MSG)     50
  1317. Compile (SOM)     50
  1318. Compile (IPF)     50
  1319. Analyze        40
  1320. Make         40
  1321. Visual        35
  1322. Database       30
  1323. Inspect        30
  1324. Mapsym        30
  1325. MakeMake       20
  1326. Edit (markexe)    20
  1327. View         10
  1328. Package        1
  1329.  
  1330. Bind (Res)       0  (not displayed)
  1331. Bind (Msg)       0
  1332. Link          0
  1333. Lib (From DLL)     0
  1334. Lib (From DEF)     0
  1335. Lib          0
  1336. BrsMon         0
  1337.  
  1338.  
  1339. ΓòÉΓòÉΓòÉ 7.5. Set detailed options for compiling or building ΓòÉΓòÉΓòÉ
  1340.  
  1341. In the project window, select the Compile or Build choices under the Options 
  1342. pulldown menu and fill in the resulting notebook dialogs. 
  1343.  
  1344. This method is a fastpath that avoids having to go through the Tools setup 
  1345. window. 
  1346.  
  1347. Related tasks: 
  1348.  
  1349.      Set up a project for debugging, browsing, optimization, and performance 
  1350.       analysis 
  1351.      Set the command-line parameters that are passed to a tool 
  1352.  
  1353.  
  1354. ΓòÉΓòÉΓòÉ 7.6. Set up a project for debugging, browsing, optimization, and performance analysis ΓòÉΓòÉΓòÉ
  1355.  
  1356. In the project window, select Build Smarts under the Options pulldown menu. The 
  1357. buttons in this dialog select any options, DLLs, and other parameters needed 
  1358. for these tasks. 
  1359.  
  1360. These settings take precedence if you make different choices on other options 
  1361. dialogs. These settings also affect individual actions, such as those in the 
  1362. Compile and Link classes, in addition to the Build actions. 
  1363.  
  1364.      Set detailed options for compiling or building 
  1365.      Set the command-line parameters that are passed to a tool 
  1366.  
  1367.  
  1368. ΓòÉΓòÉΓòÉ 7.7. Set environment variables ΓòÉΓòÉΓòÉ
  1369.  
  1370. Use the following procedure to define environment-variable settings within 
  1371. WorkFrame: 
  1372.  
  1373.    1. Select Tools setup under the View pulldown menu. 
  1374.  
  1375.    2. In the Environment view, select the name of an environment variable from 
  1376.       the drop-down menu, or type its name if it is not already present. 
  1377.  
  1378.    3. Enter or change the associated value. You can add to the variable's usual 
  1379.       value, for example by defining the PATH variable to be 
  1380.       "D:\MYTOOLS;%PATH%". 
  1381.  
  1382.  You can use this feature to define environment-variable settings for a project 
  1383.  without cluttering up your CONFIG.SYS file. The values defined within a 
  1384.  project are only in effect while one of its actions is running, and apply only 
  1385.  to actions that are executed within the project. The environment variable 
  1386.  values are not permanent and do not take effect system-wide. 
  1387.  
  1388.  
  1389. ΓòÉΓòÉΓòÉ 7.8. Change what items appear in popup or pulldown menus ΓòÉΓòÉΓòÉ
  1390.  
  1391. Many WorkFrame tasks require you to fill in or change the settings for one or 
  1392. more actions in the Tools setup window. This help topic explains how to create 
  1393. a new action or change an existing one, and discusses the settings that 
  1394. determine the menus under which the action will be listed. For explanations of 
  1395. the other settings in the Add action or Change action dialog, press the F1 key 
  1396. on the applicable notebook page. 
  1397.  
  1398.      If you are creating a new action, rather than changing an existing one, 
  1399.       first decide if you want the action to be project-scoped or file-scoped. 
  1400.  
  1401.       A project-scoped action is listed under the Project menu and on the popup 
  1402.       menu for the project parts container in the project window. A file-scoped 
  1403.       action is listed under the Selected menu and on the popup menus for 
  1404.       certain project parts. 
  1405.  
  1406.      To make an item appear in the WorkFrame Project menu, which is also 
  1407.       available from other WorkFrame-integrated tools: 
  1408.  
  1409.         1. Select Tools setup under the View pulldown menu in the project 
  1410.            window, opening a window that shows a view of the actions that are 
  1411.            defined for the project. 
  1412.  
  1413.         2. If the item you want is not already defined as an action, select Add 
  1414.            under the Actions pulldown menu. If a similar item already exists, 
  1415.            select it before selecting Add to create a new, slightly different 
  1416.            one. 
  1417.  
  1418.            If the item you want is already defined as an action, expand the 
  1419.            tree view to find it, then select it and change it. 
  1420.  
  1421.            Fill in the Class field with the text of the item you want to appear 
  1422.            under the Project pulldown menu. It's OK if there is already a menu 
  1423.            item with this name. 
  1424.  
  1425.            Fill in the Name field with the text of the pulldown menu subitem. 
  1426.            For example, if you want to add a menu item for an editor named 
  1427.            ObscureEditor, fill in Edit for the Class field and ObscureEditor 
  1428.            for the Name field. The Project pulldown menu will contain a 
  1429.            cascading item called Edit->ObscureEditor. 
  1430.  
  1431.         3. On the General page of the notebook dialog, select Project if it is 
  1432.            not already selected. 
  1433.  
  1434.         4. Finish filling in the notebook, then select the OK button. 
  1435.  
  1436.      To make an item appear in the popup menu for an object or group of 
  1437.       objects, or under the Selected pulldown menu in a WorkFrame project 
  1438.       window: 
  1439.  
  1440.         1. Select Tools setup under the View pulldown menu in the project 
  1441.            window, opening a window that shows a view of the actions that are 
  1442.            defined for the project. If a similar item already exists, select it 
  1443.            before selecting Add to create a new, slightly different one. 
  1444.  
  1445.         2. If the item you want is not already defined as an action, select Add 
  1446.            under the Actions pulldown menu. 
  1447.  
  1448.            If the item you want is already defined as an action, expand the 
  1449.            tree view to find it, then change it. 
  1450.  
  1451.            Fill in the Class field with the text of the item you want to appear 
  1452.            on the popup menu. It's OK if there is already a popup menu item 
  1453.            with this name. 
  1454.  
  1455.            Fill in the Name field with the text of the popup menu subitem. For 
  1456.            example, if you want to add a popup item for an editor named 
  1457.            ObscureEditor, fill in Edit for the Class field and ObscureEditor 
  1458.            for the Name field. The popup menu will contain a cascading item 
  1459.            called Edit->ObscureEditor. 
  1460.  
  1461.         3. On the Source and Target page of the notebook dialog, decide what 
  1462.            types of files should have this new item on their popup menus. 
  1463.            Select any applicable symbolic names from the list on the right and 
  1464.            press the Add button to add them to the Source area. You can also 
  1465.            type in file names or masks (such as *.TXT), one per line. 
  1466.  
  1467.            Fill in the Target area with the type names, file names, or file 
  1468.            masks of any output files that the action produces. 
  1469.  
  1470.            If the action is intended to take part in a project build, only 
  1471.            include one source file type and one target type. 
  1472.  
  1473.         4. On the General page of the notebook dialog, select File if it is not 
  1474.            already selected. 
  1475.  
  1476.         5. Finish filling in the notebook, then select the OK button. 
  1477.  
  1478.  If an action with the right scope already exists but is not available from the 
  1479.  pulldown or popup menus, menu, change it and select Add to menus on the Menus 
  1480.  page of the resulting notebook dialog. 
  1481.  
  1482.  Related tasks: 
  1483.  
  1484.      Delete an item from the popup menu of a file type 
  1485.      If the Change choice is not available on the menus for an action, you 
  1486.       might need to follow the procedure for changing an inherited action. 
  1487.      The settings defined for each action are separate from the action options 
  1488.       that are passed to the tool when it is executed. 
  1489.      After creating an action, you might want to set the action options that 
  1490.       are passed to the tool when it is executed. 
  1491.  
  1492.  
  1493. ΓòÉΓòÉΓòÉ 7.9. Change the default editor ΓòÉΓòÉΓòÉ
  1494.  
  1495.    1. In the Tools setup window, select Actions under the View pulldown menu. 
  1496.  
  1497.    2. Expand the tree view for the Edit class, so that the individual editors 
  1498.       are listed. 
  1499.  
  1500.    3. Select the one that you want to be the default editor. If it is not 
  1501.       there, add it. To save time in filling in the action settings, select an 
  1502.       existing editor before selecting Add. 
  1503.  
  1504.    4. Change the action. On the Support tab, increase the priority field to a 
  1505.       value that is larger than the priority of any of the other editors. 
  1506.       Because the actions in each class are sorted by priority (both in the 
  1507.       Tools setup window and on menus), you only need to check the priority of 
  1508.       the first listed editor. 
  1509.  
  1510.    5. Select the OK button. 
  1511.  
  1512.  Related information: 
  1513.  
  1514.      Default priority settings for actions 
  1515.  
  1516.  
  1517. ΓòÉΓòÉΓòÉ 7.10. Change the settings for an action ΓòÉΓòÉΓòÉ
  1518.  
  1519. As part of many different tasks, you might need to change the settings for an 
  1520. action. The steps in this procedure depend on whether the action is defined in 
  1521. the current project, or inherited from another project. 
  1522.  
  1523.    1. Locate the action in the Tools setup window, if you have not already done 
  1524.       so. 
  1525.    2. Select the action. 
  1526.    3. If the Change choice is available from the action's popup menu and under 
  1527.       the Actions pulldown menu, select Change from one of those locations and 
  1528.       make any required changes to the resulting notebook dialog. You do not 
  1529.       need to read the rest of this procedure. 
  1530.    4. If the Change choice is not available, the action is inherited from 
  1531.       another project. Select Where defined from the action's popup menu or 
  1532.       under the Actions pulldown menu, which displays the name of the project 
  1533.       where the action is originally defined. 
  1534.    5. Find the project named in the preceding step. We refer to this project as 
  1535.       the base project. 
  1536.    6. Open the base project and go to its Tools setup window. From the base 
  1537.       project, the Change choice is available to change the settings of the 
  1538.       action. If you do so, be aware that the changed settings will apply to 
  1539.       all projects that inherit the action; you may need to coordinate changes 
  1540.       with other developers. 
  1541.  
  1542.       As an alternative to changing the action in the base project, you can 
  1543.       copy the action into your own project, giving the action a new name. The 
  1544.       Change choice will then be available from your project for this new 
  1545.       action. 
  1546.  
  1547.  
  1548. ΓòÉΓòÉΓòÉ 8. Finding, filtering, or hiding ΓòÉΓòÉΓòÉ
  1549.  
  1550.      Find some or all projects on a system 
  1551.      Filter the display of source files and other project parts 
  1552.      Show all the actions, variables, and types in the Tools setup window 
  1553.      Hide windows and information areas 
  1554.  
  1555.  
  1556. ΓòÉΓòÉΓòÉ 8.1. Find some or all projects on a system ΓòÉΓòÉΓòÉ
  1557.  
  1558. During various WorkFrame operations, you can select Find dialogs that let you 
  1559. locate projects by browsing the directory tree. 
  1560.  
  1561. Under OS/2 Warp, you can select Find from the popup menu of the desktop or a 
  1562. folder to locate all the WorkFrame projects on a system: 
  1563.  
  1564.      In the dialog, search for WPS objects with a class that is descended from 
  1565.       Workframe V3 Project. 
  1566.      In OS/2 Warp, press the More button to set up this kind of search. 
  1567.      In OS/2 Version 2, deselect Object and select Workframe V3 Project before 
  1568.       doing the search. 
  1569.  
  1570.  Related tasks: 
  1571.  
  1572.      There are many other tasks that you can do with projects. 
  1573.  
  1574.  
  1575. ΓòÉΓòÉΓòÉ 8.2. Filter the display of source files and other project parts ΓòÉΓòÉΓòÉ
  1576.  
  1577. The source files that are associated with a project are always shown in the 
  1578. Project window. To select new or different source files for the project: 
  1579.  
  1580.    1. Click on the Parts filter entry field and enter a single file name, 
  1581.       wildcard pattern, or type name. The files selected by this field 
  1582.       represent all the files that will have their dependencies checked and be 
  1583.       used during a build. You must press the Enter key in the entry field to 
  1584.       refresh the displayed project parts. 
  1585.  
  1586.       When files are created or deleted, press Enter in this entry field again 
  1587.       or select Refresh now under the View pulldown menu to display the current 
  1588.       set of project parts. 
  1589.  
  1590.    2. If you find yourself entering similar wildcard patterns over and over, or 
  1591.       if you need to filter using more than one file mask, or if the names or 
  1592.       extensions of files might change in the future, you can define symbolic 
  1593.       names for different combinations of file masks and types. Use the Types 
  1594.       view in the Tools setup window to define or change these names. 
  1595.  
  1596.  
  1597. ΓòÉΓòÉΓòÉ 8.3. Show all the actions, variables, and types in the Tools setup window ΓòÉΓòÉΓòÉ
  1598.  
  1599. In the Tools setup window, you can work with three kinds of objects: actions, 
  1600. environment variables, and types. Only one kind of object is displayed at a 
  1601. time. To select which kind of object is displayed: 
  1602.  
  1603.    1. In the Tools setup window, select Actions, Variables, or Types under the 
  1604.       View pulldown menu. 
  1605.  
  1606.    2. To see all the actions in the Actions view, select Expand all from the 
  1607.       container popup or under the Actions pulldown menu. 
  1608.  
  1609.  
  1610. ΓòÉΓòÉΓòÉ 8.4. Hide windows and information areas ΓòÉΓòÉΓòÉ
  1611.  
  1612. Once you have some experience with the WorkFrame interface, you might not need 
  1613. some of the reminders and visual cues that are available by default. You can 
  1614. use several methods to minimize the screen space and performance overhead of 
  1615. these windows and information areas: 
  1616.  
  1617.      To turn off the information line where messages are displayed, deselect 
  1618.       Information line under the View pulldown menu of windows that have 
  1619.       information lines. 
  1620.  
  1621.      To reduce the space used for toolbars, you can select 
  1622.       Toolbars->Style->Graphic only or Text only under the View pulldown menu 
  1623.       in the project and Tools setup window. 
  1624.  
  1625.      To turn off the toolbars on the project and Tools setup windows, deselect 
  1626.       Toolbars->Show under the View pulldown menu of those windows. 
  1627.  
  1628.      To turn off the hover help that appears next to toolbar icons as the 
  1629.       mouse passes over them, deselect Toolbars->Hover help under the View 
  1630.       pulldown menu. This help has some performance overhead, so turn it off 
  1631.       after you are familiar with the toolbar items. 
  1632.  
  1633.      To remove details that you are not interested in from the Details view, 
  1634.       select Settings->View under the View pulldown menu and deselect those 
  1635.       details. 
  1636.  
  1637.      To hide the monitor area of the project window when you want more space 
  1638.       for the listing of project parts, select Show under the Monitor pulldown 
  1639.       menu. The monitor is displayed when you start a monitored action, but you 
  1640.       can automatically hide it afterwards (unless there is an error listing to 
  1641.       examine) by selecting Settings->Monitor under the View pulldown menu and 
  1642.       selecting Hide on successful completion. 
  1643.  
  1644.  
  1645. ΓòÉΓòÉΓòÉ 9. Editing ΓòÉΓòÉΓòÉ
  1646.  
  1647.      Edit a new file 
  1648.      Edit one or more selected files 
  1649.      Edit at the location of a compilation error 
  1650.      Change the default editor 
  1651.  
  1652.  
  1653. ΓòÉΓòÉΓòÉ 9.1. Edit a new file ΓòÉΓòÉΓòÉ
  1654.  
  1655.  
  1656. ΓòÉΓòÉΓòÉ 9.2. Edit one or more selected files ΓòÉΓòÉΓòÉ
  1657.  
  1658.    1. Select one or more source files in the project window. 
  1659.  
  1660.    2. From the popup menu of one of the source files, select Edit. To use an 
  1661.       editor other than the default, select it from the cascading menu under 
  1662.       Edit. 
  1663.  
  1664.  Related tasks: 
  1665.  
  1666.      Edit a new file 
  1667.      Change the default editor 
  1668.      The editor you want might not be available from the popup menu of a 
  1669.       particular file, if the file name does not match one of the source types 
  1670.       for the action. If so, you can associate the action with the applicable 
  1671.       type so that it is available on the popup menu. 
  1672.  
  1673.  
  1674. ΓòÉΓòÉΓòÉ 9.3. Edit at the location of a compilation error ΓòÉΓòÉΓòÉ
  1675.  
  1676. If a Build, Make, or Compile action encounters a compiler error that identifies 
  1677. a location in a specific source file, you can invoke an editor on the 
  1678. applicable source file at the applicable location. From the monitor container 
  1679. of the project window, double-click on the line with the error, or highlight 
  1680. the line with the error and select Edit errors under the Monitor pulldown menu 
  1681. or Errors from the monitor toolbar. 
  1682.  
  1683. Notes: 
  1684.  
  1685.      If you edit a WorkFrame-generated make file, the make file output might 
  1686.       not be in the format that WorkFrame expects, and double-clicking on an 
  1687.       error in the monitor might no longer edit the source file. 
  1688.  
  1689.      If the EPM editor does not recognize compile errors, make sure that the 
  1690.       settings for the EPM action include the /W option. 
  1691.  
  1692.  
  1693. ΓòÉΓòÉΓòÉ 9.4. Change the default editor ΓòÉΓòÉΓòÉ
  1694.  
  1695.  
  1696. ΓòÉΓòÉΓòÉ 10. Compiling, linking, or building ΓòÉΓòÉΓòÉ
  1697.  
  1698.      Compile a single source file 
  1699.      Build using a WorkFrame-generated make file 
  1700.      Build using my own make file 
  1701.      Build one project inside a nested project 
  1702.      Choose detailed options for compiling, linking, or building 
  1703.      Set up a project for debugging, browsing, optimization, and performance 
  1704.       analysis 
  1705.  
  1706.  
  1707. ΓòÉΓòÉΓòÉ 10.1. Compile a single source file ΓòÉΓòÉΓòÉ
  1708.  
  1709.    1. Select the file (or more than one file) in the Project window. 
  1710.  
  1711.    2. Select Compile from the popup menu of one of the files. Depending on the 
  1712.       type of file, you might need to select a specific compiler under a 
  1713.       Compile cascade. 
  1714.  
  1715.  Related tasks: 
  1716.  
  1717.      Build using a WorkFrame-generated make file 
  1718.      Build using my own make file 
  1719.  
  1720.  
  1721. ΓòÉΓòÉΓòÉ 10.2. Build using a WorkFrame-generated make file ΓòÉΓòÉΓòÉ
  1722.  
  1723.    1. When integrating any build tools into a WorkFrame project, make sure that 
  1724.       the corresponding actions in the Tools setup window have exactly one 
  1725.       entry in both the Source types and Target types fields on the Types page. 
  1726.       The source and target types are used to generate corresponding make rules 
  1727.       using this action. 
  1728.  
  1729.       To set this property, change the action settings. 
  1730.  
  1731.    2. Customize the build action for efficiency by changing its project 
  1732.       options. 
  1733.  
  1734.    3. From the project window, select Build from the Project pulldown menu, 
  1735.       from the container popup menu, or from the Project toolbar. WorkFrame 
  1736.       performs the necessary steps to create or update the executables, DLLs, 
  1737.       or other target files. 
  1738.  
  1739.    4. In the process, WorkFrame generates a make file that you can use to run 
  1740.       the build again from the command line. This make file is only updated 
  1741.       when you select Build or MakeMake from within WorkFrame, so remember to 
  1742.       do so when you change options, source files, or other settings within 
  1743.       WorkFrame, if you intend to use the generated make file. 
  1744.  
  1745.  Related tasks: 
  1746.  
  1747.      Create a make file from a project 
  1748.      Build using my own make file 
  1749.  
  1750.  
  1751. ΓòÉΓòÉΓòÉ 10.3. Build using my own make file ΓòÉΓòÉΓòÉ
  1752.  
  1753.  
  1754. ΓòÉΓòÉΓòÉ 10.4. Build one project inside a nested project ΓòÉΓòÉΓòÉ
  1755.  
  1756. If you have projects nested inside other projects, and want to build one of 
  1757. these projects without doing a complete build: 
  1758.  
  1759.    1. In the project window, select Build Smarts under the Options pulldown 
  1760.       menu. 
  1761.  
  1762.    2. Deselect the Build any subprojects first radio button. 
  1763.  
  1764.    3. Select the OK button to save the settings, which apply to all Build 
  1765.       actions. 
  1766.  
  1767.  
  1768. ΓòÉΓòÉΓòÉ 11. Cancelling ΓòÉΓòÉΓòÉ
  1769.  
  1770.      Cancel when changing settings in a notebook dialog 
  1771.      Cancel an action while it is running 
  1772.  
  1773.  
  1774. ΓòÉΓòÉΓòÉ 11.1. Cancel when changing settings in a notebook dialog ΓòÉΓòÉΓòÉ
  1775.  
  1776. For notebook dialogs, some of which do not have Cancel buttons, you can cancel 
  1777. changes made within the dialog as follows. 
  1778.  
  1779.    1. To close the dialog without saving any changes, double-click on the 
  1780.       system menu. 
  1781.  
  1782.    2. To cancel changes to one particular page, select the Undo button on the 
  1783.       page. 
  1784.  
  1785.    3. To cancel changes to several pages, select the Undo button at the bottom 
  1786.       of the notebook (only for notebooks that have an additional set of 
  1787.       OK/Cancel buttons at the bottom). 
  1788.  
  1789.    4. If incorrect settings have already been saved, so that Undo does not get 
  1790.       back the ones you want, select the applicable Default button to return 
  1791.       the settings on that page or for the whole notebook to a safe set of 
  1792.       default values. Close the dialog if you do not want to make any further 
  1793.       choices. 
  1794.  
  1795.  
  1796. ΓòÉΓòÉΓòÉ 11.2. Cancel an action while it is running ΓòÉΓòÉΓòÉ
  1797.  
  1798.      For actions that display output in the monitor area, such as Compile or 
  1799.       Build, press the Stop button of the monitor or select Stop under the 
  1800.       Monitor pulldown menu. 
  1801.  
  1802.      For actions that display output in a fullscreen or windowed session, 
  1803.       press Ctrl+C in that session. 
  1804.  
  1805.      For actions that launch standalone tools, such as Edit, follow the exit 
  1806.       procedure for the tool. 
  1807.  
  1808.  
  1809. ΓòÉΓòÉΓòÉ 12. ------------Quick Reference----------------------------- ΓòÉΓòÉΓòÉ
  1810.  
  1811.  
  1812. ΓòÉΓòÉΓòÉ 13. Projects ΓòÉΓòÉΓòÉ
  1813.  
  1814.      Create a project on the desktop 
  1815.      Create a project that contains multiple targets 
  1816.      Copy a project using the desktop 
  1817.      Back up a project 
  1818.      Delete a project 
  1819.      Migrate projects from earlier WorkFrame versions 
  1820.      Create a project within another project 
  1821.      Find some or all projects on a system 
  1822.      Move a project 
  1823.  
  1824.  
  1825. ΓòÉΓòÉΓòÉ 13.1. Create a project on the desktop ΓòÉΓòÉΓòÉ
  1826.  
  1827.  
  1828. ΓòÉΓòÉΓòÉ 13.2. Copy a project using the desktop ΓòÉΓòÉΓòÉ
  1829.  
  1830.  
  1831. ΓòÉΓòÉΓòÉ 13.3. Back up a project ΓòÉΓòÉΓòÉ
  1832.  
  1833.  
  1834. ΓòÉΓòÉΓòÉ 13.4. Delete a project ΓòÉΓòÉΓòÉ
  1835.  
  1836.  
  1837. ΓòÉΓòÉΓòÉ 13.5. Migrate projects from earlier WorkFrame versions ΓòÉΓòÉΓòÉ
  1838.  
  1839.  
  1840. ΓòÉΓòÉΓòÉ 13.6. Create a project within another project ΓòÉΓòÉΓòÉ
  1841.  
  1842.  
  1843. ΓòÉΓòÉΓòÉ 13.7. Find some or all projects on a system ΓòÉΓòÉΓòÉ
  1844.  
  1845.  
  1846. ΓòÉΓòÉΓòÉ 13.8. Move a project ΓòÉΓòÉΓòÉ
  1847.  
  1848.  
  1849. ΓòÉΓòÉΓòÉ 14. Source files ΓòÉΓòÉΓòÉ
  1850.  
  1851.      Edit a source file 
  1852.      Create a new source file 
  1853.      Delete a source file 
  1854.      Compile a single source file 
  1855.      Migrate existing source files to a WorkFrame project 
  1856.      Move a source file 
  1857.  
  1858.  
  1859. ΓòÉΓòÉΓòÉ 14.1. Edit a source file ΓòÉΓòÉΓòÉ
  1860.  
  1861.  
  1862. ΓòÉΓòÉΓòÉ 14.2. Create a new source file ΓòÉΓòÉΓòÉ
  1863.  
  1864.  
  1865. ΓòÉΓòÉΓòÉ 14.3. Delete a source file ΓòÉΓòÉΓòÉ
  1866.  
  1867.  
  1868. ΓòÉΓòÉΓòÉ 14.4. Compile a single source file ΓòÉΓòÉΓòÉ
  1869.  
  1870.  
  1871. ΓòÉΓòÉΓòÉ 14.5. Migrate existing source files to a WorkFrame project ΓòÉΓòÉΓòÉ
  1872.  
  1873.  
  1874. ΓòÉΓòÉΓòÉ 14.6. Move a source file ΓòÉΓòÉΓòÉ
  1875.  
  1876.  
  1877. ΓòÉΓòÉΓòÉ 15. Target programs ΓòÉΓòÉΓòÉ
  1878.  
  1879.      Run an executable target program 
  1880.      Delete a target program 
  1881.      Run a tool on a target program 
  1882.  
  1883.  
  1884. ΓòÉΓòÉΓòÉ 15.1. Run an executable target program ΓòÉΓòÉΓòÉ
  1885.  
  1886.  
  1887. ΓòÉΓòÉΓòÉ 15.2. Delete a target program ΓòÉΓòÉΓòÉ
  1888.  
  1889.  
  1890. ΓòÉΓòÉΓòÉ 15.3. Run a tool on a target program ΓòÉΓòÉΓòÉ
  1891.  
  1892. For typical development operations such as debugging, browsing, and analyzing 
  1893. performance, you can select the applicable action from the Project pulldown 
  1894. menu (applying to the target file that is defined for the project) or from the 
  1895. Selected pulldown menu (after selecting an executable file). 
  1896.  
  1897. The container popup menu for the project window is the same as the Project 
  1898. pulldown menu. The popup menu for a file in the project window is the same as 
  1899. the Selected pulldown menu. 
  1900.  
  1901. If the tool you want is not available from the menus, you can add it. 
  1902.  
  1903.  
  1904. ΓòÉΓòÉΓòÉ 16. Popup and pulldown menus ΓòÉΓòÉΓòÉ
  1905.  
  1906.      Arrange the entries in popup and pulldown menus 
  1907.      Delete an item from the popup menu of a file type 
  1908.  
  1909.  
  1910. ΓòÉΓòÉΓòÉ 16.1. Arrange the entries in popup and pulldown menus ΓòÉΓòÉΓòÉ
  1911.  
  1912.  
  1913. ΓòÉΓòÉΓòÉ 16.2. Delete an item from the popup menu of a file type ΓòÉΓòÉΓòÉ
  1914.  
  1915.  
  1916. ΓòÉΓòÉΓòÉ 17. Actions and tools ΓòÉΓòÉΓòÉ
  1917.  
  1918.      Create an action 
  1919.      Execute an action 
  1920.      Delete an action 
  1921.      Copy an action from another project 
  1922.      Change the settings for an action 
  1923.      Set the options that are associated with an action 
  1924.      Cancel an action while it is running 
  1925.      Show all the actions in the Tools setup window 
  1926.      Do something to an object that is defined in a different project 
  1927.  
  1928.  
  1929. ΓòÉΓòÉΓòÉ 17.1. Create an action ΓòÉΓòÉΓòÉ
  1930.  
  1931.  
  1932. ΓòÉΓòÉΓòÉ 17.2. Execute an action ΓòÉΓòÉΓòÉ
  1933.  
  1934.  
  1935. ΓòÉΓòÉΓòÉ 17.3. Delete an action ΓòÉΓòÉΓòÉ
  1936.  
  1937.  
  1938. ΓòÉΓòÉΓòÉ 17.4. Copy an action from another project ΓòÉΓòÉΓòÉ
  1939.  
  1940.  
  1941. ΓòÉΓòÉΓòÉ 17.5. Set the options that are associated with an action ΓòÉΓòÉΓòÉ
  1942.  
  1943.  
  1944. ΓòÉΓòÉΓòÉ 17.6. Cancel an action while it is running ΓòÉΓòÉΓòÉ
  1945.  
  1946.  
  1947. ΓòÉΓòÉΓòÉ 17.7. Show all the actions in the Tools setup window ΓòÉΓòÉΓòÉ
  1948.  
  1949.  
  1950. ΓòÉΓòÉΓòÉ 17.8. Do something to an object that is defined in a different project ΓòÉΓòÉΓòÉ
  1951.  
  1952. If you want to change, view the settings, or delete an action, environment 
  1953. variable, or type, but those choices are not available in the Tools setup 
  1954. window when the object is selected, that means the object is defined in a 
  1955. different project and inherited by the current project. These operations are 
  1956. not available in the current project. Instead: 
  1957.  
  1958.    1. Select the object. 
  1959.    2. Select Where defined from its popup menu to display the name of the base 
  1960.       project where the object is originally defined. 
  1961.    3. Find the base project. 
  1962.    4. Open the base project and go to its Tools setup window. 
  1963.  
  1964.       Within the base project: 
  1965.           You can view the settings of the object. 
  1966.           You can change the settings of the object, but if you do so, be 
  1967.            aware that the changed settings will apply to all projects that 
  1968.            inherit the object; you may need to coordinate changes with other 
  1969.            developers. 
  1970.           You can delete the object, but again be aware that this operation 
  1971.            will affect all projects that inherit the action. 
  1972.           You can copy the object into your own project, giving it a new name. 
  1973.            The change/view and delete operations will then be available from 
  1974.            your project for this copied object. 
  1975.  
  1976.  Tip:  If you just want to view information about an action, a fast alternative 
  1977.  is to select it (in any project) and select Add from its popup menu. The 
  1978.  resulting dialog is filled in with the information about the selected action. 
  1979.  Press the Cancel button when you are finished, so that no new action is 
  1980.  created. 
  1981.  
  1982.  
  1983. ΓòÉΓòÉΓòÉ 18. Command-line options for tools ΓòÉΓòÉΓòÉ
  1984.  
  1985.      Set command-line options 
  1986.      Choose detailed options for compiling, linking, or building 
  1987.      Set up a project for debugging, browsing, optimization, and performance 
  1988.       analysis 
  1989.  
  1990.  
  1991. ΓòÉΓòÉΓòÉ 18.1. Set command-line options ΓòÉΓòÉΓòÉ
  1992.  
  1993.  
  1994. ΓòÉΓòÉΓòÉ 18.2. Choose detailed options for compiling, linking, or building ΓòÉΓòÉΓòÉ
  1995.  
  1996.  
  1997. ΓòÉΓòÉΓòÉ 18.3. Choose groups of compile options for debugging, tracing, browsing, and optimizing ΓòÉΓòÉΓòÉ
  1998.  
  1999.  
  2000. ΓòÉΓòÉΓòÉ 19. Make files ΓòÉΓòÉΓòÉ
  2001.  
  2002.      Migrate a make file from a command-line environment 
  2003.      Create a make file from a project 
  2004.      Build using a WorkFrame-generated make file 
  2005.      Build using my own make file 
  2006.      Stop WorkFrame from overwriting an existing make file 
  2007.  
  2008.  
  2009. ΓòÉΓòÉΓòÉ 19.1. Migrate a make file from a command-line environment ΓòÉΓòÉΓòÉ
  2010.  
  2011.  
  2012. ΓòÉΓòÉΓòÉ 19.2. Create a make file from a project ΓòÉΓòÉΓòÉ
  2013.  
  2014.  
  2015. ΓòÉΓòÉΓòÉ 19.3. Build using a WorkFrame-generated make file ΓòÉΓòÉΓòÉ
  2016.  
  2017.  
  2018. ΓòÉΓòÉΓòÉ 19.4. Build using my own make file ΓòÉΓòÉΓòÉ
  2019.  
  2020.  
  2021. ΓòÉΓòÉΓòÉ 19.5. Stop WorkFrame from overwriting an existing make file ΓòÉΓòÉΓòÉ
  2022.  
  2023.    1. In the project window, select Build Smarts or Build under the Options 
  2024.       pulldown menu. (Settings selected for Build Smarts override the 
  2025.       corresponding settings for Build.) 
  2026.  
  2027.    2. If you already have the make file you want to use, deselect the Generate 
  2028.       a make file radio button. (When you change the options for Build, rather 
  2029.       than using Build Smarts, this button is on the Make page.) 
  2030.  
  2031.    3. Select the OK button to save the settings. 
  2032.  
  2033.  If you want WorkFrame to create an initial make file that you can customize, 
  2034.  use the MakeMake action to explicitly create one. 
  2035.  
  2036.  Related tasks: 
  2037.  
  2038.      Build using a WorkFrame-generated make file 
  2039.      Build using my own make file 
  2040.  
  2041.  
  2042. ΓòÉΓòÉΓòÉ 20. Terms used in this document ΓòÉΓòÉΓòÉ
  2043.  
  2044.  action    A description of a tool or function that can be used to manipulate a 
  2045.            project's parts, or build a project's target. 
  2046.  
  2047.  action class A grouping of actions that perform a similar function. 
  2048.  
  2049.  actions support DLL A dynamic link library that provides such support for an 
  2050.            action as determining dependencies and targets if the action is to 
  2051.            participate in a build, providing a user interface for setting 
  2052.            options, and integration with the monitor and editor. 
  2053.  
  2054.  base project A project from which another project inherits its tools setup. 
  2055.            Distinguished from parent project. 
  2056.  
  2057.  build     An action that invokes the WorkFrame Build tool.  The Build tool 
  2058.            manages the project's make file, as well as build dependencies 
  2059.            between projects in a project hierarchy. 
  2060.  
  2061.  build actions A series of actions that are invoked to build a project's 
  2062.            target. These actions are set in the Build options window, or in 
  2063.            MakeMake, WorkFrame's make file creation utility. 
  2064.  
  2065.  default action Each action class has a default action.  It is defined as the 
  2066.            first action listed for the class. 
  2067.  
  2068.  working directory The directory where files that are copied or dragged into 
  2069.            the project are stored.  Actions are also executed in this 
  2070.            directory, so this directory is where many output files are placed. 
  2071.  
  2072.  default editor The editor that is first in the list of editors in the Tools 
  2073.            setup window.  This editor is invoked when you double-click on an 
  2074.            error message in the monitor, or when another tool requests an Edit 
  2075.            action to be invoked. 
  2076.  
  2077.  environment variable In a WorkFrame project, an environment variable is an 
  2078.            operating system variable, like PATH and DPATH, and any other 
  2079.            environment variables that are defined using the OS/2 SET command, 
  2080.            such as TMP. 
  2081.  
  2082.  file-scoped action Distinguished from a project-scoped action in that it is 
  2083.            invoked on files.  Only file-scoped actions can participate in a 
  2084.            project build. 
  2085.  
  2086.  filter    In WorkFrame, the value of a type.  The filter of a type can be 
  2087.            expressed as a file mask, regular expression, a logical-OR, a 
  2088.            logical-AND, or logical-NOT of a list of types, or a filter 
  2089.            determined by a PAM. 
  2090.  
  2091.  inheritance In WorkFrame, refers to the mechanism in which the tools setup of 
  2092.            a project is shared by another project. 
  2093.  
  2094.  make      An action in which a project's target is built from a make file by a 
  2095.            make utility. 
  2096.  
  2097.  MakeMake  WorkFrame's make file generation utility. 
  2098.  
  2099.  Monitor   A window that displays output from monitored actions. The Monitor 
  2100.            window is attached to the project container. 
  2101.  
  2102.  monitored action An action that has been set to run in the monitor window, and 
  2103.            outputs to standard out.  Actions may also run in full-screen and 
  2104.            windowed sessions. 
  2105.  
  2106.  nested project A project that appears inside another project.  Nesting 
  2107.            expresses a dependency of the parent project on the child project's 
  2108.            target.  This dependency is managed by WorkFrame's Build utility. 
  2109.  
  2110.  parent project A project that contains other projects.  Distinguished from 
  2111.            child project. 
  2112.  
  2113.  project   The central WorkFrame model of the complete set of data and actions 
  2114.            required to build a single target, such as a dynamic link library 
  2115.            (DLL) or other executable.  A project consists of a set of project 
  2116.            parts and a Tools setup.. 
  2117.  
  2118.  Project Access Method (PAM) A dynamic link library that contains a set of 
  2119.            methods through which a simple abstraction of a file system or 
  2120.            repository is provided to WorkFrame.  PAMs enable a WorkFrame 
  2121.            project to contain any kind of object that a PAM can support, for 
  2122.            example a version of a file in a source control library, or another 
  2123.            file system like MVS or AIX. 
  2124.  
  2125.  project hierarchy A project tree that represents dependencies between 
  2126.            projects. The WorkFrame project paradigm requires that one project 
  2127.            should be created for every target.  Dependencies between projects 
  2128.            and their targets should be expressed in a project hierarchy.  That 
  2129.            is, if a project's build depends on the target of another project, 
  2130.            the dependent project should contain the project it depends on. The 
  2131.            dependent project is then said to nest the other project.  This 
  2132.            enables the Build tool to perform Builds in a depth-first search 
  2133.            manner from anywhere in the project hierarchy. 
  2134.  
  2135.  project-scoped action An action that applies to a project as a whole, or to a 
  2136.            project's specially designated parts.  Specially designated project 
  2137.            parts are the project's make file and target.  An example of a 
  2138.            project-scoped action is Debug, which is invoked on the project's 
  2139.            target. 
  2140.  
  2141.  Project Smarts A project catalog that contains templates for common types of 
  2142.            applications. 
  2143.  
  2144.  Project Smarts application A skeletal application that consists of template 
  2145.            source code and a configured project revolving around an application 
  2146.            theme. It serves as a starting point for similar applications. 
  2147.  
  2148.  source directory A directory where a project's parts are physically stored. A 
  2149.            project may have many source directories. 
  2150.  
  2151.  source type A source type appears in an action's list of source types. An 
  2152.            action's list of source types specifies the kind of parts or files 
  2153.            to which the action applies. 
  2154.  
  2155.  target    A project's target is the file that is produced as a result of a 
  2156.            project build. 
  2157.  
  2158.  target type A target type appears in an action's list of target types. Target 
  2159.            types only apply to actions that participate in a project build, 
  2160.            such as Compile and Link.  The Build tool and MakeMake utility use 
  2161.            the source and target types of build actions to determine the order 
  2162.            in which the actions should be run to produce the project's target. 
  2163.  
  2164.  template  An object that you can use as a model to create other objects. When 
  2165.            you drag a template, you create a copy of the original object.  The 
  2166.            new object has the same settings and contents as the original 
  2167.            template object. 
  2168.  
  2169.  Tools setup A view of a project where you can see and manipulate the actions, 
  2170.            types, and environment variables available to the project.  From 
  2171.            this view, you can add, delete, and change actions, types, and 
  2172.            variables. You can also set the options for any action in this view. 
  2173.  
  2174.  type      In WorkFrame, describes a group of project files of parts in terms 
  2175.            of an expression, such as file masks, regular expressions, or a list 
  2176.            of other types, logical-OR'd. 
  2177.  
  2178.  type class In WorkFrame, represents the method by which an object is 
  2179.            determined to be a member of a type.  "File mask" is an example of a 
  2180.            type class.  Membership to a "File mask" type is determined by 
  2181.            matching the file mask filter to the object's name. Other examples 
  2182.            of type classes are "Regular expression", and "PAM Name", where the 
  2183.            named Project Access Method determines membership to a type. 
  2184.